We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f06bb32 commit bec6d43Copy full SHA for bec6d43
pytorch_lightning/trainer/trainer.py
@@ -951,7 +951,7 @@ def test(
951
if not model_provided and ckpt_path == 'best' and self.fast_dev_run:
952
raise MisconfigurationException(
953
'You cannot execute testing when the model is not provided and `fast_dev_run=True`. '
954
- 'Provide model with `trainer.test(model=...)`'
+ 'Provide model with `trainer.test(model=...)` or `trainer.test(ckpt_path=...)`'
955
)
956
957
if not model_provided:
0 commit comments