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

Refactor/create inputwidget for prediction outputs #582

Merged

Conversation

yrkim98
Copy link
Collaborator

@yrkim98 yrkim98 commented Feb 4, 2025

Purpose

Replaces FileInputWidget in ThresholdingView with a PredictionResultInputWidget, which only allows you to select images that are the result of prediction during thresholding.

Changes

  • Created new PredictionResultInputWidget which only allows selection of images that are the result from training
  • changes to Viewer, ThresholdingView, ThresholdingService to support the above change.
  • Changes to variable names in ThresholdingService from comments on previous pr by @hughes036

Testing

Tested manually on Ec2 instance as well as on my windows machine at home.

How to review

Start with ThresholdingView, and see related changes in Viewer, ThresholdingView, ThresholdingService.
Lastly check out PredictionResultInputWidget and changes to FileInputModel which the PredictionResultInputWidget still uses.

Copy link
Collaborator

@smishra3 smishra3 left a comment

Choose a reason for hiding this comment

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

Looks good

@yrkim98 yrkim98 merged commit 2eef549 into feature/thresholding Feb 13, 2025
6 checks passed
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.

4 participants