Skip to content

How to train Inceptionv3 model with high-resolution images (ex. 512x512, 2048x2048)?  #644

@hongyiyu

Description

@hongyiyu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions