-
Notifications
You must be signed in to change notification settings - Fork 251
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
🐛[BUG]: Running corrdiff/generate.py
raises a shape exception
#542
Comments
i also have same error raised using CorrDiff Inference Package |
This is due to the wrong arguments in config_generate.yaml, the input channels: [0, 1, 2, 3, 4, 9, 10, 11, 12, 17, 18, 19] didn't match the 20 channels used in pre-trained models. what's more, they are also overlapped with output channels, [0, 17, 18, 19]. |
这个bug可能是来源于train.py line 127左右的N_grid_channels参数,他改变了整个模型的输入形状,当我去掉该参数,并注释掉train.py line 144对于该参数的引用之后该bug就消失了,并且output channels也应该改为cfg.dataset.out_channels = [0,1,2,3]。 |
Version
latest
On which installation method(s) does this occur?
No response
Describe the issue
See log output below
Minimum reproducible example
No response
Relevant log output
Environment details
No response
The text was updated successfully, but these errors were encountered: