Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

创建模型Check失败是什么原因 #7

Open
xieende opened this issue May 14, 2018 · 1 comment
Open

创建模型Check失败是什么原因 #7

xieende opened this issue May 14, 2018 · 1 comment

Comments

@xieende
Copy link

xieende commented May 14, 2018

hello,
我按照您的步骤训练后,船舰模型的时候不成功报一下错误,想请教下这个是怎么解决法,多谢
I0514 15:33:19.444087 3925 net.cpp:84] Creating Layer vgg-train-data
I0514 15:33:19.444136 3925 net.cpp:380] vgg-train-data -> data
I0514 15:33:19.444213 3925 net.cpp:380] vgg-train-data -> label
F0514 15:33:19.444285 3925 data_transformer.cpp:465] Check failed: datum_channels > 0 (0 vs. 0)
*** Check failure stack trace: ***
@ 0x7fcbcd0c3daa (unknown)
@ 0x7fcbcd0c3ce4 (unknown)
@ 0x7fcbcd0c36e6 (unknown)
@ 0x7fcbcd0c6687 (unknown)
@ 0x7fcbcd5aac4b caffe::DataTransformer<>::InferBlobShape()
@ 0x7fcbcd52bb25 caffe::DataLayer<>::DataLayerSetUp()
@ 0x7fcbcd585d64 caffe::BasePrefetchingDataLayer<>::LayerSetUp()
@ 0x7fcbcd4a3cf5 caffe::Net<>::Init()
@ 0x7fcbcd4a5c02 caffe::Net<>::Net()
@ 0x7fcbcd4af126 caffe::Solver<>::InitTrainNet()
@ 0x7fcbcd4b0183 caffe::Solver<>::Init()
@ 0x7fcbcd4b045f caffe::Solver<>::Solver()
@ 0x7fcbcd487241 caffe::Creator_SGDSolver<>()
@ 0x40d6a9 caffe::SolverRegistry<>::CreateSolver()
@ 0x407f5d train()
@ 0x405c5c main
@ 0x7fcbcc0cbf45 (unknown)
@ 0x4064cb (unknown)
@ (nil) (unknown)

@gongxijun
Copy link

数据转换出问题了,通俗的说,就是你的图片生成lmdb的时候,你的图片出现了问题,导致转换失败,你需要检查一下你的原始图片,看看有没有格式坏掉的,以及图片有没有大小为0的,或者点击打开这个图片,看看这个图片能否正常显示.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants