Hi, I am a newbie and I am trying to train using the MRI2D dataset. My data set has saved 2D slices in a matrix form with the shape [500, 3, 64, 64]. When using the dataloader, I got an error: Expected 4-dimensional input for 4-dimensional weight 64 3 3 3 but got 5-dimensional input of size [4, 500, 3, 64, 64] instead.
What should I do? 500 is the number of 2Dmri pictures, and 3 is the number of channels.
I found that it reads the 4D dataset and batches it, adding a latitude. That’s why there are 4 more. What should I do to make a batch in my 500

11C3940C-EF39-43F9-BF97-BE1473B8B71F777×140 18.9 KB