SvhnDataLoaderOptions
Options & Configuration · AiDotNet.Data.Vision.Benchmarks
Configuration options for the SVHN (Street View House Numbers) loader (Netzer et al. 2011).
How It Works
SVHN Format-2 (cropped digits) — 32×32 RGB digit classification, 73,257 train + 26,032 test + 531,131 extra. The “harder than MNIST” baseline, used widely for early CNN comparison studies and SSL ablations.
Constructors
| Constructor | Summary |
|---|---|
SvhnDataLoaderOptions() |
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 IncludeExtra { get; set; } |
Include the 531k “extra” samples in the train split. |
bool Normalize { get; set; } |
Gets or sets whether pixel values are scaled to [0, 1]. |
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. |