Skip to content

String “best” at argument “ckpt_path” for test method of Trainer class #9836

Discussion options

You must be logged in to vote

it actually relies on ModelCheckpoint callback only https://github.com/PyTorchLightning/pytorch-lightning/blob/b3e9dff32d842431b067b0ab83e508ffe3262968/pytorch_lightning/trainer/trainer.py#L1268-L1280
so if there is no ModelCheckpoint callback it will raise an error

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@dr-costas
Comment options

Answer selected by dr-costas
Comment options

You must be logged in to vote
2 replies
@rohitgr7
Comment options

@dr-costas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment