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

Data skew problem #63

Closed
sano176 opened this issue Jun 3, 2019 · 2 comments
Closed

Data skew problem #63

sano176 opened this issue Jun 3, 2019 · 2 comments

Comments

@sano176
Copy link

sano176 commented Jun 3, 2019

Does the configuartion of model_zoo have an option to resolve the data skewing problem that
a small number of categories be misclassified?

@adolphk-yk
Copy link
Contributor

Hi sano, you can try setting weights for different classes in losses for data skewing problem. We provided example configuration file for how to set weights in losses.

@ljshou
Copy link
Member

ljshou commented Jun 5, 2019

losses": [
{
"type": "CrossEntropyLoss",
"conf": {
"weight": [0.1,0.9],
"size_average": true
},
"inputs": ["output","label"]

@ljshou ljshou closed this as completed Jun 17, 2019
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

3 participants