Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
26 Views

Model optimizer for SSD

Hello,

    I ran into error when I run model optimizer for SSD using CVSDK 2018, it returns "'PriorBoxParameter' object has no attribute 'width'", but it is ok when I  run model optimizer for SSD using CVSDK 2017. 

 

0 Kudos
4 Replies
Highlighted
26 Views

Hi Kaixuan,

What SSD are you trying to convert with MO?

Kind Regards,

Monique Jones

 

0 Kudos
Highlighted
26 Views

SSD-MobileNet. Actually, I tested with standard SSD network, and it shows the same problem

0 Kudos
Highlighted
Beginner
26 Views

I'm having the same problem.

I'm trying to import the file deploy.prototxt from vehicle-license-plate-detection-barrier-0007 using this code in python:

net = caffe.Net('deploy.prototxt', caffe.TEST)
net.save('my_net.caffemodel')

and the displayed error is:

[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 914:10: Message type "caffe.PriorBoxParameter" has no field named "width".
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0727 11:03:36.077455 24468 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: deploy.prototxt

 

How can I solve?

Thansk

 

 

0 Kudos
Highlighted
26 Views

Well, it seems that you are using caffe,right. Maybe you need to build caffe from caffe-ssd branch , here is the link

https://github.com/weiliu89/caffe.git

After build up caffe-ssd, you need to export PYTHONPATH to the path corresponding to caffe-ssd branch.

Stefano M. wrote:

I'm having the same problem.

I'm trying to import the file deploy.prototxt from vehicle-license-plate-detection-barrier-0007 using this code in python:

net = caffe.Net('deploy.prototxt', caffe.TEST)
net.save('my_net.caffemodel')

and the displayed error is:

[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 914:10: Message type "caffe.PriorBoxParameter" has no field named "width".
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0727 11:03:36.077455 24468 upgrade_proto.cpp:88] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: deploy.prototxt

 

How can I solve?

Thansk

 

 

0 Kudos