Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
johndpope committed Oct 5, 2024
1 parent 3e2caa0 commit 75656f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion onnxconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def export_to_onnx(model, x_current, x_reference, file_name):
(x_current, x_reference),
file_name,
export_params=True,
opset_version=14,
opset_version=19,
do_constant_folding=True,
input_names=['x_current', 'x_reference'],
output_names=['f_r', 't_r', 't_c'],
Expand All @@ -161,6 +161,7 @@ def export_to_onnx(model, x_current, x_reference, file_name):
't_r': {0: 'batch_size'},
't_c': {0: 'batch_size'}
},
export_params=True,
verbose=True
)
print(f"Model exported successfully to {file_name}")
Expand Down

0 comments on commit 75656f1

Please sign in to comment.