kevinlin311tw / caffe-cvprw15

:heart::coffee: Deep Learning of Binary Hash Codes for Fast Image Retrieval (CVPRW15)
Other
526 stars 218 forks source link

The problem about finetuning #12

Open Saniya666 opened 8 years ago

Saniya666 commented 8 years ago

There are some errors when run the training script ./train_48.sh:

I0831 11:56:43.312741 24302 caffe.cpp:115] Finetuning from /home/dl/zy/DLBHC/caffe-cvprw15-master/models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel F0831 11:56:43.668262 24302 upgrade_proto.cpp:630] Check failed: ReadProtoFromBinaryFile(param_file, param) Failed to parse NetParameter file: /home/dl/zy/DLBHC/caffe-cvprw15-master/models/bvlc_reference_caffenet/bvlc_reference_caffenet.caffemodel * Check failure stack trace: * @ 0x7f25713c0daa (unknown) @ 0x7f25713c0ce4 (unknown) @ 0x7f25713c06e6 (unknown) @ 0x7f25713c3687 (unknown) @ 0x4cec87 caffe::ReadNetParamsFromBinaryFileOrDie() @ 0x48318a caffe::Net<>::CopyTrainedLayersFrom() @ 0x415be6 train() @ 0x4101ff main @ 0x7f256d9cfec5 (unknown) @ 0x4143b7 (unknown) @ (nil) (unknown)

How to solve this problem?

kevinlin311tw commented 8 years ago

Check this first: https://github.com/BVLC/caffe/issues/3505

Please make sure you have downloaded the file bvlc_reference_caffenet.caffemodel. Did you run ./prepare_train.sh before? If you cannot use Dropbox, you may download the file from the third party websites as shown in README.md.

Saniya666 commented 8 years ago

I have downloaded the file bvlc_reference_caffenet.caffemodel by BaiduYun. And I run ./examples/cvprw15-cifar10/create_imagenet.sh in ./prepare_train.sh.