Skip to content

Commit

Permalink
Adjust pbar display
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross committed Sep 17, 2024
1 parent b4d51b8 commit c2654fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions notebooks_jason/wandb_cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ def bytes_to_str(size: float) -> str:
return f"{size:.2f} B"
size /= 1024
if size < 1024:
return f"{size:.2f} KB"
return f"{size:.4f} KB"
size /= 1024
if size < 1024:
return f"{size:.2f} MB"
return f"{size:.8f} MB"
size /= 1024
return f"{size:.2f} GB"
return f"{size:.16f} GB"


# %%
Expand Down

0 comments on commit c2654fb

Please sign in to comment.