hi @ptrblck , but what if I have 2 tensors , let’s say Image with size (batch,55,224,224) and (batch,34,224,224), lets name it T1 and T2.
I want to concatenate the tensor in the channels dimension, means an output of (batch,89,224,224).
And it should be a regular concatenation .
I tried torch.cat((t1,t2),3) and got runtime error:invalid argument 0: Sizes of tensors must match except in dimension 3. Got 55 and 34 in dimension 1 at /pytorch/aten/src/TH/generic/THTensor.cpp:612
Please help me with the above problem!
thanks!