CelebADataLoaderOptions
Options & Configuration · AiDotNet.Data.Vision.Benchmarks
Configuration options for the CelebA face attributes data loader.
How It Works
CelebA contains ~200K celebrity face images with 40 binary attribute annotations. Standard benchmark for face attribute prediction and generation.
Constructors
| Constructor | Summary |
|---|---|
CelebADataLoaderOptions() |
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 ImageHeight { get; set; } |
Image height after resizing. |
int ImageWidth { get; set; } |
Image width after resizing. |
int NumAttributes { get; set; } |
Number of binary face attributes. |
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. |