SCENARIO-Data / benchmark /README.md
Hammour's picture
Initial release
f62cba0
|
Raw History Blame Contribute Delete
3.8 kB
# SCENARIO-Bench
SCENARIO-Bench is the 180-video test set of
[SCENARIO](https://github.com/Hammour-steak/SCENARIO). The pipeline that
generated it and the validator are in
[SCENARIO-Data](https://github.com/Hammour-steak/SCENARIO-Data).
## Contents
The test set has 60 sweep groups. Each group has a base video and two sweep
videos in which one object takes a lower and a higher value of its mass,
friction or restitution. One-, two- and three-object scenes each contribute 20
groups, and mass, friction and restitution are swept in 22, 19 and 19 groups.
Every video has 97 frames at 24 fps and 1280 × 720 and covers the first 4
seconds of the simulation.
```
videos/ 180 ground-truth videos and metadata.jsonl
conditions/<case_id>/
sample.json prompt, physical parameters and file paths
first_frame.png first frame shared by the group
trajectory.npz position, rotation and velocity of each object
points.npz 2,048 surface points per object over 97 frames
scene.npz object and environment surface points
background.npz depth and foreground mask of the first frame
environment.npz environment points visible in the first frame
simulation_metadata.json simulator and appearance settings
roi_plan.json object boxes and the object and contact regions
controls/<case_id>/
das/ control video for Diffusion as Shader
vace_trajectory/ tracked points for VACE trajectory control
vace_depth/ depth video for VACE depth control
sweep/
protocol.json settings of the sweep score
gt/<case_id>.npz ground-truth object centers for the sweep score
manifest.json list of cases and their sample.json files
selection.json swept parameter and value of every case
checksums.json SHA-256 of every file
```
A case ID such as `001_1obj_low` gives the group number, the object count and
the role. The low and high videos reuse the first frame, scene, background and
environment of their base video, so their `sample.json` points into the base
directory. All paths in `sample.json` are relative to `benchmark/`.
## Units and coordinates
Lengths are in meters, time in seconds, mass in kilograms and angles in radians.
Friction and restitution have no unit. The physical parameters in `sample.json`
use camera coordinates with x to the right, y up and z forward. `scene.npz` and
`points.npz` store the camera intrinsics and the camera-from-world transform,
and `image_size_px` gives the image size for pixel coordinates.
`scene.npz` holds 2,048 points with normals on the collision shape of each
moving object and 8,192 points on the static environment, each with its own
friction and restitution. `points.npz` follows the same object points through
all 97 frames, and its `valid` flag marks the points inside the image.
`background.npz` comes from the first rendered frame, and `environment.npz`
holds the environment surface points visible in it with their normals,
friction and restitution.
## Evaluation
Videos are compared at 12 fps on a common 720 × 415 view, and the 48 frames
after the first are scored. `roi_plan.json` gives the box of every object in
every frame. The object region covers the frames in which an object is visible,
and the contact region keeps the object frames within 0.25 s of a contact event
in the simulation. The `sweep/` files give the ground-truth object centers for
the [sweep score](https://github.com/Hammour-steak/SCENARIO-Data/blob/main/benchmark/SWEEP_SCORE.md).
The [evaluation guide](https://github.com/Hammour-steak/SCENARIO/blob/main/docs/EVALUATION.md)
runs and scores every method.