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

no key in meta.data called 'class proportions' #4

Open
ritikasaboo13 opened this issue Apr 17, 2024 · 0 comments
Open

no key in meta.data called 'class proportions' #4

ritikasaboo13 opened this issue Apr 17, 2024 · 0 comments

Comments

@ritikasaboo13
Copy link

In the data.py file, the class_weights() function calculates class weights based on the key 'class proportions' but this key does not exist. The correct key is 'class_ratio' / 'class ratio'.

I am happy to make this correction, although I am not sure where the function is being used during training and perhaps the function is redundant.

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

No branches or pull requests

1 participant