You cannot directly convert a tensor in the first shape to the second one, since the number of elements is different (3000 vs. 589824), so you would have to increase the size somehow (e.g. via upsampling/interpolation, transposed convolutions etc.).