You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Hi, I am currently reading the source code of densepose, and I think there might be a bug in detectron/datasets/densepose_cocoeval.py. Don't be nervous, this bug won't affect the result of the code, it will just confuse people like me who try to read your code :)
From line 378 to line 397 I think some 'x' and 'y' are messed up and the code with correct use of 'x' and 'y' should be :
Line 378~379:
@penincillin Indeed, the names x and y are partly interchanged here. Bounding box dimensions dx and dy computed on lines 378-379 and point coordinates px and py computed on lines 382-383 refer in fact to y and x coordinates respectively. At the same time, dp_x and dp_y variables refer to x and y respectively. This creates syntactic confusion, but the code is semantically correct.
@vkhalidov@penincillin I fixed this confusion and simplified the code in #203, which makes the code understood more easily and has no effect on the results.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I am currently reading the source code of densepose, and I think there might be a bug in detectron/datasets/densepose_cocoeval.py. Don't be nervous, this bug won't affect the result of the code, it will just confuse people like me who try to read your code :)
From line 378 to line 397 I think some 'x' and 'y' are messed up and the code with correct use of 'x' and 'y' should be :
Line 378~379:
Line 382~383
Line 395~397
I would appreciate if you reply me.
Thanks !
The text was updated successfully, but these errors were encountered: