You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the model does not define train_dataloader and no val_dataloader, we can not use trainer.test(model, test_dataloaders=test_dl).
The configuration checks fail with a MisconfigurationException.
Code sample
model = ... # a model with no `train_dataloader`, `val_dataloader` defined
test_dl = ... # a dataloader
trainer = pl.Trainer()
trainer.test(model, test_dataloaders=test_dl)
Expected behavior
We expect the testing loop to execute.
The text was updated successfully, but these errors were encountered:
Whoops, sorry I tried searching for the issue / PR but couldn't find the relevant ones. Looks like there are already good ideas in #1804, #1720, #1754, #1804.
🐛 Bug
When the model does not define
train_dataloader
and noval_dataloader
, we can not usetrainer.test(model, test_dataloaders=test_dl)
.The configuration checks fail with a
MisconfigurationException
.Code sample
Expected behavior
We expect the testing loop to execute.
The text was updated successfully, but these errors were encountered: