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 3c3a162 commit 321ce93Copy full SHA for 321ce93
pytorch_lightning/trainer/trainer.py
@@ -942,7 +942,7 @@ def test(
942
if not model_provided and ckpt_path == 'best' and self.fast_dev_run:
943
raise MisconfigurationException(
944
'You cannot execute testing when the model is not provided and `fast_dev_run=True`. '
945
- 'Provide model with `trainer.test(model=...)`'
+ 'Provide model with `trainer.test(model=...)` or `trainer.test(ckpt_path=...)`'
946
)
947
948
if not model_provided:
0 commit comments