tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Exporting pytorch-ssd to onnx with NonMaxSuppression layer

Open orchinia opened this issue 4 years ago • 2 comments

Hi,

I'm trying to export pytorch ssd models to onnx. It works fine for me when only exporting SSD modules before nms. However, I stuck at how to modify my pytorch module for exporting to onnx model with NonMaxSuppression layer in it. I implement the nms by myself but it obviously can't be recognize as NonMaxSuppression by onnx.

Is there any suggestions?

Thank you!

orchinia avatar Apr 24 '20 10:04 orchinia

check it here, for the last response. https://github.com/onnx/onnx/issues/2216 it requires custom operators, tutorials is here https://github.com/onnx/tutorials/tree/master/PyTorchCustomOperator I'm currently working on it, but haven't run it sucessfully.

kolingv avatar Jun 03 '20 03:06 kolingv

@kolingv @orchinia Have you run nms successfully ? Please help me out, thanks.

Edwardmark avatar Nov 25 '20 06:11 Edwardmark