When exporting a half precision (fp16) model to onnx it creates an invalid onnx file. This appears to be because of a node that remains in fp32 as a result of this line in torch.nn.functional.interpolate To Reproduce (REQUIRED) Steps to reproduce the behavior: Open tutorial "export-onn...
ONNX: export success ✅ 2.3s, saved as yolov5s.onnx (28.0 MB) Export complete (5.5s) Results saved to /content/yolov5 Detect: python detect.py --weights yolov5s.onnx Validate: python val.py --weights yolov5s.onnx PyTorch Hub: model = torch.hub.load('ultralytics/yolov5', 'cus...
Search before asking I have searched the YOLOv8 issues and found no similar bug report. YOLOv8 Component Export Bug This is what happens when I export as the onnx format: Now this is what happens when I export as the engine format: The s...