← All notes

Prepare depth estimation datasets

Short answer

Apply the same spatial augmentation to both (for example with Albumentations) through set_transform() so it runs on the fly per batch. [S1][S2]

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted).

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Hugging Face (datasets docs), Depth estimation · Hugging Face, Apache-2.0 (huggingface/datasets docs); Hugging Face (datasets docs), Process image data · Hugging Face, Apache-2.0 (huggingface/datasets docs).

Cite this

Permanent ID: iil:note:ze2019xt

iinventedlight. 2026. "Prepare depth estimation datasets." iinventedlight Library, iil:note:ze2019xt, version of 2026-11-04. https://iinventedlight.com/library/notes/hf-datasets-depth-estimation/. License: CC-BY-4.0.

@misc{iil_note_ze2019xt,
  author = {{iinventedlight}},
  title = {{Prepare depth estimation datasets}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-04},
  url = {https://iinventedlight.com/library/notes/hf-datasets-depth-estimation/},
  note = {Permanent ID iil:note:ze2019xt. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com.

For language models and agents: start at /llms.txt. This page in Markdown: /library/notes/hf-datasets-depth-estimation.md.