You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to convert the tiny-yolo onnx models generated in this blog post, which are hosted here, and I'm getting the following errors:
>using Flux, ONNX
>ONNX.load_model("20180709 TinyYoloV3.onnx")
KeyError: key "Conv.W" not found
>ONNX.load_model("Tiny-YOLOv2.onnx")
KeyError: key "convolution.W" not found
Is this a peculiarity of these ONNX models, or an unsupported ONNX standard? I ask because I know that the tiny-yolov2 onnx model here does convert successfully (but is not accurate due to the asymmetrical padding issue with yolov2, hence why I'm trying to get yolov3 up and running)
The text was updated successfully, but these errors were encountered:
Seems that it's an issue with <1.2 onnx, given the 1.0 version here is the only one that causes this issue. ONNX seems to have moved forward a lot since 1.0 so perhaps the best plan would be to generate newer ONNX models
You could try downloading the pretrained model in some other framework (PyTorch/TensorFlow) and use the newer version of onnx exporters to generate the onnx file, and load it in using this package. (Would also be a great addition for the onnx/models repo)
I'm trying to convert the tiny-yolo onnx models generated in this blog post, which are hosted here, and I'm getting the following errors:
Is this a peculiarity of these ONNX models, or an unsupported ONNX standard? I ask because I know that the tiny-yolov2 onnx model here does convert successfully (but is not accurate due to the asymmetrical padding issue with yolov2, hence why I'm trying to get yolov3 up and running)
The text was updated successfully, but these errors were encountered: