Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

torchdatasets (version 0.3.1)

bird_species_dataset: Bird species dataset

Description

Downloads and prepares the 450 bird species dataset found on Kaggle. The dataset description, license, etc can be found here.

Usage

bird_species_dataset(root, split = "train", download = FALSE, ...)

Value

A torch::dataset() ready to be used with dataloaders.

Arguments

root

path to the data location

split

train, test or valid

download

wether to download or not

...

other arguments passed to torchvision::image_folder_dataset().

Examples

Run this code
if (torch::torch_is_installed() && FALSE) {
birds <- bird_species_dataset("./data", token = "path/to/kaggle.json",
                              download = TRUE)
length(birds)
}

Run the code above in your browser using DataLab