I am trying to train FCN's using KITTI Road dataset, i have 3 output classes. 
Input images are in png and ground truth are in png. i convert both of them to grayscale/Channel=1 = CxHxW 1x160x640.
i use a script from evan to convert them to lmdb and generate mean file. 
My ground truth labels/pixels are in integer.
Input images are in integer.
i get the following error
F0519 14:59:46.156497  1213 
math_functions.cu:121] Check failed: status == CUBLAS_STATUS_SUCCESS (14 vs. 0)  CUBLAS_STATUS_INTERNAL_ERROR
*** Check failure stack trace: ***
    @     0x7fe912179daa  (unknown)
    @     0x7fe912179ce4  (unknown)
    @     0x7fe9121796e6  (unknown)
    @     0x7fe91217c687  (unknown)
    @     0x7fe912add27f  caffe::caffe_gpu_asum<>()
    @     0x7fe912ab879e  caffe::SoftmaxWithLossLayer<>::Forward_gpu()
    @           0x41c815  caffe::Layer<>::Forward()
    @     0x7fe912968b96  caffe::Net<>::ForwardFromTo()
    @     0x7fe912968893  caffe::Net<>::Forward()
    @     0x7fe91296952b  caffe::Net<>::ForwardBackward()
    @     0x7fe912992064  caffe::Solver<>::Step()
    @     0x7fe912991a48  caffe::Solver<>::Solve()
    @           0x417448  train()
    @           0x4196b8  main
    @     0x7fe910cc7ec5  (unknown)
    @           0x416019  (unknown)
    @              (nil)  (unknown)
Aborted (core dumped)
can anyone please help.