Open ctraina opened 6 years ago
I can't even load the provided Detectron model(s) (https://github.com/caffe2/models/tree/master/detectron/e2e_faster_rcnn_R-50-C4_1x OR https://github.com/caffe2/models/tree/master/detectron/e2e_faster_rcnn_R-50-C4_2x). It errors out reading the model (it works with the squeezenet model provided from https://github.com/caffe2/models/tree/master/squeezenet). I am running in Windows 10. When I try to load the nets, I get:
init-net: C:\Projects\caffe2\caffe2\python\models\detectron\e2e_faster_rcnn_R-50-C4_2x\init_net.pb predict-net: C:\Projects\caffe2\caffe2\python\models\detectron\e2e_faster_rcnn_R-50-C4_2x\predict_net.pb
[libprotobuf ERROR c:\projects\caffe2\third_party\protobuf\src\google\protobuf\text_format.cc:288] Error parsing text-format caffe2.NetDef: 7:1: Expected identifier, got: < Exception loading nets: [enforce fail at e:\projects\caffe2\test_detectron\test_detectron.cpp:129] ReadProtoFromFile(FLAGS_init_net, &init_net).
Hi, this repo contains examples using googlenet for training and inference. For example take a look at imagenet.cc. There are currently no examples that use Detectron.
googlenet
imagenet.cc
I can't even load the provided Detectron model(s) (https://github.com/caffe2/models/tree/master/detectron/e2e_faster_rcnn_R-50-C4_1x OR https://github.com/caffe2/models/tree/master/detectron/e2e_faster_rcnn_R-50-C4_2x). It errors out reading the model (it works with the squeezenet model provided from https://github.com/caffe2/models/tree/master/squeezenet). I am running in Windows 10. When I try to load the nets, I get:
Detectron Test
init-net: C:\Projects\caffe2\caffe2\python\models\detectron\e2e_faster_rcnn_R-50-C4_2x\init_net.pb predict-net: C:\Projects\caffe2\caffe2\python\models\detectron\e2e_faster_rcnn_R-50-C4_2x\predict_net.pb
[libprotobuf ERROR c:\projects\caffe2\third_party\protobuf\src\google\protobuf\text_format.cc:288] Error parsing text-format caffe2.NetDef: 7:1: Expected identifier, got: < Exception loading nets: [enforce fail at e:\projects\caffe2\test_detectron\test_detectron.cpp:129] ReadProtoFromFile(FLAGS_init_net, &init_net).