-
Notifications
You must be signed in to change notification settings - Fork 693
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Training input dimensions #29
Comments
format is (batch, channel, height, width) also called |
@Newmu |
Let me add a little more, though several years passed,wish it can help someone . img_path1 = "../image/1.jpg" f = h5py.File('../hdf5/dataset.hdf5', mode='w') image_features.dims[0].label = 'batch' |
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?
The text was updated successfully, but these errors were encountered: