I'd like to train the Inceptionv3 model with high-resolution images like 512x512.
As I know, the Inceptionv3 is designed to work with variable size of images.
However, if I train it with images which is not 299x299 size, it return with errors like:
size mismatch, m1: [8 x 19200], m2: [768 x 1000]
It's looks like have some problem with this line.
if self.training and self.aux_logits:
aux = self.AuxLogits(x)`
|
if self.training and self.aux_logits: |
Anybody can help me?
Thanks a lot in advance