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

About how to train a fcn8spac from scratch, thanks #30

Open
fullsky-1995 opened this issue Jul 22, 2022 · 0 comments
Open

About how to train a fcn8spac from scratch, thanks #30

fullsky-1995 opened this issue Jul 22, 2022 · 0 comments

Comments

@fullsky-1995
Copy link

Hi,
I want to use the pacconv2d in my code, so I try to running your code firstly but I meet a proplem.
The PacConv2dFn in pac.py:
in_mul_k = cols.view(bs, ch, *kernel.shape[2:]) * kernel
The error is: RuntimeError: shape '[1, 256, 3, 3, 112, 112]' is invalid for input of size 29419776
I train the model with the command as: >python -m task_semanticSegmentation.main --data-root data/voc --exp-root exp/voc/fcn8spac2 --train-split train11 --test-split val11_sbd --train-crop 449 --test-crop 512 --model fcn8spac --epochs 40 --lr 0.001 --lr-steps 20
How can I solve this problem or whether do my parameter exit error?
My environment is: python 3.7, cuda 11.1 and pytorch 1.9

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