ImageNet21kDataLoaderOptions
Options & Configuration · AiDotNet.Data.Vision.Benchmarks
Configuration options for the ImageNet-21K data loader.
How It Works
ImageNet-21K contains ~14.2M images across 21,841 categories (the full ImageNet hierarchy). Due to its massive size, auto-download is disabled by default.
Constructors
| Constructor | Summary |
|---|---|
ImageNet21kDataLoaderOptions() |
Properties
| Property | Summary |
|---|---|
DatasetSplit Split { get; set; } |
Dataset split to load. |
bool AutoDownload { get; set; } |
Automatically download if not present. |
bool Normalize { get; set; } |
Normalize pixel values to [0, 1]. |
int ImageSize { get; set; } |
Target image size (images are resized to this square dimension). |
int? MaxClasses { get; set; } |
Number of classes to load. |
int? MaxSamples { get; set; } |
Optional maximum number of samples to load. |
string DataPath { get; set; } |
Root data path. |