temp_loader
orchard.data_handler.diagnostic.temp_loader
¶
Temporary DataLoader for Health Checks.
Provides a lightweight DataLoader builder for quick dataset validation without requiring the full DataLoaderFactory configuration.
create_temp_loader(dataset_path, batch_size=_DEFAULT_HEALTHCHECK_BATCH_SIZE)
¶
Load a NPZ dataset lazily and return a DataLoader for health checks.
This avoids loading the entire dataset into RAM at once, which is critical for large datasets (e.g., 224x224 images).