daquexian / onnx-simplifier

Simplify your onnx model
Apache License 2.0
3.79k stars 380 forks source link

[BUG] Message onnx.ModelProto exceeds maximum protobuf size of 2GB error from the latest version #308

Open lichangW opened 1 year ago

lichangW commented 1 year ago

Describe the bug hi, when I use onnxsim with the overwrite-input-shape option in the latest version, the error "maximum protobuf size of 2GB" occurs which I think has been solved long time ago , thanks for any instructions! image

Model To reproduce the problem, please post download link of your model here, or send your model to daquexian566@gmail.com

daquexian commented 11 months ago

Could you please try the latest version (v0.4.35)? I pushed a bugfix about it.