I tried removing the unsqueeze(0) but then got this error:
RuntimeError: Given groups=1, weight[64, 3, 3, 3], so expected input[16, 1024, 1024, 3] to have 3 channels, but got 1024 channels instead

can anyone help with this error please