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 48 160 1 1, expected input[2, 640, 3, 3] to have 160 channels, but got 640 channels instead #100

Open
mx1mx2 opened this issue Jun 9, 2020 · 3 comments

Comments

@mx1mx2
Copy link

mx1mx2 commented Jun 9, 2020

when do i run train.py?

@adityalokesh
Copy link

mx1mx2 need help running this could you pls help me !
adityapesu@gmail.com

@ZhengPeng7
Copy link

Have you fixed this error?

@ZhengPeng7
Copy link

print(model) and search 160, you will find the only 160 is the input_channel of the decoder.

It's the low_level_inplanes controls the input_channel, which defined by filter_multiplier.
Then see the ln25 in build_autodeeplab.py, change the param filter_multiplier from args.filter_multiplier * args.block_multiplier to args.filter_multiplier * args.block_multiplier * filter_param_dict[network_path[2]], which is then adaptive.

Thanks to this issue #93.

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

3 participants