Skip to content

Type error occurs when image size is not a power of two #26

Open

Description

@necococo

For example, if the image size is 632, the following error will occur.

ValueError: Dimensions must be equal, but are 38 and 39 for 'generator/spade_resblock_0/spade_1/mul' (op: 'Mul') with input shapes: [1,38,38,1024], [1,39,39,1024].

tried to set resize_256 to 312 and so on.

With 512, these codes worked fine.

What do you think I should do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions