Closed Egorundel closed 1 year ago
@Egorundel Thanks for reporting with the detailed error log. It seems like an ONNX format problem. Can you open this model successfully using Netron? If the model can not be opened using Netron either, it is suggested to check your model format or open an issue on the ONNX github repo.
@ZhangGe6 yes, here is my model in Netron:
@ZhangGe6 I can upload my model to some service so you can watch it
@ZhangGe6 my model on GoogleDrive: best_ckpt.onnx
The problem was solved quite simply: just downgrade the onnx version. I installed pip install onnx==1.13.0
and everything worked for me without errors.
@ZhangGe6 Hello, I have a problem with onnx-modifier. When I want to download edited on model, I have a problem with saving:
ValueError: Unsupported format: '<class 'onnx.onnx_ml_pb2.ModelProto'>'. Supported formats are: dict_keys(['protobuf', 'textproto', 'json', 'onnxtxt'])
and
NameError: name 'onnx_modifier' is not defined
Can you help me, please?