nicetoolbox.evaluation.data.loaders¶
Data loaders for evaluation module, including lazy loading and caching.
Classes
Lazily loads a single ground truth data slice from a NPZ archive. |
|
Lazily loads a single prediction data slice from a large NPZ file. |
- class nicetoolbox.evaluation.data.loaders.AnnotationLoader(path_to_annotations: Path)[source]¶
Lazily loads a single ground truth data slice from a NPZ archive. Uses an LRU cache to optimize access to internal arrays.