I’m working on a Yolo model and tried these approaches before.
For PyTorch -> onnx -> onnx.js method, it told me onnx.js doesn’t support int64. So I used onnxruntime and quantized it to be an int8 model. Then the issue becomes that it doesn’t support Resize.
For PyTorch -> onnx -> TensorFlow -> tfjs method. The issue is that when I’m trying to get the tfjs model, it shows that TensorScatterUpdate is not supported.
I’m not sure is there any other approach to help me run the model in the browser…