Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
zulissimeta committed Jul 9, 2024
1 parent bf16cad commit a853451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fairchem/core/trainers/base_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def load_datasets(self) -> None:
self.train_dataset,
self.train_sampler,
)
elif ~self.config.get("dataset", None):
elif self.config.get("dataset", None) is None:
self.config["dataset"] = {}

if self.config.get("val_dataset", None):
Expand Down

0 comments on commit a853451

Please sign in to comment.