RangiLyu / nanodet

NanoDet-Plusāš”Super fast and lightweight anchor-free object detection model. šŸ”„Only 980 KB(int8) / 1.8MB (fp16) and run 97FPS on cellphonešŸ”„
Apache License 2.0
5.63k stars 1.03k forks source link

Maybe there is some wrong code comments? #536

Open gama-ray opened 9 months ago

gama-ray commented 9 months ago

In the [tests/test_data/test_dataset/test_cocodataset.py line 11] with "# [w,h]" , according to my debug detail, one picture with shape (width=4000,height=3000), after data processing, it returns the data that is with the shape 3 x 240 x 320 (3, height, width). so I think the comment "# [w,h]" should be "# [h,w]".