ImageFolderDatasetOptions
Options & Configuration · AiDotNet.Data.Vision
Configuration options for the ImageFolderDataset.
Constructors
| Constructor | Summary |
|---|---|
ImageFolderDatasetOptions() |
Properties
| Property | Summary |
|---|---|
DatasetSplit Split { get; set; } |
Dataset split to load. |
bool NormalizePixels { get; set; } |
Whether to normalize pixel values to [0, 1]. |
bool Recursive { get; set; } |
Whether to search subdirectories recursively. |
int Channels { get; set; } |
Number of color channels. |
int ImageHeight { get; set; } |
Target image height in pixels. |
int ImageWidth { get; set; } |
Target image width in pixels. |
int? MaxSamples { get; set; } |
Optional maximum number of samples to load. |
int? RandomSeed { get; set; } |
Optional random seed for reproducible sampling. |
string RootDirectory { get; set; } |
Root directory containing class subdirectories. |
string[] Extensions { get; set; } |
File extensions to include. |