Skip to content
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

Deployment problem #32

Open
noobgrow opened this issue Dec 24, 2018 · 3 comments
Open

Deployment problem #32

noobgrow opened this issue Dec 24, 2018 · 3 comments

Comments

@noobgrow
Copy link

noobgrow commented Dec 24, 2018

when I follow the deployment steps,error occurs as follow:

dong@dong:~/Downloads/caffe-ssd/examples/rbox/deploy/Airplane$ python deploy.py

WARNING: Logging before InitGoogleLogging() is written to STDERR
W1224 12:42:21.621986 21588 _caffe.cpp:122] DEPRECATION WARNING - deprecated use of Python interface
W1224 12:42:21.622025 21588 _caffe.cpp:123] Use this instead (with the named "weights" parameter):
W1224 12:42:21.622030 21588 _caffe.cpp:125] Net('/home/dong/Downloads/caffe-ssd/examples/rbox/deploy/Airplane/deploy.prototxt', 1, weights='/home/dong/Downloads/caffe-ssd/examples/rbox/deploy/Airplane/RBOX_AIRPLANE_RBOX_300x300_AIRPLANE_VGG_iter_140000.caffemodel')
[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.NetParameter: 483:20: Message type "caffe.LayerParameter" has no field named "prior_rbox_param".
F1224 12:42:21.624474 21588 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /home/dong/Downloads/caffe-ssd/examples/rbox/deploy/Airplane/deploy.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)

[libprotobuf ERROR google/protobuf/text_format.cc:298] Error parsing text-format caffe.NetParameter: 483:20: Message type "caffe.LayerParameter" has no field named "prior_rbox_param".

can anyone tell me why?How to solve this??

Thanks in advance!

@EthanGreen75
Copy link

the caffe code of your project is not using the ssd version, so the prior_box_layer file does not exist.
you can directly use the caffe code of this project @noobgrow

@leigao97
Copy link

I have the same issue and I am running the code directly downloaded from DRBox github page. Any other thoughts to solve this problem? Thank you!

@SRILEKHA-V19
Copy link

I have the same issue and I am running the code directly downloaded from DRBox github page. Any other thoughts to solve this problem? Thank you!

I had faced a similar issue, and there are 2 things to be taken care of(which helped me):

  1. Build caffe SSD by enabling custom python layer(WITH_PYTHON_LAYER := 1) in Makefile.config file.
  2. The CAFFEROOT mentioned in the DRBOX readme.md is different from the CAFFE_ROOT mentioned there:
    a) CAFFE_ROOT is the path to the Caffe SSD build.
    b) CAFFEROOT is the path to DRBox caffe i.e. DRBox/src/caffe(this is the path needed to train
    DRBox)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants