make_report: glob fix for stale smoke eval
Browse files- make_report.py +1 -1
make_report.py
CHANGED
|
@@ -36,7 +36,7 @@ TRAIN_ITERS = {"fixed4x1": 1, "rec1x4": 4, "rec2x2": 2, "rec1xdynamic": 8,
|
|
| 36 |
|
| 37 |
def pull():
|
| 38 |
from huggingface_hub import snapshot_download
|
| 39 |
-
if not glob.glob("results/*_eval.json"):
|
| 40 |
snapshot_download(repo_id=REPO, repo_type="model",
|
| 41 |
allow_patterns=["results/*.json"], local_dir=".")
|
| 42 |
files = sorted(glob.glob("results/*_eval.json"))
|
|
|
|
| 36 |
|
| 37 |
def pull():
|
| 38 |
from huggingface_hub import snapshot_download
|
| 39 |
+
if not glob.glob("results/*-seed*_eval.json"):
|
| 40 |
snapshot_download(repo_id=REPO, repo_type="model",
|
| 41 |
allow_patterns=["results/*.json"], local_dir=".")
|
| 42 |
files = sorted(glob.glob("results/*_eval.json"))
|