Ready to Use Extra Datasets for Torch

Provides datasets in a format that can be easily consumed by torch 'dataloaders'. Handles data downloading from multiple sources, caching and pre-processing so users can focus only on their model implementations.


torchdatasets

R-CMD-check CRAN status

torchdatasets provides ready-to-use datasets compatible with the torch package.

Installation

The released version of torchdatasets can be installed with:

install.packages("torchdatasets")

You can also install the development version with:

remotes::install_github("mlverse/torchdatasets")

Datasets

Currently, the following datasets are implemented:

Dataset Domain Type Authentication
bird_species_dataset() Images Classification Not required
dogs_vs_cats_dataset() Images Classification Not required
guess_the_correlation_dataset() Images Regression Not required
cityscapes_pix2pix_dataset() Images Segmentation Not required
oxford_pet_dataset() Images Segmentation Not required
bank_marketing_dataset() Tabular Classification Not required
imdb_dataset() Text Classification Not required
spam_dataset() Tabular Classification Not required

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("torchdatasets")

0.3.2 by Tomasz Kalinowski, 6 months ago


https://mlverse.github.io/torchdatasets/, https://github.com/mlverse/torchdatasets


Report a bug at https://github.com/mlverse/torchdatasets/issues


Browse source code at https://github.com/cran/torchdatasets


Authors: Tomasz Kalinowski [ctb, cre] , Daniel Falbel [aut, cph] , RStudio [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports torch, fs, zip, pins, torchvision, stringr, withr, utils

Suggests testthat, readr, coro, tokenizers, R.matlab


See at CRAN