Skip to content

Commit

Permalink
Pass in vmap_pred as a config argument
Browse files Browse the repository at this point in the history
  • Loading branch information
itsgt authored Feb 13, 2024
1 parent b3895b3 commit 149e7bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions matdeeplearn/tasks/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def run(self):
# if isinstance(self.trainer.data_loader, list):
self.trainer.predict(
loader=self.trainer.data_loader, split="predict", results_dir=results_dir, labels=self.config["task"]["labels"],
vmap_pred = self.config["task"].get("vmap_pred", False)
)
# else:
# self.trainer.predict(
Expand Down

0 comments on commit 149e7bf

Please sign in to comment.