lyft / nuscenes-devkit

Devkit for the public 2019 Lyft Level 5 AV Dataset (fork of https://github.com/nutonomy/nuscenes-devkit)
Other
366 stars 103 forks source link

A small issue in render_annotation function #33

Open pyaf opened 4 years ago

pyaf commented 4 years ago

Hey,

In render_annotation function you don't need a for loop (here) as there will always be one box in boxes (we are doing assertion checks for the same). And you are passing boxes[0] to view_points within the loop anyways. (here)

And, this time I wanna fix this by raising a PR, do let me know if I can process with that :)

ternaus commented 4 years ago

Go with a PR :)

pyaf commented 4 years ago

Thanks :)