Skip to content

Commit

Permalink
use final_model_dir
Browse files Browse the repository at this point in the history
Signed-off-by: jcwchen <[email protected]>
  • Loading branch information
jcwchen committed Jun 21, 2023
1 parent e1f7704 commit 8b0fb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workflow_scripts/run_mlagility.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def main():
model_hash_name = find_model_hash_name(".cache", model_name + "_" + directory_name + "_")
mlagility_created_onnx = osp.join(cache_converted_dir, model_hash_name, "onnx", model_hash_name + base_name)
if args.create:
ort_test_dir_utils.create_test_dir(mlagility_created_onnx, "./", final_model_path)
ort_test_dir_utils.create_test_dir(mlagility_created_onnx, "./", final_model_dir)
rename(osp.join(final_model_dir, model_hash_name), final_model_path)
print(f"Successfully created {model_zoo_dir} by mlagility and ORT.")
else:
Expand Down

0 comments on commit 8b0fb00

Please sign in to comment.