-
Notifications
You must be signed in to change notification settings - Fork 370
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
added class_weights for cross entropy loss to segmentation.py #1221
added class_weights for cross entropy loss to segmentation.py #1221
Conversation
…formatting, added deleted loss
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.
Should we also add this to the classification and detection trainers as well?
…lass_weights parameter after loss parameter
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.
LGTM. Only remaining question is if we want to do this for classification/detection trainers too or save that for a different PR?
Different PR |
Thanks for the PR! |
Adding ability to pass in class weights into cross entropy loss.