-
Notifications
You must be signed in to change notification settings - Fork 112
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
维度问题 #33
Comments
我在训练的时候也越大维度不匹配的问题。 |
请问你们解决了吗 |
mask可以不用做降采样操作 image由[48,256,256]经过ResUnet会变成[48,512,512]的size 最后和mask做一个loss |
请问这个解决了吗?我也是遇到了这个问题 |
有哪位大佬知道这个问题怎么解决 |
我也遇到了这个问题 |
File "/opt/data/private/3DUNet-Pytorch-master/dataset/transforms.py", line 153, in call
img, mask = t(img, mask)
File "/opt/data/private/3DUNet-Pytorch-master/dataset/transforms.py", line 64, in call
tmp_img[:,:es-ss] = img[:,ss:es]
RuntimeError: The expanded size of the tensor (48) must match the existing size (36) at non-singleton dimension 1. Target sizes: [1, 48, 256, 256]. Tensor sizes: [36, 256, 256]
正常读入数据集,出现这样的报错是什么原因呀?
The text was updated successfully, but these errors were encountered: