Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmintun committed Apr 15, 2023
1 parent 3518c86 commit 02acff7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/export_onnx_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def run_export(
if onnxruntime_exists:
ort_inputs = {k: to_numpy(v) for k, v in dummy_inputs.items()}
# set cpu provider default
providers = ['CPUExecutionProvider']
providers = ["CPUExecutionProvider"]
ort_session = onnxruntime.InferenceSession(output, providers=providers)
_ = ort_session.run(None, ort_inputs)
print("Model has successfully been run with ONNXRuntime.")
Expand Down

0 comments on commit 02acff7

Please sign in to comment.