Ade20kDataLoaderOptions

Options & Configuration · AiDotNet.Data.Vision.Benchmarks

Configuration options for the ADE20K semantic segmentation data loader.

How It Works

ADE20K contains ~25K images with per-pixel semantic annotations across 150 categories. Standard benchmark for semantic segmentation models.

Constructors

Constructor Summary
Ade20kDataLoaderOptions()

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 NumClasses { get; set; } Number of semantic classes.
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.