--- pretty_name: PhysFix license: other license_name: physfix-mixed license_link: LICENSE.md task_categories: - video-classification tags: - video-generation - image-to-video - physics - physical-plausibility - synthetic - blender size_categories: - 1K`. | Path | Contents | |---|---| | `manifest_formal.json` | the 1,260 scenes: template, scene parameters (`scene`), prompt, seed, SAM2 click points, geometry | | `split_formal.json` | split of the 1,260 planned scenes (train 860 / val 125 / test 275) and the generation order | | `subset_ids.txt` | the 1,000 scenes of the formal set (validation, test and the first 600 training scenes) | | `test_keys.txt` | the 550 test clips (`gen/id`) | | `ff/` | first frames (Blender, 768 x 768 PNG) with `MD5SUMS.txt` | | `plates/`, `rests/` | empty-scene plates (275) and block rest poses (110 PNG + JSON) of the test scenes, used by the repair; each with `MD5SUMS.txt` | | `gen/cosmos//`, `gen/wan22//` | the generated clip `.mp4` with `meta.json` (settings, versions, GPU) and the prompt (`prompt.txt`; Cosmos also `prompt.json`) | | `label/lab480/{cosmos,wan22,blender}/` | 480 x 480 versions (1,260 / 1,000 / 1,000), used for labelling and as input of the speed measurement, J-B, Gemini and the repair | | `labels/LAB_final.json` | the frozen labels, `"gen/id": "error" / "ok" / "unusable"` (md5 `711a0214...`) | | `tracks/{cosmos,wan22,blender}/` | SAM2.1 tracks (`.npz`, index `tracks.json`; for the generated clips also contact sheets in `sheets/`) | | `signals/` | `rule_geo` and speed measurements of the validation and test clips | | `manifest_jb.json`, `split_jb.json`, `jb_render_order.txt` | J-B: the formal manifest and split plus the 140 extra training-only scenes (`x_...`), and the 1,000 training scenes rendered as correct videos | | `jb_render/` | render metadata of the 1,000 correct videos (`meta/`) and 599 of their 768 x 768 raw renders (`raw/blender/`); the 480 x 480 versions and tracks of all 1,000 are in `label/lab480/blender/` and `tracks/blender/` | | `jb/` | J-B data and outputs: `LAB_jb.json` (the labels plus the renders as "ok"), `judge_select_jb.json` (chosen epoch and threshold), `method_jb_{test,pilot,repaired}.json`, scores in `judge_scores/`, and the judge inputs with their LLaMA-Factory JSON: `judge_data_real.tar` (labelled clips, train / val / test), `judge_pilot120.tar`, `judge_repaired.tar` | | `models/jb_judge/checkpoint-{136,272,408}/` | the J-B LoRA adapter after epochs 1, 2 and 3 (adapter, tokenizer and processor files, `trainer_state.json`) | | `baselines/` | T3 rules, A arm and zero-shot Qwen3-VL-8B on the test clips (`det_test_reports.tgz`: one `report.json` per method and clip; `det_test_{cosmos,wan22}.tgz`: their full outputs; `det_A_rerun_reports.tgz`: the A-arm re-run) and Gemini 3.8 Flash (`gemini_test.jsonl`; md5 of its input clips in `gemini_in_md5.txt`) | | `repair_test/` | the 550 repaired test clips (`rep_test1031///`: `repaired.mp4`, `repair.json`, `side.mp4` with the original and the repair side by side, and `repaired_raw.mp4`; `summary_all.json`), the repair dumps (`rep_test1031_dump/`), the automatic checks (`checks_rep_test1031.json`, `checks_rep_test1031_summary.txt`, `checks_rep_test1031_viz/`, `f1_rep_test1031.json`, `speed_rep_test1031.json`), and the SAM2 tracks (`tracks_rep/`) and `rule_geo` (`rule_geo_repaired.json`) of the repaired clips | | `results/` | the analysis: `analysis_inputs/`, `analysis_test/` (detection tables), `analysis_A_rerun/`, `analysis_pilot/`, `blind_pairs/` (the 150 pairs, page items and stimuli in `v/`), `blind_test/` (answers, analysis and end-to-end coverage) | | `pilot/` | the pilot set: `manifest.json`, first frames and scene files (`ff/`), clips (`gen/`), plates, tracks, rest poses (`rests_1025.tar`), `rule_geo_1025.json`, `speed_pilot.json`, baseline outputs (`det_1025.tgz`), labels (`LAB_pilot_1025.json`), the repair (`repair_pilotM_1026.tar`) and contact sheets | | `env/` | environment records (pip freeze, nvidia-smi) of the generation, judge-training, tracking and baseline runs | ## Labels One annotator labelled every clip on the labelling page (generator hidden, random order), with one question and three answers. "Error" means any visible violation by the named object (vanishing or duplicating, jumps, wrong trajectories, hovering or floating, interpenetration, shape or colour changes, and so on); speed is not judged by eye. "Unusable" covers a moving camera, an object that is not drawn or already changed in frame 1, an object leaving the frame after a normal landing, a block that never moves, and a damaged floor or ramp. The labels were checked in several rounds and frozen before the detection analysis. In one of these rounds, 81 clips were set to "unusable" in an AI-assisted check authorised by the annotator (before: 71 error, 8 ok, 2 unusable; reasons: moving camera 36, object missing 19, damaged floor or ramp 16, block never moves 10). | | error | ok | unusable | total | |---|---|---|---|---| | Cosmos 3 Nano | 1,005 | 24 | 1 | 1,030 | | Wan 2.2 TI2V-5B | 813 | 14 | 173 | 1,000 | | **All** | **1,818** | **38** | **174** | **2,030** | The pilot set was labelled earlier under looser rules (error 105 / ok 14 / unusable 1). ## Using the files - Download everything, or only some folders: ```python from huggingface_hub import snapshot_download snapshot_download("ee123506/PhysFix", repo_type="dataset", local_dir="physfix_data") snapshot_download("ee123506/PhysFix", repo_type="dataset", local_dir="physfix_data", allow_patterns=["labels/*", "split_formal.json", "test_keys.txt", "label/lab480/*"]) ``` - In `manifest_formal.json`, `manifest_jb.json` and `pilot/manifest.json` the `first_frame` paths are relative (`ff/.png`); nothing else in the manifests was changed (original md5: formal `ea5170cf...`, J-B `5ca25426...`, pilot `712d1605...`). The 140 `x_` scenes have no rendered first frame: they are only used for correct videos. - `run_repair_chunks.sh` reads the 480 x 480 test clips and their tracks from `$W/gemini_in//.mp4` and `$W/tracks_test//.npz`; these are the same files as in `label/lab480/` and `tracks/` (checked by md5). - J-B: `scripts/formal/score_judge.py --model --adapter models/jb_judge/checkpoint-408` scores judge data made by `build_judge_data.py` (for example the extracted `jb/judge_data_real.tar` with `--data judge_data_real --split test`). The base model is `Qwen/Qwen3-VL-8B-Instruct` at revision `0c351dd01ed87e9c1b53cbc748cba10e6187ff3b`. The score is the log-odds of `has_error = true`; the threshold is 1.125 (`jb/judge_select_jb.json`). - The blind A/B answers are anonymised (rater `rater_1`); `results/blind_pairs/pairs.json` is the answer key. ## Not included - The weights of the generators, SAM2.1 and Qwen3-VL-8B (download them from Hugging Face as described in the code README), and the A-arm adapter from the project's earlier phase (its outputs are in `baselines/`). - The raw exports of the labelling and A/B pages (they contain the annotator's notes and browser IDs), run logs, earlier development runs and copies of the code. ## Licences See `LICENSE.md`. The generated clips are outputs of NVIDIA Cosmos 3 Nano and Wan 2.2 TI2V-5B, and the J-B adapter is trained from Qwen3-VL-8B-Instruct; their use is subject to the licences of those models (see their model cards). The other files were made for the course project. ## Citation ``` COMP5703 Capstone, group CS21 (2026). PhysFix: detecting and repairing physics errors in AI-generated videos. The University of Sydney. ```