In this article
A recognizable EXR header or a visible filename does not prove that all image data has been written.
File existence is an early signal
A GPU rendering job may create its output file before all pixels are available. A directory watcher that treats a new filename as a finished sample can race the writer or ingest an interrupted result. Define a completion boundary between rendering and dataset registration. The queue’s notion of job success and the storage system’s visibility rules should be part of that boundary rather than inferred from a file appearing in a folder.
Distinguish identification from completeness
The OpenEXR I/O guide distinguishes identifying the format from checking completeness. Its completeness mechanism can report missing scanlines or tiles without requiring an ordinary full image-processing pass. A valid signature only indicates a recognizable container beginning. Do not use a header probe or filename extension as a substitute for checking that the requested output has actually finished writing the image data needed by the dataset.
Understand what remains after interruption
The file-layout documentation describes headers, offset tables and pixel-data chunks. These structures explain why a file can be identifiable while some image data is absent. Avoid hand-crafted repair assumptions based solely on file length, since compression and storage modes vary. Prefer supported readers and producer completion signals, and keep interrupted artifacts separate from accepted samples so retries cannot accidentally reuse an apparently existing but unfinished output.
Decode and validate the intended sample
The Python module documentation explains reading parts, headers and arrays. Even a complete, decodable file can have the wrong view, dimensions or channels for a specific learning task. Perform those semantic checks after the structural acceptance step. Completeness does not establish correct geometry, intended sampling or trustworthy labels. Conversely, a visually plausible preview cannot establish that every required full-resolution pass has been written and can be loaded by training.
Publish only after acceptance
Write to a staging location, close the producer, check the output and register the accepted sample through a documented publication step. If relying on atomic rename, verify that the relevant filesystem and destination support that guarantee. The guides to deployment progress deadlines and dataset annotation identity provide related context. Keep retry identity and acceptance results with the sample so recovery distinguishes completed artifacts from partial files instead of making that decision from their names.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.