whoi_small_coralnet_dataset: Coralnet Dataset

whoi_small_coralnet_datasetR Documentation

Coralnet Dataset

Description

Small Coralnet dataset is an image classification dataset of very large submarine coral reef images annotated into 3 classes and produced by CoralNet, a resource for benthic images classification.

Usage

whoi_small_coralnet_dataset(
  split = "val",
  transform = NULL,
  target_transform = NULL,
  download = FALSE
)

Arguments

split

One of "train", "val", or "test". Default is "val".

transform

Optional. A function that takes an image and returns a transformed version (e.g., normalization, cropping).

target_transform

Optional. A function that transforms the label.

download

Logical. If TRUE, downloads the dataset to ⁠root/⁠. If the dataset is already present, download is skipped.

See Also

Other classification_dataset: caltech_dataset, cifar10_dataset(), eurosat_dataset(), fer_dataset(), fgvc_aircraft_dataset(), flowers102_dataset(), image_folder_dataset(), lfw_dataset, mnist_dataset(), oxfordiiitpet_dataset(), places365_dataset(), tiny_imagenet_dataset(), whoi_plankton_dataset()


torchvision documentation built on Nov. 6, 2025, 9:07 a.m.