libornovax / master_thesis_code

Code for my master thesis: Vehicle Detection and Pose Estimation for Autonomous Driving
MIT License
187 stars 69 forks source link

Coordinates from network are misplaced #44

Closed libornovax closed 7 years ago

libornovax commented 7 years ago

The bbtxt_bb and bb3txt_bb layers were incorrectly computing the coordinates. When adding the misplacement of the pixel in the response map it added the misplacement of its top left corner instead of center. This resulted in error of 1, 2, 4, and 8 pixels for x2, x4, x8, and x16 output layers:

original

After the update the coordinates are computed correctly as in training:

corrected

Solved in commit 6eca474ed3cae673afde010caef338cf7349f839