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

batchsize==1? #12

Closed
nobody-cheng opened this issue Mar 30, 2021 · 1 comment
Closed

batchsize==1? #12

nobody-cheng opened this issue Mar 30, 2021 · 1 comment

Comments

@nobody-cheng
Copy link

nobody-cheng commented Mar 30, 2021

batchsize default is 1,Set batchsize:8 -->>loss err

loss.py", line 31, in upsampling_loss
U1_gt = count1_gt / F.conv_transpose2d(count0_gt, krn, stride=2)
RuntimeError: Given transposed=1, weight of size [8, 1, 2, 2], expected input[8, 1, 6, 8] to have 8 channels, but got 1 channels instead
@nobody-cheng nobody-cheng changed the title batchsize不能大于1? batchsize==1? Mar 30, 2021
@dmburd
Copy link
Owner

dmburd commented Apr 10, 2021

Hi,
checkout the issue #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

2 participants