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

How to calculate label weight? #17

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

How to calculate label weight? #17

charlesCXK opened this issue Jun 3, 2019 · 2 comments

Comments

@charlesCXK
Copy link

Hi, I have a question about label weight of NYU Depth V2. I can only calculate the distribution of each category in NYU Depth V2, how can I get the label weight from the distribution? Thank you!

@hazirbas
Copy link
Member

hazirbas commented Jun 3, 2019

Hi,
Please refer to Predicting Depth, Surface Normals and Semantic Labels with a Common Multi-Scale Convolutional Architecture, David Eigen, Rob Fergus

Weight is determined based on the frequency of the pixels and number of the images that that the category presents on.

@hazirbas hazirbas closed this as completed Jun 3, 2019
@charlesCXK
Copy link
Author

Predicting Depth, Surface Normals and Semantic Labels with a Common Multi-Scale Convolutional Architecture

Thanks! That helps me a lot.

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

2 participants