pretrained-yolo-v4 icon indicating copy to clipboard operation
pretrained-yolo-v4 copied to clipboard

convert to ONNX

Open ssda35 opened this issue 4 years ago • 1 comments

Hi, Can you tell me to convert the model to ONNX, please?

ssda35 avatar Nov 19 '21 20:11 ssda35

You can use the following command: exportONNXNetwork(net,filename) For more information on how to export network to ONNX, see exportONNXNetwork.

Note: Pretrained YOLO v4 network has custom layers like 'mish' layer, 'slice' layer, etc., these layers will be exported as placeholder layers in ONNX. Please make sure to replace them accordingly.

viakkala avatar Feb 14 '22 05:02 viakkala