Skip to content

Commit bec6d43

Browse files
committed
improve message
1 parent f06bb32 commit bec6d43

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
@@ -951,7 +951,7 @@ def test(
951951
if not model_provided and ckpt_path == 'best' and self.fast_dev_run:
952952
raise MisconfigurationException(
953953
'You cannot execute testing when the model is not provided and `fast_dev_run=True`. '
954-
'Provide model with `trainer.test(model=...)`'
954+
'Provide model with `trainer.test(model=...)` or `trainer.test(ckpt_path=...)`'
955955
)
956956

957957
if not model_provided:

0 commit comments

Comments
 (0)