karpathy / neuraltalk2

Efficient Image Captioning code in Torch, runs on GPU
5.51k stars 1.26k forks source link

Loadcaffe model not loading #167

Closed Akito82 closed 7 years ago

Akito82 commented 7 years ago

Hi, if I do th train.lua ..., the following error occurs: Couldn't load model/VGG_ILSVRC_16_layers.caffemodel

I read that the reason could be a corrupt loadcaffe file, but so far reinstalling didn't do anything for me. Any ideas? Thanks

karthiknvlr commented 7 years ago

check whether you had give a correct path for the model file In my case it will be like --model /home/karthikn/neuraltalk2/model/VGG_ILSVRC_16_layers.caffemodel

Akito82 commented 7 years ago

Thank you very much, that was it.