pretrained-yolo-v4
pretrained-yolo-v4 copied to clipboard
convert to ONNX
Hi, Can you tell me to convert the model to ONNX, please?
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.