NudeNet
NudeNet copied to clipboard
Model Unsupported model IR version: 10, max supported IR version: 9
onnxruntime.capi.onnxruntime_pybind11_state.Fail: [ONNXRuntimeError] : 1 : FAIL : Load model from ./640m.onnx failed:C:\a_work\1\s\onnxruntime\core\graph\model.cc:150 onnxruntime::Model::Model Unsupported model IR version: 10, max supported IR version: 9
you can upgrade your onnxruntime or export with a older onnx version
you can set IR version use below code
import onnx
model = onnx.load('640m.onnx')
model.ir_version = 8
onnx.save(model, '640m_v8.onnx')
@BooHwang could you explain how and where to input that.