stemjara's picture
Add unseen-world reserve hold-out split (miners_valid: 1,260 scenes, 210 per biome across 6 biomes, 0 entities)
da262cb verified
|
Raw History Blame Contribute Delete
3.47 kB
metadata
license: cc-by-4.0
task_categories:
  - image-to-image
  - depth-estimation
tags:
  - minecraft
  - shadows
  - raytracing
  - computer-vision
  - webdataset
pretty_name: Minecraft Vanilla & Sun Shadows (ML Subset)

Minecraft Vanilla & Sun Shadows (ML Subset)

Public ML dataset of 10,441 Minecraft scenes (1280×720) across 6 biomes (desert, forest, plains, snowy_plains, swamp, taiga) captured at 7 times of day (0, 1000, 3000, 6000, 9000, 11000, 12000), pairing default vanilla renders with ground-truth voxel-traced sun shadows (shadow.npz), depth (depth.npz), per-pixel block IDs (blocks.npz), and screen-space shadow masks (screen_shadow.npz).

  • Main split (train + test): 9,181 scenes (minesr_atlas + minesr_test2), with all 1,319 animal-detected scenes recaptured cleanly (removeEntities: true) and re-traced.
  • Unseen-world hold-out (reserve): 1,260 scenes (210 per biome × 6 biomes, 33 disjoint 512×512 cells, 0 shared cells between biomes, 0 entities on screen) captured in a completely separate seed (miners_valid).

No third-party shader renders are redistributed in this repository; only default Minecraft vanilla frames and world-derived geometry/shadow ground truth.

Structure (WebDataset .tar shards)

data/
  train/     minesr_atlas-<biome>-<nnn>.tar
  test/      minesr_atlas-<biome>-<nnn>.tar, minesr_test2-swamp-<nnn>.tar
  reserve/   miners_valid-<biome>-000.tar       (210 scenes per biome, 6 biomes)
entradas/
  train/     screen_shadow.npz and entities.npz per scene (when available)
  test/      screen_shadow.npz and entities.npz per scene (when available)
  reserve/   screen_shadow.npz per scene (1,260 scenes)
manifest.jsonl          # Main train/test scenes (9,181)
manifest_reserve.jsonl  # Unseen-world hold-out reserve scenes (1,260)
animal_review.json      # Manual animal-cleaning annotations (5,861 scenes reviewed)
biome_review.json       # Manually audited biome-border transition locations (18 locations, 93 scenes)
entities.csv            # Automated entity-mask pixel counts per scene

Each scene inside data/<split>/*.tar contains:

  • <scene_id>.vanilla.png — Default Minecraft vanilla RGB frame (1280×720)
  • <scene_id>.depth.npz — Linear/camera depth map (depth)
  • <scene_id>.shadow.npz — World voxel-traced sun visibility (bits, first, leaves)
  • <scene_id>.blocks.npz — Per-pixel Minecraft block IDs (ids, names)
  • <scene_id>.json — Camera pose, FOV, biome, time of day, weather, split, cell

Download examples

Install the Hugging Face CLI:

pip install huggingface_hub

Download the entire dataset (~24 GB)

hf download stemjara/minecraft-shadows-ml --repo-type dataset --local-dir ./minecraft-shadows-ml

Download only the unseen-world reserve split (miners_valid, 1,260 scenes, ~2.8 GB)

hf download stemjara/minecraft-shadows-ml --repo-type dataset \
  --include "manifest_reserve.jsonl" \
  --include "*/reserve/*.tar" \
  --local-dir ./minecraft-shadows-ml

Download only a single biome (e.g. swamp or taiga)

hf download stemjara/minecraft-shadows-ml --repo-type dataset \
  --include "manifest.jsonl" --include "manifest_reserve.jsonl" \
  --include "animal_review.json" --include "biome_review.json" --include "entities.csv" \
  --include "*swamp*.tar" \
  --local-dir ./minecraft-shadows-ml