Yet-Another-EfficientDet-Pytorch icon indicating copy to clipboard operation
Yet-Another-EfficientDet-Pytorch copied to clipboard

convert to ONNX

Open fardinadii opened this issue 3 years ago • 0 comments

Hi, I'm trying to convert the model that I trained with a custom dataset to ONNX. First of all, I train the model and after that, I try to convert the model to ONNX using torch.onnx.export but I was faced with an Error. after that, I found that your code has something for converting the model to onnx (onnx_export).

I'm a little confused for onnx_export ... if we set onnx_export=True the final model is in ONNX format? could you please tell me how this onnx_export works?

fardinadii avatar Jan 29 '22 17:01 fardinadii