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

RuntimeError: Given groups=1, weight of size 4 125 1 1, expected input[1, 128, 56, 56] to have 125 channels, but got 128 channels instead #19

Closed
albert-ba opened this issue Aug 28, 2019 · 4 comments

Comments

@albert-ba
Copy link

Hi I'm running with the following command line:
CUDA_VISIBLE_DEVICES=0,1 python train_autodeeplab.py --dataset coco --filter_multiplier 4 --resize 358 --crop_size 224 --batch-size 2
This gives me:
RuntimeError: Given groups=1, weight of size 4 125 1 1, expected input[1, 128, 56, 56] to have 125 channels, but got 128 channels instead

I understand what the error about, but I can't really fix it, why I'm getting this error?

Thanks.

@NoamRosenberg
Copy link
Owner

@BBarak Hi sorry, this one is our bad. Someone merged broken code this morning. It should be working now, can you give it a try and let me know?

@albert-ba
Copy link
Author

I'm getting this error now:
"ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 20, 1, 1])" I saw in the closed issues that this was solved..

@NoamRosenberg
Copy link
Owner

@albert-ba are you using the most recent version of the code? It should be much smaller now. Would allow you to use batch 2 on a single machine.

@albert-ba
Copy link
Author

Thanks

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

2 participants