create_imagnet.sh error

92 views
Skip to first unread message

Joseph Bernstein

unread,
Jun 20, 2016, 12:00:58 PM6/20/16
to Caffe Users

Creating train lmdb...

I0620 15:58:49.068934 14710 convert_imageset.cpp:86] Shuffling data

I0620 15:58:49.454607 14710 convert_imageset.cpp:89] A total of 80 images.

F0620 15:58:49.454701 14710 db_lmdb.cpp:13] Check failed: mkdir(source.c_str(), 0744) == 0 (-1 vs. 0) mkdir ../examples/imagenet/ilsvrc12_train_lmdb failed

*** Check failure stack trace: ***

    @     0x7f4fb909fdaa  (unknown)

    @     0x7f4fb909fce4  (unknown)

    @     0x7f4fb909f6e6  (unknown)

    @     0x7f4fb90a2687  (unknown)

    @     0x7f4fb9470e31  caffe::db::LMDB::Open()

    @           0x403a0c  main

    @     0x7f4fb80abf45  (unknown)

    @           0x404c64  (unknown)

    @              (nil)  (unknown)

./create_imagenet.sh: line 45: 14710 Aborted                 (core dumped) GLOG_logtostderr=1 $TOOLS/convert_imageset --resize_height=$RESIZE_HEIGHT --resize_width=$RESIZE_WIDTH --shuffle $TRAIN_DATA_ROOT $DATA/train.txt $EXAMPLE/ilsvrc12_train_lmdb

Creating val lmdb...

I0620 15:58:49.684671 14714 convert_imageset.cpp:86] Shuffling data

I0620 15:58:50.081732 14714 convert_imageset.cpp:89] A total of 50000 images.

F0620 15:58:50.081835 14714 db_lmdb.cpp:13] Check failed: mkdir(source.c_str(), 0744) == 0 (-1 vs. 0) mkdir ../examples/imagenet/ilsvrc12_val_lmdb failed

*** Check failure stack trace: ***

    @     0x7fa9b6a6fdaa  (unknown)

    @     0x7fa9b6a6fce4  (unknown)

    @     0x7fa9b6a6f6e6  (unknown)

    @     0x7fa9b6a72687  (unknown)

    @     0x7fa9b6e40e31  caffe::db::LMDB::Open()

    @           0x403a0c  main

    @     0x7fa9b5a7bf45  (unknown)

    @           0x404c64  (unknown)

    @              (nil)  (unknown)

./create_imagenet.sh: line 55: 14714 Aborted                 (core dumped) GLOG_logtostderr=1 $TOOLS/convert_imageset --resize_height=$RESIZE_HEIGHT --resize_width=$RESIZE_WIDTH --shuffle $VAL_DATA_ROOT $DATA/val.txt $EXAMPLE/ilsvrc12_val_lmdb

Done.


Shows up when I try to create the image net. How do I fix this? I have my images and train data there, and I tried removing the contents of ilsvrc12_train_lmdb but it did not work.

Reply all
Reply to author
Forward
0 new messages