I have 3 kinds of spatial data to use as inputs. I want to simulate them as image data with 3 channels. Those data are all 5x35 size with 5000 samples.
for i in range(5000): in_x.append([x[i].reshape(35,5), delta[i].reshape(35,5), np.pad(z[i], (0,170),'wrap').reshape(35,5)])
The three types of data are x, delta and z. They were input seperately with sample size 5000.
delta=np.loadtxt('./input_delta4.out') x=np.loadtxt('./input_x4.out') z=np.loadtxt('./input_z4.out')
But I find my transfering method to be wrong.
dataiter = iter(dataloaders['train']) images, labels = dataiter.next() len(images)
This outputs a length of 5000. But it should be 3, right?
How can I fix it?