Closed d-lareg closed 4 years ago
Post Detection layer is not supported, such post-processing layer usually runs on CPU. In the specific case you are showing, it seems that there are some issues related to automatically removing the post-detection layer. What is the version of Acuity toolkit you are using?
Please try manually remove the post detection layer in the prototxt file, and re-run import process to workaround the problem.
layer {
name: "detection_out"
...
}
Thanks!
Thanks for your support! I use version 5.7.0.
When I remove the detection layer it works. I get three outputs for class confidence, location and the prior box tensor. What makes me wonder is that the prior box layer is not part of your SSD network graph. I guess its bad idea to quantize the priors? Is this the reason why these layers are missing?
For inference with a graph frozen, prior boxes are fixed so it can be hard coded in the post-processing code. Acuity will generate a priorbox.bin file which can be used in post-process implementation.
Hello,
I use the acuity-toolkit provided by Khadas (for the Vim3) to convert a Caffe based SSD network. To get in touch with the conversion/quantization mechanics I try to convert the Coco 300x300 SSD trained by weiliu. After upgrading the prototxt I was (more or less) able to convert the model by executing the 0_import_model.sh. During the import I recognized that the detection layer was dropped:
The layer is also missing in the resulting json file:
When I execute the the 1_quantize_model.sh I get the following error message:
Is this a bug or are Caffe SSD models not supported?