我已经下载了cifar-10数据集,需要将其转换为RecordIO格式。如果解压缩下载的cifar-10-python.tar.gz数据集,您将看到以下内容
cifar-10-batches-py/
cifar-10-batches-py/data_batch_4
cifar-10-batches-py/readme.html
cifar-10-batches-py/test_batch
cifar-10-batches-py/data_batch_3
cifar-10-batches-py/batches.meta
cifar-10-batches-py/data_batch_2
cifar-10-batches-py/data_batch_5
cifar-10-batches-py/data_batch_1现在,我想分离出训练集的data_batch_*.bin和测试集的test_batch.bin,并将其转换为recordIO格式。
遵循本教程的link,但不确定im2rec实际上是如何工作的。
请提个建议。
发布于 2019-02-14 13:13:46
下面是使用im2rec的方法:https://mxnet.incubator.apache.org/versions/master/faq/recordio.html
或者您可以直接下载RecordIO格式的CIFAR-10:
wget http://data.mxnet.io/data/cifar10/cifar10_val.rec
wget http://data.mxnet.io/data/cifar10/cifar10_train.rechttps://stackoverflow.com/questions/54664433
复制相似问题