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
python kernel dies on caffe.get_solver #4601
Comments
Have you validated your file paths? Is |
made sure path is correct, opened LMDB and viewd images and labels:
Not using The kernel dies even if I just try to load the network: This works just fine: with this file: But after changing
to
and trying to load it again, the python kernel dies... Also tried it with What's the correct way to change the deployed network's data layer to make it suitable for training with an LMDB? |
Can you try running on jupyter console to understand errors better as this link suggests https://groups.google.com/forum/m/#!topic/caffe-users/6iSGJpUhtD8 |
Thanks, I ran it from IPython, and I get the following error: It seems the layer format I'm using is deprecated...
it then proceeds to writing the net as described in the protobuf, except the data layer, which it threw away, and at the end it writes:
Whats the correct new way of writing the data layer? |
A quick google search should show you what needs to be changed. It should be easy to make those changes. |
This is no more a valid issue and should be closed. Also, this is not the best place to ask for help. You should ask on the caffe users mailing list. That response is faster and wider. Cheers, |
Thanks, I suggest updating https://github.com/BVLC/caffe/blob/master/models/bvlc_reference_caffenet/train_val.prototxt and and and to valid prototxt files then, since it's using this deprecated form as well. in fact, there is no example that differs from what I was trying to do in the data layer... |
Found the commit I wanted to share yesterday. e6c80da I might have misled you with the previous stackoverflow link. The changes in the commit are the ones that were required by your file. I still do not understand your error though. What version of Caffe are you using? I changed your file and was able to verify that it is in a correct format with the 'upgrade_net_proto_text' utility. |
Thank you very much! I was (unknowingly) using a non-official repo from https://github.com/jeffdonahue/caffe.git, branch recurrent-rebase-cleanup I have since recreated my own docker file with the latest git version from this (BVLC) repo. Fixed the files, and they seem to get processed fine now, although I've encountered a new error, which seems unrelated to this one - So I'll open a new ticket :) Thank you again for your time! |
caffe.get_solver(TRAIN.prototxt) dies when passing it the path to this file (extension changed to proto.txt because of github restrictions)
TRAIN.proto.txt
VGG.proto.txt
Jupyter just says the kernel has died and restarts the kernel...
The text was updated successfully, but these errors were encountered: