Skip to content

Commit b38e336

Browse files
authored
Merge pull request #5 from edong6768/changes/0.1.5
Changes/0.1.5
2 parents 5346c5e + 13b5d06 commit b38e336

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pip install git+https://github.com/edong6768/Malet.git
3232
- ml-collections 0.1.0
3333
- seaborn 0.11.2
3434

35-
## Documentation
35+
## Documentation **(🚨 Plan to move to Sphinx-based Read the docs in near future)**
3636

3737
### Contents
3838

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ dependencies = [
3333
'matplotlib==3.7.0',
3434
'ml-collections==0.1.0',
3535
'seaborn==0.11.2',
36+
'rich'==13.6.0,
3637
]
3738

3839
[project.scripts]

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ pandas==2.0.3
44
matplotlib==3.7.0
55
ml-collections==0.1.0
66
seaborn==0.11.2
7-
rich==13.6.0
8-
tqdm
7+
rich==13.6.0

src/malet/experiment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
import pandas as pd
1212
import numpy as np
13-
from tqdm import tqdm
13+
from rich.progress import track
1414

1515
from absl import logging
1616
from ml_collections.config_dict import ConfigDict
@@ -670,7 +670,7 @@ def resplit_logs(exp_folder_path: str, target_split: int=1, save_backup: bool=Tr
670670
# resplitting nth split
671671
cfgs_temp = copy.deepcopy(configs)
672672
cfgs_temp.filter_iter(lambda i, _: i%target_split==n)
673-
for cfg in tqdm(cfgs_temp, desc=f'split: {n}/{target_split}'):
673+
for cfg in track(cfgs_temp, description=f'split: {n}/{target_split}'):
674674
if cfg in base:
675675
metric_dict, info_dict = base.get_metric_and_info(cfg)
676676
lgs.add_result(cfg, metric_dict, **info_dict)

0 commit comments

Comments
 (0)