FilippoAleotti / mobilePydnet

Pydnet on mobile devices
Apache License 2.0
254 stars 40 forks source link

supported resolutions #7

Closed elfifo4 closed 4 years ago

elfifo4 commented 4 years ago

Hi @FilippoAleotti I see in Resolution Enum (Android) these values: RES1(512, 256), RES2(640, 192), RES3(320, 96), RES4(640, 448); Are they only supported by the model? I've tried to feed the model with a static image and it gets cropped. thanks

FilippoAleotti commented 4 years ago

Hi, In the code we define 4 enum resolutions, representing most used in our scenarios. About our model, it can handle images with height and width multiples of 64, and for this reason the image is resized before feeding the network.

elfifo4 commented 4 years ago

Hi, is it possible to train the model on images with height and width multiples of 8?

FilippoAleotti commented 4 years ago

Using the provided network no, you have to change the architecture