Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is have error: output with shape [1, 28, 28] doesn't match the broadcast shape [3, 28, 28] #3

Open
ghost opened this issue Jan 18, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 18, 2021

Make train any variant.

@rmsc
Copy link

rmsc commented Mar 26, 2021

In data_utils.py remove/comment change the Normalize() lines to:

    transform = transforms.Compose([
        transforms.ToTensor(),
        transforms.Normalize((0.5), (0.5))
    ])

@rmsc
Copy link

rmsc commented Mar 26, 2021

Turns out you should still normalize the data, just edited my answer above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant