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

Is focalloss2d implementation correct? #2

Open
stillwaterman opened this issue Dec 21, 2018 · 1 comment
Open

Is focalloss2d implementation correct? #2

stillwaterman opened this issue Dec 21, 2018 · 1 comment

Comments

@stillwaterman
Copy link

Hello, I found you use pt = torch.exp(logpt) to calculate probability, but which sample's probability is represented by pt. I think pt represents the probability of a sample, not the whole dataset.

@ZeroCSIS
Copy link

ZeroCSIS commented Aug 9, 2020

Hello, I think I came up with similar problem, have you ever solved this issue? Hoping for your response.

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