Saving and Exporting Image Datasets
After processing and filtering your image datasets using NeMo Curator’s pipeline stages, you can save results and export curated data for downstream use. The pipeline-based approach provides flexible options for saving and exporting your curated image data.
Saving Results with ImageWriterStage
The ImageWriterStage is the primary method for saving curated images and metadata to tar archives with accompanying Parquet files. This stage is typically the final step in your image curation pipeline.
Parameters
Output Format
The ImageWriterStage creates:
- Tar Archives:
.tarfiles containing JPEG images - Parquet Files:
.parquetfiles with metadata for each corresponding tar file - Deterministic Naming: Files named with content-based hashes for reproducibility
- Preserved Metadata: All scores and metadata from processing stages stored in Parquet files
Output Structure:
Each tar file contains JPEG images with sequential or ID-based filenames, while metadata (including aesthetic_score, nsfw_score, and other processing data) is stored in the accompanying Parquet files.
For more details on stage parameters and customization options, see the ImageWriterStage documentation and the Complete Tutorial.