运行pyfasterrcnn时出错演示.py

2024-10-02 10:29:06 发布

您现在位置:Python中文网/ 问答频道 /正文

我把py克隆得更快自述文件.md. 当我运行演示时: /工具/演示.py在

it show error like that:
WARNING: Logging before InitGoogleLogging() is written to STDERR
W0714 20:05:17.716984 10629 _caffe.cpp:139] DEPRECATION WARNING - deprecated use of Python interface
W0714 20:05:17.717007 10629 _caffe.cpp:140] Use this instead (with the named "weights" parameter):
W0714 20:05:17.717011 10629 _caffe.cpp:142] Net('/home/liuyuhang/py-faster-rcnn/models/pascal_voc/VGG16/faster_rcnn_alt_opt/faster_rcnn_test.pt', 1, weights='/home/liuyuhang/py-faster-rcnn/data/faster_rcnn_models/VGG16_faster_rcnn_final.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:245] Error parsing text-format caffe.NetParameter: 350:21: Message type "caffe.LayerParameter" has no field named "roi_pooling_param".
F0714 20:05:17.718535 10629 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/liuyuhang/py-faster-rcnn/models/pascal_voc/VGG16/faster_rcnn_alt_opt/faster_rcnn_test.pt
*** Check failure stack trace: ***

我怎么解决这个问题?在


Tags: topyhomeparammodelscppcaffenamed

热门问题