candle icon indicating copy to clipboard operation
candle copied to clipboard

YoloV9 ONNX: unsupported op_type Identity

Open masc-it opened this issue 10 months ago • 1 comments

I am trying to run yolov9 exported to onnx (using the export.py script), but I am encountring this error (opset 16):

thread 'main' panicked at src/main.rs:33:72:
called `Result::unwrap()` on an `Err` value: Msg("unsupported op_type Identity for op NodeProto { input: [\"model.49.dfl.conv.weight\"], output: [\"model.49.dfl2.conv.weight\"], name: \"Identity_346\", op_type: \"Identity\", domain: \"\", attribute: [], doc_string: \"\" }")
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Any clues?

masc-it avatar Mar 31 '24 11:03 masc-it

Where did you get the onnx file? I read that the export functionality was a bit broken.

Try these: https://huggingface.co/Xenova/yolov9-onnx/tree/main

jdiaz97 avatar Apr 24 '24 00:04 jdiaz97