Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUG: Use custom checkpoint for test stage in DeepMIL #318

Merged
merged 8 commits into from
Apr 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def get_dataloader_kwargs(self) -> dict:
def get_callbacks(self) -> List[Callback]:
return super().get_callbacks() + [self.callbacks]

def get_path_to_best_checkpoint(self) -> Path:
def get_checkpoint_to_test(self) -> Path:
"""
Returns the full path to a checkpoint file that was found to be best during training, whatever criterion
was applied there. This is necessary since for some models the checkpoint is in a subfolder of the checkpoint
Expand Down