nv-tlabs / GSCNN

Gated-Shape CNN for Semantic Segmentation (ICCV 2019)
https://nv-tlabs.github.io/GSCNN/
Other
916 stars 200 forks source link

TypeError: __init__() takes 11 positional arguments but 12 were given #47

Open TooPigToBig opened 4 years ago

TooPigToBig commented 4 years ago

image How can I solve this problem?

pj-15 commented 4 years ago

hi, @hxtisme, this comment solved the problem.

You need update pytorch to 1.1.0., not 1.2.0 or higher. Because torch-encoding seems only support 1.0.0 and 1.1.0. (at least I saw error while using 1.2.0).

Hopes this help.

SunnerLi commented 4 years ago

image

I just write a simple program to justify this problem, but still encounter this problem, I think it cannot be solve while match the PyTorch version to 1.0.0

June-Luo commented 4 years ago

I have met the same problem.Did you solved this problem?

cgadioli commented 1 year ago

Same problem here... :(