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

Why did you set the one_hot depth=num_classes+1 ? #2

Open
Dorispaopao opened this issue Dec 26, 2019 · 2 comments
Open

Why did you set the one_hot depth=num_classes+1 ? #2

Dorispaopao opened this issue Dec 26, 2019 · 2 comments

Comments

@Dorispaopao
Copy link

Actually, the depth of the annotations' one_hot matrix should be num_classes.

@Katexiang
Copy link
Owner

Actually, the depth of the annotations' one_hot matrix should be num_classes.

Actually, we can communicate in Chinese. 就那个背景在标签上设置为0,在用这个函数处理的时候,要比类别多设置一类,最后计算损失函数的时候用来归一化,和获取相关类别的mask的。

@Dorispaopao
Copy link
Author

Dorispaopao commented Jan 13, 2020 via email

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