Open xiachashuanghua opened 1 month ago
Could you teach me how to reproduce this code? I didn't quite understand how the data is processed and where it needs to be placed. If you could teach me, I would be very grateful.
hey sorry for the delayed response, got caught up with a lot of work. and I think the issue is a simple fix. the shapes should be [B, C, H, W] however you have [8, 1, 512, 512, 3] there's an extra dimension being added there. if this is persisting, maybe perform a .squeeze() operation on the tensor to fix the shape issues. It's probably happening inside the data loader where you have an extra dimension.