Skip to content

Commit

Permalink
Fix wrong onnx.load_model arguments (#188)
Browse files Browse the repository at this point in the history
We called this with a second argument that got ignored in onnx 1.14.1,
but with 1.15.0, this is not legal anymore. Removing the second argument
should fix this.
  • Loading branch information
jaxs-ribs authored Nov 9, 2023
1 parent 36a1c3d commit daa87ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emote/extra/onnx_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def _trace(self):
)

f.seek(0)
model_proto = onnx.load_model(f, onnx.ModelProto)
model_proto = onnx.load_model(f)

return model_proto

Expand Down

0 comments on commit daa87ec

Please sign in to comment.