You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing IMAGE_HEIGHT and IMAGE_WIDTH in model.py to anything other than 256 x 256 gives rise to errors. How can the model be changed to adapt to any input image size (not necessarily square)?
The text was updated successfully, but these errors were encountered:
When I tested in December, no other image size would work except 256 x 256, even when I changed the IMAGE_HEIGHT and IMAGE_WIDTH parameters. Would appreciate if @AlamiMejjati could direct me towards adjusting the parameters correctly for variable image size input
@nickkimer went back to this repo and realised that you also need to change line 30 in main.py: self._size_before_crop
to your desired size. It has to be the same size or larger than IMAGE_HEIGHT and IMAGE_WIDTH from models.py
I'm experimenting to see what the results look like.
Changing IMAGE_HEIGHT and IMAGE_WIDTH in model.py to anything other than 256 x 256 gives rise to errors. How can the model be changed to adapt to any input image size (not necessarily square)?
The text was updated successfully, but these errors were encountered: