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
ReadProtoFromBinaryFile problem #2
Comments
There is nothing wrong with my caffe model. You may need to update your caffe. |
Hi, I'm having the same issue, PASCAL works, but on all other datasets, it gave error on parsing, for example: |
@AIConstructor @wenjieuoft Which commit of caffe do you use? Can you try this fork? |
@wenjieuoft Thanks for trying different caffe commit. I will check the problem. |
I confirm the .caffemodel files are not compatible with the current version of Caffe. Here's what worked for me. Load the .caffemodel with the latest compatible commit. It will upgrade the model automatically. Now save the new .caffemodel. The new model file is compatible with the current version of Caffe, but it would still complain about incompatibility (at least it loads it now, and it works). If you save it again with the current commit, you will get the clean .caffemodel. |
@ashafaei Thanks for the investigation. Can you share the compatible caffemodel with me? |
@fyu Yeah, sure. I'll send you an email with the links. |
@ashafaei I had the same problem, and I solved it by downloading the caffemodel with wget. |
@ashafaei Could you please send me the compatible Cityscapes caffe model as well? I am using the current commit of caffe. |
@fyu @yujianwang http://www.cs.ubc.ca/~shafaei/dataset/d10_cs.caffemodel |
Hi, i have the same issue. Only the Pascal dataset works. F0530 18:35:03.448803 4698 syncedmem.cpp:56] Check failed: error == cudaSuccess (2 vs. 0) out of memory I logged the GPU memory and it exceeds actually 4 GiB (I use a GTX 980). |
@Timo-hab Unfortunately the larger architectures require about 6.2 GB of GPU memory. |
hello fyu,
I am using code for some tests. I download the model following your instructions.But where I run the
python predict.py images/dog.jpg --gpu 0
I always meet this problem.
upgrade_proto.cpp:86] Check failed: ReadProtoFromBinaryFile(param_file, param) Failed to parse NetParameter file: ./pretrained/dilated_convolution_context_coco.caffemodel
So, is there something wrong with you caffemodel? Or there exist some problem else?
Thank you~
The text was updated successfully, but these errors were encountered: