Skip to content

Commit

Permalink
Fixed #421 using dist.barrier
Browse files Browse the repository at this point in the history
  • Loading branch information
Pale-Blue-Dot-97 committed Feb 6, 2024
1 parent fcaf244 commit 34e8f92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions minerva/datasets/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ def get_subdataset(
this_hash = utils.make_hash(sub_dataset_params)

cached_dataset_path = Path(CACHE_DIR) / f"{this_hash}.obj"
print(f"{cached_dataset_path=}")
print(f"{cached_dataset_path.exists()=}")

if cached_dataset_path.exists():
print(f"\nLoad cached dataset {this_hash}")
Expand Down

0 comments on commit 34e8f92

Please sign in to comment.