Skip to content

Commit 321ce93

Browse files
committed
improve message
1 parent 3c3a162 commit 321ce93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytorch_lightning/trainer/trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ def test(
942942
if not model_provided and ckpt_path == 'best' and self.fast_dev_run:
943943
raise MisconfigurationException(
944944
'You cannot execute testing when the model is not provided and `fast_dev_run=True`. '
945-
'Provide model with `trainer.test(model=...)`'
945+
'Provide model with `trainer.test(model=...)` or `trainer.test(ckpt_path=...)`'
946946
)
947947

948948
if not model_provided:

0 commit comments

Comments
 (0)