MLFcGAN icon indicating copy to clipboard operation
MLFcGAN copied to clipboard

"ValueError" while testing

Open Anleeno-Xu opened this issue 2 years ago • 2 comments

Dear author, I met some error while testing, the path and pretrained weights is right, but something unexpected happened in the networks.py files. How can I fix this?

3a8bbe103ac1b327d6f77b12d8015b0

Anleeno-Xu avatar Mar 28 '22 02:03 Anleeno-Xu

you may check the result of "concat_t.size()" first and get 'n' and 'dims' from the result of 'concat_t.size()' accordingly. Thanks.

Xiaodong-Bran avatar Mar 28 '22 06:03 Xiaodong-Bran

@Xiaodong-Bran The outputs of concat_t.size() are "torch.Size([1, 512, 2])", and all settings are kept the default. I have changed the n, dims to 512 and 2 or 3, but it is still wrong.

Anleeno-Xu avatar Mar 28 '22 07:03 Anleeno-Xu