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

fix potential wrong reg_target assignment #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xmyqsh
Copy link

@xmyqsh xmyqsh commented Jun 20, 2021

Fix potential wrong reg_target assignment on the center point collision problem as Objects as Points 6.1.1 said.
Though we cannot forbid the center point collision problem, we can guarantee that the reg_target assignment behavior is deterministic, assigning to the nearest one.

I'm not sure about the effect of this change, I have no enough machines to test it.
But I think this change is reasonable, especially for large epochs training.

By the way, I also wonder it is reasonable or not to remove this line dist2[is_peak] = 0 and believe the probability totally.

Wonderful work! CenterNet2 tells us the power of probabilistic on two-stage detection.
But the CenterNet* could be further optimized, such as ground truth auto-assignment on feature pyramid instead of configuring scale range manually.

Fix potential wrong reg_target assignment on the center point collision problem as Objects as Points 6.1.1 said.
Though we cannot forbid the center point collision problem, we can guarantee that the reg_target assignment behavior is deterministic, assigning to the nearest one.
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

Successfully merging this pull request may close these issues.

None yet

1 participant