This repository was archived by the owner on Mar 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 147
Add subsampling transform and mean pooling #656
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
845910a
Add dropout to DeepMILModule
34c2089
Fix feature extractor setup for torchvision models
31961cb
Refactor DeepMIL dropout into classifier
dccastro 8de20ec
Refactor and add tests for feature extractor setup
dccastro 2541eee
Add dropout to DeepMIL tests
dccastro b192888
Merge remote-tracking branch 'origin/main' into dacoelh/deepmil_dropout
dccastro 4231a71
Add subsampling transform
dccastro 248a864
Add option to allow_missing_keys for Subsampled
dccastro 46ff8ce
Add dropout param to BaseMIL
dccastro 26c62a3
Merge branch 'dacoelh/deepmil_dropout' into dacoelh/subsample_tiles
dccastro 51f932b
Add docstring and tests for Subsampled
dccastro eb1a08c
Merge remote-tracking branch 'origin/main' into dacoelh/deepmil_dropout
dccastro f47c647
Update changelog
dccastro 34f5378
Merge branch 'dacoelh/deepmil_dropout' into dacoelh/subsample_tiles
dccastro 055d54c
Merge remote-tracking branch 'origin/main' into dacoelh/subsample_tiles
dccastro 2cf2744
Update to hi-ml with mean pooling
dccastro 8e2a240
Enable mean pooling in DeepMIL
dccastro d053c0e
Add/refactor mean pooling tests
dccastro 6952188
Merge remote-tracking branch 'origin/main' into dacoelh/subsample_tiles
dccastro ce2f478
Update changelog
dccastro 12a814f
Update to latest hi-ml with mean pooling
dccastro 8fb1bbb
Merge remote-tracking branch 'origin/main' into dacoelh/subsample_tiles
dccastro File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why was this changed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this is a more robust way to reshape the outputs, without relying on
num_encodingandpool_out_dimprovided by the encoder and pooling components. In particular,MeanPoolingLayerignores all arguments passed to it, so this operation would have failed if we expected a different shape here.