Skip to content

Commit

Permalink
do not log dataset to stdout in each iteration
Browse files Browse the repository at this point in the history
  • Loading branch information
svandenhaute committed Jan 24, 2024
1 parent 1ba8847 commit ff6afad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions psiflow/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,7 @@ def log_string(s: str) -> None:
assert dataset is not None
inputs = [dataset.data_future, model.evaluate(dataset).data_future]
dataset_log = log_dataset(inputs=inputs)
dataset_log_str = save_dataset_log(dataset_log, path / "dataset.log")
log_string(dataset_log_str)
save_dataset_log(dataset_log, path / "dataset.log")
if self.wandb_group is not None:
# typically needs a result() from caller
return to_wandb( # noqa: F841
Expand Down

0 comments on commit ff6afad

Please sign in to comment.