JDAI-CV / fast-reid

SOTA Re-identification Methods and Toolbox
Apache License 2.0
3.39k stars 830 forks source link

issue encountered while running onnx_inference.py #703

Closed jbfhx closed 1 year ago

jbfhx commented 1 year ago

[ONNXRuntimeError] : 1 : FAIL : Load model from ../../ckpts/onnx/baseline_R50.onnx failed:Fatal error: org.pytorch.aten:ATen(-1) is not a registered function/op

torch==1.8.1+cu111 onnx==1.14.0

I've tried add 'opset_version=12,' in torch.onnx.export, but it doesn't work.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.