Skip to content

Sizes of tensors must match except in dimension 1 #184

Open
@tendrillion

Description

When testing your own pictures with the shape [3,577,900],this code error which in line 251 in the src/models.py :

the error is :Sizes of tensors must match except in dimension 1. Expected size 557 but got size 556 for tensor number 1 in the list.

the code line 140 in src/models.py:
outputs = self.generator(inputs)
the shape of inputs is :[1,3,557,900]
but the shape of outputs is :[1,1,556,900]

any suggestions to solve this?

Activity

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

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