torchdatasets: 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.

Getting started

Package details

AuthorTomasz Kalinowski [ctb, cre], Daniel Falbel [aut, cph], RStudio [cph]
MaintainerTomasz Kalinowski <tomasz@posit.co>
LicenseMIT + file LICENSE
Version0.3.2
URL https://mlverse.github.io/torchdatasets/ https://github.com/mlverse/torchdatasets
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("torchdatasets")

Try the torchdatasets package in your browser

Any scripts or data that you put into this service are public.

torchdatasets documentation built on April 29, 2026, 9:07 a.m.