ImageNet1kDataLoaderOptions
Options & Configuration · AiDotNet.Data.Vision.Benchmarks
Configuration options for the ImageNet-1K (ILSVRC 2012) data loader.
How It Works
ImageNet-1K contains ~1.28M training images and 50K validation images across 1,000 object categories. Due to its large size (~150GB), auto-download is disabled by default. Provide the data path to your local copy of the dataset.
Constructors
| Constructor | Summary |
|---|---|
ImageNet1kDataLoaderOptions() |
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? MaxSamples { get; set; } |
Optional maximum number of samples to load. |
string DataPath { get; set; } |
Root data path. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Validates that all option values are within acceptable ranges. |