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

error in encoder.py #17

Open
dailydaniel opened this issue Oct 8, 2019 · 0 comments
Open

error in encoder.py #17

dailydaniel opened this issue Oct 8, 2019 · 0 comments

Comments

@dailydaniel
Copy link

I tried to train a model on one cifar class. The model was trained, but, after training, an error appeared in the encoder.

python3.7 encoder.py --model checkpoint/encoder_iter_00000000.pth --input ../dset/0/apple_s_000027.png --output ../test --iterations 16

RuntimeError: Given groups=1, weight of size 64 3 3 3, expected input[1, 4, 32, 32] to have 3 channels, but got 4 channels instead

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