TransUNet icon indicating copy to clipboard operation
TransUNet copied to clipboard

RuntimeError: Sizes of tensors must match except in dimension 1.

Open venshow-w opened this issue 3 years ago • 3 comments

img_size=512, grid_size=(16,16) x = torch.cat([x, skip], dim=1) RuntimeError: Sizes of tensors must match except in dimension 1. Expected size 32 but got size 64 for tensor number 1 in the list.

venshow-w avatar Oct 28 '21 11:10 venshow-w

i have same questions

evilvlso avatar Oct 30 '21 12:10 evilvlso

Excuse me, Do you know the images processing. Can you share your code?

Pursuit-dh avatar Nov 11 '21 07:11 Pursuit-dh

很奇怪,这个所以图像大小应该是多少呢?

Yuan1z0825 avatar Mar 04 '24 12:03 Yuan1z0825