benf22's picture
Add paper_eval/ annotated-clip labels (det-all/det-ratio reproduction)
0bba258 verified
|
Raw History Blame Contribute Delete
1.87 kB

paper_eval β€” annotated clips for the headline table

Per-(clip, object) detector labels for the paper's Β§1 four-method comparison, so you can reproduce the object-presence table without a GPU, a model, or the detectors β€” just aggregate the labels:

python -m will_it_render.evaluation.paper_table          # prints det-all / det-ratio, per-k + avg

(or score a single arm with python -m will_it_render.evaluation.run --labels wan_ours.csv.)

Files

<backbone>_<method>.csv for backbone ∈ {wan, ltx, cogvideox} and method ∈ {unsteered, ae, ours} β€” the three methods whose numbers are a direct aggregate of one labels file. (Best-of-N is a selection protocol over N seeds, not a single-file aggregate β€” see will_it_render.evaluation.baselines.best_of_n.)

Columns: prompt_idx, prompt, extraction_dir, object_name, n_objects, label.

  • extraction_dir β€” one clip (video) per distinct value; it is the clip key for aggregation (paths are relative β€” the original absolute locations are stripped).
  • n_objects β€” the clip's object count k (used for the per-k breakdown).
  • label β€” GRiT+GDINO+OWL majority vote: 1 present, 0 absent, -1 tie/uncertain.

How the numbers are computed (rule C)

The paper's rule C drops the entire clip when any of its objects is a tie (-1), then reports det-all / det-ratio averaged over k with each k weighted equally. This clip-level tie drop is what paper_table.py implements; note it differs from metrics_utils' row-level default (which drops only the -1 row and keeps the rest of the clip). tests/test_paper_table.py asserts every cell matches the published value.

Labels generated with the rgbfix + rule-C detection protocol (GRiT+GDINO+OWL @0.15, PIL-negation fix). Source experiment: 2026_11_02_STEER_EVAL_baseline_4method_3bb.