dcgan_code icon indicating copy to clipboard operation
dcgan_code copied to clipboard

Training input dimensions

Open ch3njust1n opened this issue 7 years ago • 2 comments

I'm trying to create my own dataset. What's the order of the dimensions of the input tensor? Is it (batch_size, channels, height, width), (batch_size, height, width, channels), (batch_size, height * width * channels, 1), or something different? I'm having a lot of trouble creating the hdf5 file. Anyone else have any luck?

ch3njust1n avatar Nov 27 '16 20:11 ch3njust1n

format is (batch, channel, height, width) also called bc01 in theano docs.

Newmu avatar Nov 28 '16 07:11 Newmu

@Newmu If I follow the example (http://fuel.readthedocs.io/en/latest/h5py_dataset.html) for creating a HDF5 dataset, will that do the trick for training on new data or are there other things I should be aware of?

ch3njust1n avatar Nov 29 '16 02:11 ch3njust1n