Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
jenahwang committed Dec 17, 2024
1 parent 264ce05 commit 2154ea8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/convert_checkpoints_batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def convert_checkpoint(cps, load_dir="/data/input", sanity_check=False, weka_pre
except subprocess.CalledProcessError as e:
print(f"Error during checkpoint conversion: {checkpoint_path}")
error = {
'error_code': e.return_code,
'error_code': e.returncode,
'error_stderr': e.stderr
}
conversion_status = "error"
Expand Down

0 comments on commit 2154ea8

Please sign in to comment.