bharatsingh430 / py-R-FCN-multiGPU

Code for training py-faster-rcnn and py-R-FCN on multiple GPUs in caffe
MIT License
193 stars 97 forks source link

Can't parse message of type "caffe.NetParameter" error #10

Open penolove opened 7 years ago

penolove commented 7 years ago

Hi, my device single 1070, cuda 8.0, cudnn 5.0

and follows your 4 step installation git clone --recursive https://github.com/bharatsingh430/py-R-FCN-multiGPU/ install NCCL and sucessfully compile the caffe , build Cython modules resnet101_rfcn_final.caffemodel are also downloaded

but meet error while executing $RFCN/tools/demo_rfcn.py

I0510 17:45:45.567600 11746 net.cpp:202] conv1 does not need backward computation. I0510 17:45:45.567605 11746 net.cpp:202] input does not need backward computation. I0510 17:45:45.567610 11746 net.cpp:244] This network produces output bbox_pred I0510 17:45:45.567615 11746 net.cpp:244] This network produces output cls_prob I0510 17:45:45.567797 11746 net.cpp:257] Network initialization done.

[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "caffe.NetParameter" because it is missing required fields: layer[494].psroi_pooling_param.output_dim, layer[494].psroi_pooling_param.group_size F0510 17:45:45.759696 11746 upgrade_proto.cpp:95] Check failed: ReadProtoFromBinaryFile(param_file, param) Failed to parse NetParameter file: /home/stream/py-R-FCN-multiGPU/data/rfcn_models/resnet101_rfcn_final.caffemodel

Are there any idea to solve this ?

zhanghaoinf commented 7 years ago

Hi, you can check the problem #6 , the problem is the same.