Flowers102DataLoaderOptions

Options & Configuration ยท AiDotNet.Data.Vision.Benchmarks

Configuration options for the Oxford Flowers-102 dataset (Nilsback & Zisserman 2008).

How It Works

Flowers-102 โ€” 102 fine-grained flower species, 8,189 images total. Standard fine-grained classification benchmark. The setid.mat file defines the canonical 1,020/1,020/6,149 train/val/test split.

Constructors

Constructor Summary
Flowers102DataLoaderOptions()

Properties

Property Summary
DatasetSplit Split { get; set; } Gets or sets which split of the dataset is loaded.
bool AutoDownload { get; set; } Gets or sets whether the dataset is downloaded into the data directory when it is not there.
bool Normalize { get; set; } Gets or sets whether pixel values are scaled to [0, 1].
int ImageSize { get; set; } Gets or sets the side length, in pixels, images are resized to.
int? MaxSamples { get; set; } Gets or sets the most samples loaded; null loads the whole split.
string DataPath { get; set; } Gets or sets the dataset root directory; null uses the default data directory for this dataset.

Methods

Method Summary
void Validate() Validates that all option values are within acceptable ranges.