Skip to content

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

@nvnnghia

Description

@nvnnghia

I run the demo and get this error. Please help.

Command line is:
./tools/test_net.py --gpu 0 --def models/pascal_voc/ResNet-50/rfcn_end2end/test_agnostic.prototxt --net resnet50_rfcn_final.caffemodel --imdb coco_2014_test --cfg experiments/cfgs/rfcn_end2end_ohem_pascal_voc.yml --set TEST.SOFT_NMS 1

error:
I0305 14:36:16.657363 5021 net.cpp:244] This network produces output bbox_pred
I0305 14:36:16.657366 5021 net.cpp:244] This network produces output cls_prob
I0305 14:36:16.657456 5021 net.cpp:257] Network initialization done.
[libprotobuf ERROR google/protobuf/message_lite.cc:121] Can't parse message of type "caffe.NetParameter" because it is missing required fields: layer[256].psroi_pooling_param.output_dim, layer[256].psroi_pooling_param.group_size
F0305 14:36:16.719847 5021 upgrade_proto.cpp:95] Check failed: ReadProtoFromBinaryFile(param_file, param) Failed to parse NetParameter file: resnet50_rfcn_final.caffemodel
*** Check failure stack trace: ***
Aborted (core dumped)

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions