SiamMask to ONNX conversion error #368
Replies: 4 comments
-
Seems, that the problem was with the opset. Switching it to 11 was enough to solve this particular problem. My fault.
The name of a layer and shape in the Status Message can vary. I believe, that this error can be linked to the TraceWarnings I get during conversion:
I use the following code for the conversion:
Should I ask it here or it is irrelevant to the project and I should ask it at ONNXRuntime page? |
Beta Was this translation helpful? Give feedback.
-
@zeleniyslonik did you ever figure this out? Also, could you explain how you "split the model"? |
Beta Was this translation helpful? Give feedback.
-
Hey @zeleniyslonik @GOBish did you find a way to convert SiamMask to ONNX that works? I'm looking for solution too, and I would love to get your help! Thanks! |
Beta Was this translation helpful? Give feedback.
-
If anyone else is still looking for an ONNX implementation, I was able to export it with some modifications to the original author's codebase: https://github.com/vjsrinivas/siammask_onnx Also have the VOT18 three-branch version in ONNX file here: https://github.com/vjsrinivas/siammask_onnx/releases/tag/v1.0.0 |
Beta Was this translation helpful? Give feedback.
-
Hello,
Has anyone tried to convert SiamMask to ONNX?
I am trying to achieve this using shupinghu's code from #125 with minor editing, but I end up with the following error:
RuntimeError: Unsupported: ONNX export of Slice with dynamic inputs. DynamicSlice is a deprecated experimental op. Please use statically allocated variables or export to a higher opset version.
Here is the code.
I get the params for dummy_input from the config file for that model.
Can anyone help me with that?
Beta Was this translation helpful? Give feedback.
All reactions