Skip to content

Commit

Permalink
print before loading database
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh-ranjan committed Nov 27, 2023
1 parent b1746fd commit 4380ff4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions relbench/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ def __init__(self, *, process: bool = False) -> None:
processor=unzip_processor,
progressbar=True,
)
print(f"loading Database object from {db_path}...")
tic = time.time()
db = Database.load(db_path)
toc = time.time()
print(f"done in {toc - tic:.2f} seconds.")

super().__init__(
db, self.val_timestamp, self.test_timestamp, self.task_cls_list
Expand Down

0 comments on commit 4380ff4

Please sign in to comment.