nanodet
nanodet copied to clipboard
Keep ratio in ncnn android demo?
Hello. I noticed that you use padding(keep ratio) in training and demo code(python). But in the ncnn android code, there is no padding. Why is it? Won't the performance be worse?
NanoDet supports dynamic input size. Resize(keep ratio) without padding to square is okay. Just make sure the width and height are divisible to 32.
By the way, the input in the android demo is cropped to square.
By the way, the input in the android demo is cropped to square.
Thanks for your reply. It is cropped with the image center, and resized to 320x320? https://github.com/RangiLyu/nanodet/blob/c931de553e0ded55e8811e51cf0b74ac3aa5e9de/demo_android_ncnn/app/src/main/cpp/NanoDet.h#L44
It's nanodet trained with RGB images?