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

Integrate sample/class weighting #116

Open
muellerdo opened this issue Jan 20, 2022 · 0 comments
Open

Integrate sample/class weighting #116

muellerdo opened this issue Jan 20, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@muellerdo
Copy link
Member

muellerdo commented Jan 20, 2022

keras-team/keras#3653
keras-team/keras#3653 (comment)

https://tensorflow.google.cn/tutorials/images/segmentation?hl=en&skip_cache=true%22

  • Implement class dictionary as parameter for data generator
  • if parameter != None, compute sample weight according to GitHubUser97 answer (with dynamic n_classes)
  • Return sample weight

Add Unittesting for it.

Should also work with patches then.

@muellerdo muellerdo added the enhancement New feature or request label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant