Skip to content

Commit

Permalink
[Minor] set as validation one by default
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebotu committed Sep 11, 2023
1 parent 4ed3235 commit 90a2246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rl4co/models/rl/common/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def setup(self, stage="fit"):
)
self.train_batch_size = train_bs
self.val_batch_size = train_bs if val_bs is None else val_bs
self.test_batch_size = train_bs if test_bs is None else test_bs
self.test_batch_size = self.val_batch_size if test_bs is None else test_bs

log.info("Setting up datasets")

Expand Down

0 comments on commit 90a2246

Please sign in to comment.