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

A question about pred and target in ghm_loss #36

Open
DangerousY opened this issue May 8, 2020 · 0 comments
Open

A question about pred and target in ghm_loss #36

DangerousY opened this issue May 8, 2020 · 0 comments

Comments

@DangerousY
Copy link

The method is very good! However, I am new in this area. So I see the ghm code include two parameter: pred [batch_num, class_num] and target [batch_num, class_num]. I want to ask if the pred only input the [batch,class] matrix, we don't need to input the image's C x H x W. Because I see that the input of focal_loss is pred[batch, c, h, w], I am confused.
Tks for your reply.

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