RuntimeError: expand(torch.FloatTensor{[3, 148, 148]}, size=[]): the number of sizes provided (0) must be greater or equal to the number of dimensions in the tensor (3)

RuntimeError: expand(torch.FloatTensor{[3, 148, 148]}, size=[]): the number of sizes provided (0) must be greater or equal to the number of dimensions in the tensor (3)