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

Support for segmentation extreme batch cases #1282

Merged
merged 21 commits into from
Aug 1, 2023

Conversation

shaydeci
Copy link
Contributor

@shaydeci shaydeci commented Jul 16, 2023

  • Added a base class, for visualizing the worst/best batches according to some metric, loss or loss component.
  • Added segmentation support.
  • Added some missing pieces that were needed in phase context.
  • Full DDP support- aggregation of metrics, the best/worst predictions, and averaging the loss.

Note: images can be resized individually inside the logger.

Screen Shot 2023-07-16 at 14 35 58

@shaydeci shaydeci marked this pull request as ready for review July 16, 2023 15:03
Copy link
Contributor

@Louis-Dupont Louis-Dupont left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall; but I think the issue I raised with the metrics is quiet important. I know we currently don't have a clean way to handle the metrics but I think we should honestly think about it

@shaydeci shaydeci requested a review from BloodAxe July 24, 2023 06:47
Copy link
Contributor

@BloodAxe BloodAxe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two important changes that I think this PR is missing:

  • Please add a unit tests that verity this callback works as intended.
  • Also, adding a docs to show we have this feature would help to increase it's exposure.

Copy link
Contributor

@BloodAxe BloodAxe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shaydeci shaydeci merged commit 699b972 into master Aug 1, 2023
@shaydeci shaydeci deleted the feature/SG-901_worst_samples_od_cb branch August 1, 2023 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants