rpudlWriteLMDB {rpud} | R Documentation |
Export CIFAR
and MNIST
data sets to LMDB
.
rpudlWriteLMDB(
data.source,
prefix = "rpudl",
...,
log.level = 1
)
data.source |
An S3 object that inherits the class |
prefix |
Prefix of the training and testing LMDB databases. For the default prefix "rpudl", the training database would be "rpudl_train_lmdb", and the testing database would be "rpudl_test_lmdb". The directories must not exists beforehand. They will be located in the same path folder as the data set. |
... |
further arguments to be passed to or from methods |
log.level |
level of the method output (0 = silent, 1 = basic output, 2 = detailed output) |
Chi Yau
chi.yau@r-tutor.com
rpudlCreateDataSource
## Not run:
ds <- rpudlCreateDataSource(
data.format="mnist",
data.dir="data/mnist"
)
rpudlWriteLMDB(ds, prefix="mnist-official-data")
## End(Not run)