[英]how to read .hdf5 datafile as input to a convolutional neural network?
I have saved my large array of images and their labels in HDF5 format using this link: Saving and loading a large number of images (data) into a single HDF5 file which gives me following keys.我已使用此链接以 HDF5 格式保存了大量图像及其标签: 将大量图像(数据)保存并加载到单个 HDF5 文件中,该文件为我提供了以下键。
list of datasets:数据集列表:
['test_img', 'test_labels', 'train_img', 'train_labels', 'train_mean', 'val_img', 'val_labels']
Now, I want to provide training data
and training labels
to a convolutional neural network (VGG-16 or ResNet) for training purpose and also want to validate and test my result using CNN.现在,我想向卷积神经网络(VGG-16 或 ResNet)提供training data
和training labels
以进行训练,并且还想使用 CNN 验证和测试我的结果。 How can I input my data from HDF5 file into CNN?如何将 HDF5 文件中的数据输入 CNN?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.