← Back to project

Articulated Assets · Harness v5 setup

Current main of art-objaverse-harness (e47ddb3) · setup, shared batches, delivery, trajectory saving · 2026-11-18
harness v5setupdeliverytrajectoriesMJCF

TL;DR

One reference photo → one articulated asset. GPT-6.1 Sol builds it in bare Blender and delivers build.py + model.blend + an MJCF; 10 physics checks + a photo reviewer gate it; at most 2 repair rounds in the same session. Repo: github.com/weikaih04/art-objaverse-harness (private, main = v5 only).
New on 2026-11-18: every asset keeps its own Codex sessions in sessions/ (copied after each model call), and tools/v5_export.py delivers accepted assets, failed assets and full trajectories in one verified tree. Tested end to end on a real asset.
Runs made before 2026-11-18 have their trajectories only in ~/.codex/sessions: do not delete it; v5_export.py --orphans recovers them even after the run folders are gone.

1 · Pipeline

Repairs resume the same Codex session, so the model keeps its context and the photo. The asset's best-scoring round becomes final/, accepted or not.

2 · Setup on a new machine

componentwhathow
repomain of art-objaverse-harness (private: needs collaborator access)git clone https://github.com/weikaih04/art-objaverse-harness.git
Blender 4.5generation, baking, renders (CPU)on PATH as blender, or V5_BLENDER=/path/to/blender
Codex CLIruns generator, reviewer, judgecodex on PATH, logged in; CODEX_HOME (default ~/.codex) on a disk that is not wiped
physics envmjcheck: mujoco 3.16.0, trimesh 4.12.2, … (Python 3.11)bash tools/setup_physics_env.sh → .venv-physics/, runs the tests
driver PythonPython 3 with pillowany; PYTHON=… for run_batch.sh
photos125,131 photos, 25 GBhf download weikaih/louvre-photos + images/louvre_refs.py → ./refs_louvre (or V5_REFS)
taxonomydata/taxonomy_v2.2.jsonin the repo
git clone https://github.com/weikaih04/art-objaverse-harness.git && cd art-objaverse-harness
bash tools/setup_physics_env.sh                       # .venv-physics + tests
pip install -U huggingface_hub pyarrow pillow
hf download weikaih/louvre-photos --repo-type dataset --local-dir louvre_hf
python images/louvre_refs.py louvre_hf refs_louvre --max-per-class 1   # or every photo (25 GB)
python -m v5.run_asset --category storage.toolbox --image 1 --out runs/test/storage.toolbox_01   # smoke test

3 · Shared batches and the progress log

tools/run_batch.sh 3 alice          # claim batch 03, generate photo 00 of each of its ~170 classes
tools/run_batch.sh 3 alice 2        # later: photos 00 and 01 (finished assets are skipped)
python tools/v5_progress.py board   # who runs what, how far, what it cost
python tools/v5_progress.py existing --owner bob runs/my_old_run   # register assets made before the batches
Batches 08–15 run by haoquanf-art: 77–91% acceptance per batch, about $3.4 per accepted asset. The board was last pushed 2026-11-11, so it lags the real runs.

4 · What an asset run folder holds

pathwhatsize
state.jsonstatus (accepted / failed / error), best round, costs, every eventKB
final/copy of the best round: asset/ with the deliverables~20–100 MB
rounds/rNN/the asset as it was at each evaluation×rounds
check_rNN/report.json, review_rNN.jsonphysics report and review of each roundKB
sessions/ (new)every Codex session: generator__…, reviewer__…, judge__…~25 MB
trace.jsonlthe harness's event stream of the generator turns0.1–0.4 MB
ws/, render_*/, tools/workspace, renders, in-session tool resultsmost of the folder

5 · Delivery: export, verify, upload

git pull
python tools/v5_export.py export runs/batch_08 runs/batch_09 --dry-run   # what, and how big
python tools/v5_export.py export runs/batch_08 runs/batch_09             # writes ./export + manifest.json
python tools/v5_verify_export.py export                    # SHA-256 of every file, required files, MuJoCo loads
python tools/v5_verify_export.py export --physics --blend  # rerun the gate (compute node)
cd export && for b in batch_*; do zip -qr0 ../$b.zip $b failed/$b trajectories/$b 2>/dev/null; done
# upload batch_NN.zip + manifest.json + README.txt to one Google Drive folder; keep the runs until we confirm
One command per batch; --orphans adds the sessions of run folders that were already deleted.
Per asset the export is ~47 MB (deliverables + trajectory) instead of ~345 MB; 8,000 assets ≈ 400–500 GB. Measured on the 20-asset pilot run (18 accepted, 2 failed).

6 · Trajectory saving (new) and its test

test (storage.toolbox, photo 01)result
run652 s, $0.63, accepted at r01 (1 repair round)
sessions copied8 / 8: 1 generator (14.3 MB), 2 reviewer, 5 judge (~1.5 MB each)
copies vs Codex's filesbyte-identical (cmp)
generator session content42 tool calls + outputs, 20 messages, 40 reasoning items (encrypted)
export with an empty CODEX_HOME (simulated wipe)full trajectory exported from the run folder (8 sessions, 25.7 MB); verify 1/1 OK
export of the 20-asset pilot from CODEX_HOME only193 sessions matched; 18 accepted + 2 failed exported; verify 18/18 OK, 0 file problems
The generator called tools/check 5× and tools/judge 5× before finishing; each judge call and each round review is its own Codex session, all kept in sessions/.

7 · Open items

Numbers measured 2026-11-18 on main e47ddb3 (pilot run v5_batch20 and one fresh test asset); progress snapshot from the progress branch as last pushed 2026-11-11.