microsoft / onnxjs

ONNX.js: run ONNX models using JavaScript
Other
1.76k stars 129 forks source link

Object detection with custom model? #193

Open Tylersuard opened 4 years ago

Tylersuard commented 4 years ago

Hello. I was able to download, install, and run the demo on my computer.

When I changed the Yolo model for my own custom yolov5 model, the demo stopped working. I was unable to pick a backend, and the error message I got was "back end not compatible".

EmilioOldenziel commented 4 years ago

Hi @Tylersuard, I also tried this but the YoloV5 ONNX export uses opset version 12 while ONNXjs supports "most operators in ai.onnx operator set v7 (opset v7)". I also tried exporting YoloV5 with opset 7 but that's also not possible.