Open oguzhankayaa opened 4 weeks ago
@oguzhankayaa I'm not sure, I'm not the original author of the pytorch-ssd repo - the upstream is from here: https://github.com/qfgaohao/pytorch-ssd
You can double check it in the code, but I believe it does center cropping so the aspect ratio is maintained. But you would loose the data on the edges. It seems more common to just train the model on squished aspect ratio if you don't want to modify the architecture.
I want to train ssd mobilenet with rectangular shape image. As I understand train file is written only for square shape resizing. How can I resize in a rectangular form so that I can keep the aspect ratio?