-
Notifications
You must be signed in to change notification settings - Fork 57
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
ENH: Select top and bottom tiles on the fly #388
Conversation
…hout_a_fixed_tile_count
…g_without_a_fixed_tile_count
…hout_a_fixed_tile_count
I've now reverted the bot's commits. Again, I'm very sorry, @kenza-bouzid! |
No worries, thanks @fepegar for the fix! |
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.
Great work - just a few minor comments!
hi-ml-histopathology/src/histopathology/configs/classification/BaseMIL.py
Outdated
Show resolved
Hide resolved
hi-ml-histopathology/src/histopathology/utils/top_bottom_tiles_utils.py
Outdated
Show resolved
Hide resolved
hi-ml-histopathology/src/histopathology/utils/top_bottom_tiles_utils.py
Outdated
Show resolved
Hide resolved
hi-ml-histopathology/src/histopathology/utils/top_bottom_tiles_utils.py
Outdated
Show resolved
Hide resolved
hi-ml-histopathology/src/histopathology/utils/top_bottom_tiles_utils.py
Outdated
Show resolved
Hide resolved
hi-ml-histopathology/src/histopathology/utils/top_bottom_tiles_utils.py
Outdated
Show resolved
Hide resolved
…_utils.py Co-authored-by: Anton Schwaighofer <antonsc@microsoft.com>
…_utils.py Co-authored-by: Anton Schwaighofer <antonsc@microsoft.com>
…_utils.py Co-authored-by: Anton Schwaighofer <antonsc@microsoft.com>
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.
Tremendous accomplishment here, @kenza-bouzid! Now the API looks much cleaner and is easier to understand.
To avoid plotting top and bottom tiles by reading them from png files, we now select these tiles on the fly for each batch in min and max heaps and then plot them from their respective tensors. Main contributions: