Skip to content

Commit

Permalink
model_hash_name + base_name
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 8b0fb00 commit 902d751
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 @@ -60,7 +60,7 @@ def main():
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_dir)
rename(osp.join(final_model_dir, model_hash_name), final_model_path)
rename(osp.join(final_model_dir, model_hash_name + base_name), final_model_path)
print(f"Successfully created {model_zoo_dir} by mlagility and ORT.")
else:
shutil.copy(mlagility_created_onnx, final_model_path)
Expand Down

0 comments on commit 902d751

Please sign in to comment.