ZiyangYe commited on
Commit
7f3f1c8
·
verified ·
1 Parent(s): 102c08d

Add the player detector of Rendered and Unmatched (AGPL-3.0) and its card section

Browse files
Files changed (2) hide show
  1. README.md +36 -2
  2. detector/yolo11x_cs2_player.pt +3 -0
README.md CHANGED
@@ -50,6 +50,7 @@ of the release: the final 4-step model first, with everything the inference code
50
  | `depth_head.safetensors` | picture depth head of the scene state (depth of each generated block) | fp32 | 176.8 MB | `ab599fcd68115142cf3b946e147f3cb89465d0b389371cc3501e1eb3101f6e76` |
51
  | `depth_readout.safetensors` | read-out of the depth head | fp32 | 833.4 kB | `6994480d726b7e958f519e835fa306b7045cfb19171ade4aebcb594a67ccd873` |
52
  | `fixed_prompt_umt5xxl_bf16.safetensors` | umT5-XXL embedding of the fixed prompt (the client then skips the 11 GB text encoder) | bf16 | 4.2 MB | `a4157803a2c381835b219c079b7d811b7950c3fb2c47741d4552b7bba37cbd0a` |
 
53
  | `config.json` | the release's description: the weight files by the `paths` key of the inference code, and the base model with its pinned revision | - | 0.5 kB | |
54
  | `examples/` | inputs and expected videos of six recorded rounds (`examples/run.sh` of the code); listed in `examples/manifest.json` of the code | - | 201.6 MB | |
55
 
@@ -69,12 +70,45 @@ This fetches the inference files above, plus the Wan2.2 VAE, tokenizer and `conf
69
  `Wan-AI/Wan2.2-TI2V-5B`, and writes `weights/paths.yaml`. Running a session, the examples, and the
70
  options of the download: see the [code repository](https://github.com/Ziyang-Ye/WorldCast).
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  ## License and attribution
73
 
74
- - The WorldCast weights are released under the Apache License 2.0.
 
 
 
75
  - They are fine-tuned from [Wan2.2-TI2V-5B](https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B) (Apache License 2.0).
76
  - Training data: the [OpenCS2 dataset](https://huggingface.co/datasets/blanchon/opencs2_dataset)
77
- ([CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)). The files under `examples/` are derived from it.
 
78
  - The model renders Counter-Strike 2 game content and is intended for research. Counter-Strike 2 is a trademark of
79
  Valve Corporation; this work is not affiliated with or endorsed by Valve.
80
 
 
50
  | `depth_head.safetensors` | picture depth head of the scene state (depth of each generated block) | fp32 | 176.8 MB | `ab599fcd68115142cf3b946e147f3cb89465d0b389371cc3501e1eb3101f6e76` |
51
  | `depth_readout.safetensors` | read-out of the depth head | fp32 | 833.4 kB | `6994480d726b7e958f519e835fa306b7045cfb19171ade4aebcb594a67ccd873` |
52
  | `fixed_prompt_umt5xxl_bf16.safetensors` | umT5-XXL embedding of the fixed prompt (the client then skips the 11 GB text encoder) | bf16 | 4.2 MB | `a4157803a2c381835b219c079b7d811b7950c3fb2c47741d4552b7bba37cbd0a` |
53
+ | `detector/yolo11x_cs2_player.pt` | the player detector of the paper's Rendered and Unmatched metrics: Ultralytics YOLO11x fine-tuned on OpenCS2 frames; **AGPL-3.0** ([Player detector](#player-detector)) | - | 114.4 MB | `ac2bba62f3a1192c4d465409204014f3168c1b0bd90fafae6a9d34d708197d94` |
54
  | `config.json` | the release's description: the weight files by the `paths` key of the inference code, and the base model with its pinned revision | - | 0.5 kB | |
55
  | `examples/` | inputs and expected videos of six recorded rounds (`examples/run.sh` of the code); listed in `examples/manifest.json` of the code | - | 201.6 MB | |
56
 
 
70
  `Wan-AI/Wan2.2-TI2V-5B`, and writes `weights/paths.yaml`. Running a session, the examples, and the
71
  options of the download: see the [code repository](https://github.com/Ziyang-Ye/WorldCast).
72
 
73
+ ## Player detector
74
+
75
+ `detector/yolo11x_cs2_player.pt` is the detector behind the paper's entity criterion (**Rendered** and
76
+ **Unmatched**): Ultralytics YOLO11x fine-tuned to find players in first-person Counter-Strike 2 frames.
77
+ `python tools/download_weights.py --out-dir weights --with-metrics` fetches it with the other weights of the paper's
78
+ metrics, and `tools/evaluate_paper.py` scores with it.
79
+
80
+ ```python
81
+ from ultralytics import YOLO
82
+
83
+ model = YOLO("yolo11x_cs2_player.pt")
84
+ results = model.predict(frames_bgr, conf=0.05, imgsz=1280, classes=[0])
85
+ ```
86
+
87
+ The paper's scores run it with confidence 0.05, image size 1280 and its one class (`0: player`), on BGR frames, with
88
+ ultralytics 8.4.110. The evaluation code applies it to 672 x 384 frames, generated or decoded from the recording.
89
+
90
+ - **Base:** `yolo11x.pt` (COCO), Ultralytics.
91
+ - **Data:** 11,591 training and 407 validation frames of de_dust2 recordings of the
92
+ [OpenCS2 dataset](https://huggingface.co/datasets/blanchon/opencs2_dataset), at 1280 x 720. The labels were made
93
+ automatically, without hand labelling. A box of the stock YOLO11x person class (confidence 0.25) became a label when
94
+ it matched a player's position projected from the recording's tick tables (IoU at least 0.3). A player that the GT
95
+ visibility labels mark visible and that no box matched got its projected box, when a patch classifier scored that box
96
+ at least 0.8; otherwise the frame was left out. The recording player's own hands and weapon are background.
97
+ - **Schedule:** 12 epochs, image size 1280, batch 8 on two GPUs, AdamW (lr 0.002), seed 20260729, ultralytics'
98
+ defaults otherwise.
99
+ - **Validation:** mAP50 0.888, mAP50-95 0.699 on the 407 validation frames, from 5 matches outside the training
100
+ frames; precision 0.87 and recall 0.90 at the F1-optimal threshold.
101
+
102
  ## License and attribution
103
 
104
+ - The WorldCast weights are released under the Apache License 2.0, except the player detector.
105
+ - `detector/yolo11x_cs2_player.pt` is licensed under AGPL-3.0, as the Ultralytics YOLO11 model it is fine-tuned from.
106
+ The WorldCast code does not include ultralytics; install it separately (the code's `metrics-detector` extra,
107
+ `ultralytics==8.4.110`) to run the detector.
108
  - They are fine-tuned from [Wan2.2-TI2V-5B](https://huggingface.co/Wan-AI/Wan2.2-TI2V-5B) (Apache License 2.0).
109
  - Training data: the [OpenCS2 dataset](https://huggingface.co/datasets/blanchon/opencs2_dataset)
110
+ ([CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)). The files under `examples/` and the detector's
111
+ training frames are derived from it.
112
  - The model renders Counter-Strike 2 game content and is intended for research. Counter-Strike 2 is a trademark of
113
  Valve Corporation; this work is not affiliated with or endorsed by Valve.
114
 
detector/yolo11x_cs2_player.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac2bba62f3a1192c4d465409204014f3168c1b0bd90fafae6a9d34d708197d94
3
+ size 114445273