Imagenet problem "Incorrect data field size"

772 views
Skip to first unread message

Li Guan Ting

unread,
Aug 25, 2014, 4:00:31 AM8/25/14
to caffe...@googlegroups.com
Hello,
I am new in Caffe. When I run create_imagenet.sh  there is a error information

Check failed: data.size() == data_size (562500 vs. 540000) Incorrect data field size 562500

Both wront in creating train leveldb and val leveldb
everytime I run create_imagenet.sh, first I will remove directories ilsvrc12_train_leveldb and ilsvrc12_val_leveldb

and I use chmod 777  change  train and val image database.
But still get this wrong information, is there any method I can try?

Thank you

denshaSai

unread,
Sep 11, 2014, 9:09:38 PM9/11/14
to caffe...@googlegroups.com
hey did you solve this? I am getting the same error

Li Guan Ting

unread,
Sep 11, 2014, 11:17:26 PM9/11/14
to caffe...@googlegroups.com
denshaSai於 2014年9月12日星期五UTC+9上午10時09分38秒寫道:
denshaSai於 2014年9月12日星期五UTC+9上午10時09分38秒寫道:
Yes,here is the solution

https://github.com/BVLC/caffe/issues/1021#issuecomment-54106870

Maruti Agarwal

unread,
Sep 15, 2014, 5:04:36 AM9/15/14
to caffe...@googlegroups.com
This error comes when you have tried your data on RGB images or test it on gray images or vice versa. Make sure your testing+training images come from the same sample space (similar number of planes and same size).


-Maruti
Reply all
Reply to author
Forward
0 new messages