PubLayNetDataLoaderOptions
Options & Configuration · AiDotNet.Data.Vision.Benchmarks
Configuration options for the PubLayNet document layout analysis data loader.
How It Works
PubLayNet contains ~360K document images with layout annotations (text, title, list, table, figure). Standard benchmark for document layout analysis.
Constructors
| Constructor | Summary |
|---|---|
PubLayNetDataLoaderOptions() |
Properties
| Property | Summary |
|---|---|
DatasetSplit Split { get; set; } |
Dataset split to load. |
bool AutoDownload { get; set; } |
Automatically download if not present. |
int ImageHeight { get; set; } |
Image height after resizing. |
int ImageWidth { get; set; } |
Image width after resizing. |
int MaxRegions { get; set; } |
Maximum number of layout regions per image. |
int NumClasses { get; set; } |
Number of layout classes (text, title, list, table, figure). |
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. |