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

Add segmentation multilabel support #41

Merged
merged 1 commit into from
Jun 25, 2022
Merged

Conversation

xoiga123
Copy link
Collaborator

@xoiga123 xoiga123 commented Jun 24, 2022

Tested training / validating / inferencing (weight only trained for <5 epochs) with binary / multiclass / multilabel.

The only breaking change is with FocalLossSeg, from F.binary_cross_entropy_with_logits to F.binary_cross_entropy because we already have activation in last layer. Check this issue on segmentation_models.pytorch for more detail. Other than that, everything should be identical to how the repo was if the user doesn't switch seg_multilabel on in project.yml.

@xoiga123 xoiga123 added bug Something isn't working enhancement New feature or request labels Jun 24, 2022
@xoiga123 xoiga123 requested a review from datvuthanh June 24, 2022 04:24
@xoiga123
Copy link
Collaborator Author

#20 #40

@datvuthanh datvuthanh merged commit 2924eb3 into main Jun 25, 2022
@datvuthanh datvuthanh deleted the rework_segmentation branch June 25, 2022 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants