Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
skottmckay committed Jun 27, 2024
1 parent 26cead4 commit 0be635f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions onnxruntime/core/providers/coreml/dump_mlprogram_model.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
import sys

import coremltools as ct

if len(sys.argv) < 2:
print(f"Usage: {sys.argv[0]} <path to model.mlmodel in ML Package>")
print("If generated by onnxruntime this will be <ML Package root>/Data/com.microsoft.onnxruntime/model.mlmodel")
print("The ML Package created by the CoreML EP can saved to a specific directory in a debug build of onnxruntime "
"by setting the environment variable ORT_COREML_EP_MODEL_DIR to the desired directory.")
print(
"The ML Package created by the CoreML EP can saved to a specific directory in a debug build of onnxruntime "
"by setting the environment variable ORT_COREML_EP_MODEL_DIR to the desired directory."
)

sys.exit(-1)

Expand Down

0 comments on commit 0be635f

Please sign in to comment.