jamie33 commited on
Commit
1e205cb
·
verified ·
1 Parent(s): 5e08568

Upload folder using huggingface_hub (part 4)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +1 -0
  2. video_gen_14d/data/VACE-Benchmark/data/sample000265_src_mask.mp4 +3 -0
  3. video_gen_14d/data/VACE-Benchmark/data/sample000265_src_video.mp4 +3 -0
  4. video_gen_14d/data/VACE-Benchmark/data/sample000266_src_mask.mp4 +3 -0
  5. video_gen_14d/data/VACE-Benchmark/data/sample000266_src_video.mp4 +3 -0
  6. video_gen_14d/data/VACE-Benchmark/data/sample000267_src_mask.mp4 +3 -0
  7. video_gen_14d/data/VACE-Benchmark/data/sample000267_src_video.mp4 +3 -0
  8. video_gen_14d/data/VACE-Benchmark/data/sample000268_src_mask.mp4 +3 -0
  9. video_gen_14d/data/VACE-Benchmark/data/sample000268_src_video.mp4 +3 -0
  10. video_gen_14d/data/VACE-Benchmark/data/sample000269_src_mask.mp4 +3 -0
  11. video_gen_14d/data/VACE-Benchmark/data/sample000269_src_video.mp4 +3 -0
  12. video_gen_14d/data/VACE-Benchmark/data/sample000270_src_ref_images_0.png +3 -0
  13. video_gen_14d/data/VACE-Benchmark/data/sample000270_src_ref_images_1.png +3 -0
  14. video_gen_14d/data/VACE-Benchmark/data/sample000271_src_ref_images_0.png +3 -0
  15. video_gen_14d/data/VACE-Benchmark/data/sample000271_src_ref_images_1.png +3 -0
  16. video_gen_14d/data/VACE-Benchmark/indices/composition.txt +32 -0
  17. video_gen_14d/data/VACE-Benchmark/indices/real.txt +0 -0
  18. video_gen_14d/data/VACE-Benchmark/indices/synthetic.txt +0 -0
  19. video_gen_14d/models/Wan2.1-VACE-1.3B/.gitattributes +43 -0
  20. video_gen_14d/models/Wan2.1-VACE-1.3B/LICENSE.txt +201 -0
  21. video_gen_14d/models/Wan2.1-VACE-1.3B/README.md +678 -0
  22. video_gen_14d/models/Wan2.1-VACE-1.3B/Wan2.1_VAE.pth +3 -0
  23. video_gen_14d/models/Wan2.1-VACE-1.3B/assets/comp_effic.png +3 -0
  24. video_gen_14d/models/Wan2.1-VACE-1.3B/assets/data_for_diff_stage.jpg +3 -0
  25. video_gen_14d/models/Wan2.1-VACE-1.3B/assets/i2v_res.png +3 -0
  26. video_gen_14d/models/Wan2.1-VACE-1.3B/assets/logo.png +3 -0
  27. video_gen_14d/models/Wan2.1-VACE-1.3B/assets/t2v_res.jpg +3 -0
  28. video_gen_14d/models/Wan2.1-VACE-1.3B/assets/vben_vs_sota.png +3 -0
  29. video_gen_14d/models/Wan2.1-VACE-1.3B/assets/video_dit_arch.jpg +3 -0
  30. video_gen_14d/models/Wan2.1-VACE-1.3B/assets/video_vae_res.jpg +3 -0
  31. video_gen_14d/models/Wan2.1-VACE-1.3B/config.json +16 -0
  32. video_gen_14d/models/Wan2.1-VACE-1.3B/diffusion_pytorch_model.safetensors +3 -0
  33. video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/special_tokens_map.json +308 -0
  34. video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/spiece.model +3 -0
  35. video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/tokenizer.json +3 -0
  36. video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/tokenizer_config.json +2748 -0
  37. video_gen_14d/models/Wan2.1-VACE-1.3B/models_t5_umt5-xxl-enc-bf16.pth +3 -0
  38. video_gen_14d/requirements-runtime.txt +27 -0
  39. video_gen_14d/scripts/launch_baseline_8gpu.py +270 -0
  40. video_gen_14d/scripts/setup_runtime.sh +43 -0
  41. video_gen_14d/scripts/wait_and_bootstrap_8gpu.sh +63 -0
  42. video_gen_14d/third_party/CRONOS-benchmark/LICENSE +9 -0
  43. video_gen_14d/third_party/CRONOS-benchmark/README.md +214 -0
  44. video_gen_14d/third_party/CRONOS-benchmark/config.py +111 -0
  45. video_gen_14d/third_party/CRONOS-benchmark/metrics/metrics.py +367 -0
  46. video_gen_14d/third_party/CRONOS-benchmark/metrics/utils.py +120 -0
  47. video_gen_14d/third_party/CRONOS-benchmark/requirements-cronos.txt +47 -0
  48. video_gen_14d/third_party/CRONOS-benchmark/scripts/generate_prompt.py +106 -0
  49. video_gen_14d/third_party/CRONOS-benchmark/scripts/run_cotracker.py +109 -0
  50. video_gen_14d/third_party/CRONOS-benchmark/scripts/run_dino.py +117 -0
.gitattributes CHANGED
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
58
  # Video files - compressed
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
+ video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/tokenizer.json filter=lfs diff=lfs merge=lfs -text
video_gen_14d/data/VACE-Benchmark/data/sample000265_src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68575c6adbaadfb8286e0e9bfcf148ebfaa751b5944a6f61af066b0250630350
3
+ size 76532
video_gen_14d/data/VACE-Benchmark/data/sample000265_src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ccb2dc38676fdf6a19a0bc3481c88b1506f2d3444c34f28c474cdd3c81a4ba08
3
+ size 11314404
video_gen_14d/data/VACE-Benchmark/data/sample000266_src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3a9a6bc59b76695a230552b807eca6564b609130989b37912984033b4c93784c
3
+ size 313715
video_gen_14d/data/VACE-Benchmark/data/sample000266_src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bff3c8dd7f93da47d13648071845b858ebe05a504f654f0c1e6431d128aed159
3
+ size 8405326
video_gen_14d/data/VACE-Benchmark/data/sample000267_src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9daebc8842fc2bead9b804e1d08d197c9254783d92303beabf0b2a76e3d7d8ea
3
+ size 206451
video_gen_14d/data/VACE-Benchmark/data/sample000267_src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:30ad317e69ed0a4bbd617c0219dea7e87a87272eb7a05878588d4917c01f8d23
3
+ size 4788474
video_gen_14d/data/VACE-Benchmark/data/sample000268_src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22c320c9d6025c71dd93f35ff15118519568a2dfa4211f9de01bdcb64e00a810
3
+ size 10185
video_gen_14d/data/VACE-Benchmark/data/sample000268_src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:625c7a6eecb03762756276eabe3c7038851a9b90938ad09410778856ad45d03f
3
+ size 9920695
video_gen_14d/data/VACE-Benchmark/data/sample000269_src_mask.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:215d8b70299470e96172a2c0a4e70b2868782e9f5839321c70bb08dc69f73deb
3
+ size 10188
video_gen_14d/data/VACE-Benchmark/data/sample000269_src_video.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3c89740322084bad447db236f37449a75d00dbee6c5442db904fd366c1114f05
3
+ size 1728696
video_gen_14d/data/VACE-Benchmark/data/sample000270_src_ref_images_0.png ADDED

Git LFS Details

  • SHA256: 5757fb513399cd866d26da4e4d17606d00cb39b799d6a603c44fa45199ae2fda
  • Pointer size: 131 Bytes
  • Size of remote file: 331 kB
video_gen_14d/data/VACE-Benchmark/data/sample000270_src_ref_images_1.png ADDED

Git LFS Details

  • SHA256: f461a83c0772dbe93a05ae6b8ce9fa77f0e7f5facb4402685b5410c0dc18397f
  • Pointer size: 131 Bytes
  • Size of remote file: 836 kB
video_gen_14d/data/VACE-Benchmark/data/sample000271_src_ref_images_0.png ADDED

Git LFS Details

  • SHA256: 5082507d74af37b408a0a4fa392f7663b74b05b6ac698e95506b9933b32ddf23
  • Pointer size: 131 Bytes
  • Size of remote file: 386 kB
video_gen_14d/data/VACE-Benchmark/data/sample000271_src_ref_images_1.png ADDED

Git LFS Details

  • SHA256: 3af8c05714180c8612f0b39800828aad543d224a29e77f1be148dfe0f7c349ae
  • Pointer size: 131 Bytes
  • Size of remote file: 404 kB
video_gen_14d/data/VACE-Benchmark/indices/composition.txt ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"source": "real", "sample_id": "000240", "task": "MV2V-MV2V", "subtask": "firstframe-inpainting", "raw_video": "", "src_video": "data/sample000240_src_video.mp4", "src_mask": "data/sample000240_src_mask.mp4", "src_ref_images": [], "en_prompt": "The video features a red lobster moving on a white background. The lighting is bright and even, highlighting the detailed texture and color of the lobster's shell. The scene is a close-up shot, focusing on the lobster's movements and physical characteristics.", "zh_prompt": "视频中,一只红色龙虾在白色背景上移动。灯光明亮均匀,突出了龙虾壳的细节质地和颜色。这是一个特写镜头,主要关注龙虾的动作和身体特征。"}
2
+ {"source": "real", "sample_id": "000241", "task": "MV2V-MV2V", "subtask": "firstclip-inpainting", "raw_video": "", "src_video": "data/sample000241_src_video.mp4", "src_mask": "data/sample000241_src_mask.mp4", "src_ref_images": [], "en_prompt": "A man in a black suit and purple tie stands outside a modern glass building, looking at his smartphone. The background features tall buildings with reflective windows under a clear blue sky. The camera angle shifts slightly, capturing different perspectives of the man and the surrounding architecture. The lighting is bright and natural. The scene is a real-life footage, likely taken during daytime.", "zh_prompt": "视频展示了一位穿着正式的男士在现代化的办公楼前使用手机。他身穿深色西装,搭配紫色领带,看起来专业而自信。背景是一栋设计现代的玻璃幕墙建筑,周围环境是繁忙的城市景观。视频镜头固定,聚焦于男士的动作和表情,以及他与手机的互动,传达出一种专业和现代的工作氛围。"}
3
+ {"source": "real", "sample_id": "000242", "task": "MV2V-MV2V", "subtask": "inpainting-firstframe", "raw_video": "", "src_video": "data/sample000242_src_video.mp4", "src_mask": "data/sample000242_src_mask.mp4", "src_ref_images": [], "en_prompt": "A person wearing a blue jacket, black helmet, and yellow-tinted ski goggles adjusts their goggles while snow falls around him. The person has a black face mask covering his mouth and nose, and the background is a snowy landscape with a blurred figure in red visible in the reflection of the goggles. The camera remains stationary, capturing the scene from a close-up angle, focusing on the person's upper body and head. The lighting is natural, with the overcast sky casting a soft, diffused light on the scene. The overall tone is cold and wintry, emphasizing the snowy environment.", "zh_prompt": "视频展示了一位穿着蓝色滑雪服、戴着黑色头盔和黄色护目镜的滑雪者,在雪地中进行滑雪活动。视频从一个固定的视角拍摄,滑雪者在镜头前进行一系列动作,包括调整护目镜和手势。背景中可以看到其他滑雪者和模糊的山脉,表明这是在一个滑雪场景中。整个视频传达了滑雪的乐趣和户外运动的氛围。"}
4
+ {"source": "real", "sample_id": "000243", "task": "MV2V-MV2V", "subtask": "inpainting-firstclip", "raw_video": "", "src_video": "data/sample000243_src_video.mp4", "src_mask": "data/sample000243_src_mask.mp4", "src_ref_images": [], "en_prompt": "A basketball is seen in mid-air, approaching a basketball hoop. The ball, with its distinctive orange and white pattern, descends towards the hoop, which has a red net attached to a blue backboard. As the ball nears the hoop, it bounces off the rim and falls through the net, indicating a successful shot. The background features a clear sky with a few scattered clouds and a tall light pole on the left side of the frame. The camera remains stationary, capturing the scene from a low angle, emphasizing the height of the hoop and the trajectory of the ball. The lighting is natural, with soft shadows cast by the setting sun, creating a serene atmosphere. The scene is captured in real-life footage.", "zh_prompt": "视频展示了一个篮球在空中飞行并即将进入篮筐的瞬间。篮球在篮筐上方悬停,随后篮球的位置逐渐下降,最终进入篮筐。整个过程中,摄像机的角度保持不变,聚焦于篮球和篮筐,背景是一片蓝天和几朵散布的云朵。这个镜头可能是在篮球比赛中捕捉到的一个精彩瞬间,展现了运动员的技巧和运动的激烈。"}
5
+ {"source": "real", "sample_id": "000244", "task": "MV2V-V2V", "subtask": "firstframe-depth", "raw_video": "", "src_video": "data/sample000244_src_video.mp4", "src_mask": "data/sample000244_src_mask.mp4", "src_ref_images": [], "en_prompt": "A brown and white dog with a red collar is seen walking through a snowy forest. The dog's tail wags as it moves forward, occasionally looking around. The forest is dense with tall trees covered in snow, creating a serene winter atmosphere. The camera follows the dog from behind, capturing its movements as it walks deeper into the forest. The lighting is natural, with soft shadows cast by the trees, enhancing the tranquil scene. The video appears to be real-life footage, showcasing the beauty of nature and the dog's exploration.", "zh_prompt": "视频展示了一只棕白色的狗在雪地中的森林里行走。狗的尾巴高高翘起,显得活泼而自由。周围的环境被厚厚的雪覆盖,树木高耸,形成了一幅宁静而美丽的冬日景象。视频的拍摄角度固定,紧随狗的后方,捕捉它在雪地中的每一个动作和表情,传达出一种宁静而和谐的氛围。"}
6
+ {"source": "real", "sample_id": "000245", "task": "MV2V-V2V", "subtask": "firstclip-pose", "raw_video": "", "src_video": "data/sample000245_src_video.mp4", "src_mask": "data/sample000245_src_mask.mp4", "src_ref_images": [], "en_prompt": "A woman with long brown hair tied in a ponytail, wearing a black long-sleeve crop top and black leggings, is jogging along the edge of a calm body of water. She has white earphones in her ears and a smartwatch on her left wrist. The background features a serene lake with a clear sky above, and the sun is setting, casting a warm glow over the scene. The camera follows her from behind at a steady pace, capturing her rhythmic movements as she runs. The lighting is soft and natural, enhancing the peaceful atmosphere of the scene. The video is real-life footage.", "zh_prompt": "视频展示了一位女性在宁静的湖边跑步。她穿着黑色的运动装备,包括紧身的上衣和裤子,头发扎成马尾辫。她的表情专注而平静,耳朵里插着耳机,似乎在享受音乐。随着她的跑步,湖水和天空的背景随之移动,营造出一种平和而动态的氛围。整个视频的拍摄角度固定,专注于捕捉女性的运动和表情。"}
7
+ {"source": "real", "sample_id": "000246", "task": "V2V-MV2V", "subtask": "flow-firstframe", "raw_video": "", "src_video": "data/sample000246_src_video.mp4", "src_mask": "data/sample000246_src_mask.mp4", "src_ref_images": [], "en_prompt": "A group of white geese with orange beaks and feet walk in a line across a lush green field dotted with small white flowers. The geese move steadily from left to right, maintaining their formation as they traverse the grassy terrain. The background is filled with dense green trees, creating a serene and natural setting. The camera follows the geese at a steady pace, capturing their movement from a low angle that emphasizes the expanse of the field and the tranquility of the scene. The lighting is soft and diffused, suggesting an overcast day, which adds to the calm and peaceful atmosphere of the video.", "zh_prompt": "视频展示了一群白色的鹅在一个绿色的草地上行走。鹅们排成一列,从画面的左侧向右侧移动。背景是一片茂密的树林,为这个场景增添了一种宁静和自然的氛围。整个视频的拍摄角度是固定的,没有明显的运镜变化,这使得观众可以专注于鹅的动作和它们所处的自然环境。"}
8
+ {"source": "real", "sample_id": "000247", "task": "V2V-MV2V", "subtask": "depth-firstclip", "raw_video": "", "src_video": "data/sample000247_src_video.mp4", "src_mask": "data/sample000247_src_mask.mp4", "src_ref_images": [], "en_prompt": "A man and a woman are running hand in hand through a vast wheat field. The woman, wearing a yellow dress and a white hat, has her other hand raised to her head, while the man, dressed in a blue denim jacket over a gray shirt and dark pants, is smiling broadly. They both appear joyful and carefree as they run together. The background features a cloudy sky with patches of blue and distant trees on the horizon. The camera follows their movement. The lighting is natural, suggesting it's daytime with soft sunlight filtering through the clouds. The scene conveys a sense of freedom and happiness.", "zh_prompt": "视频展示了一对男女在广阔的麦田中手牵手漫步。女士穿着黄色连衣裙和白色帽子,男士穿着蓝色牛仔外套和灰色T恤。他们在金色的麦田中轻松地行走,周围是开阔的田野和远处的地平线。视频通过固定视角捕捉了他们的互动和周围的自然美景,传达出一种轻松愉悦的氛围。"}
9
+ {"source": "real", "sample_id": "000248", "task": "MV2V-V2V", "subtask": "inpainting-scribble", "raw_video": "", "src_video": "data/sample000248_src_video.mp4", "src_mask": "data/sample000248_src_mask.mp4", "src_ref_images": [], "en_prompt": "A young woman with dark hair tied back and minimal makeup is seen holding a small, open container of pink blush in her left hand. She uses a white makeup brush to scoop some blush from the container and then applies it to her cheekbone area with gentle, sweeping motions. After applying the blush, she smiles at the camera, showing off the finished look. The background is plain and white. The lighting is bright and even, highlighting the woman's features and the product she is using. The scene is a close-up shot, focusing on the woman's face and upper body, emphasizing the application process and the product being used.", "zh_prompt": "视频展示了一位女性在固定的镜头前进行化妆的过程。她的妆容精致,眼妆和��妆都很突出。她手持一支化妆刷和一个粉色的化妆盒,仔细地涂抹着粉色的唇膏。整个视频中,女性的动作流畅而专注,表情平静,展现了化妆的细节和技巧。背景是简洁的白色,突出了化妆品和女性的形象。"}
10
+ {"source": "real", "sample_id": "000249", "task": "MV2V-V2V", "subtask": "inpainting-gray", "raw_video": "", "src_video": "data/sample000249_src_video.mp4", "src_mask": "data/sample000249_src_mask.mp4", "src_ref_images": [], "en_prompt": "Two green budgerigars are perched on a tree branch, facing each other. The budgerigars have yellow and black markings on their heads and blue cheek patches. They appear to be interacting with each other, moving their heads and bodies slightly. The background is blurred, showing a forest-like setting with green foliage. The lighting is natural, suggesting the scene is captured during the day. The camera angle remains stationary, focusing on the budgerigars throughout the video.", "zh_prompt": "视频展示了两只绿色的鹦鹉在树枝上的互动。它们的羽毛鲜艳,头部有黄色的斑点,眼睛周围有蓝色的羽毛。视频中,鹦鹉们似乎在进行交流,它们的头部相互倾斜,喙部相接触,显示出亲昵的行为。背景是模糊的绿色植被,突出了鹦鹉的颜色和细节。整个视频采用了固定视角拍摄,聚焦于鹦鹉的自然行为。"}
11
+ {"source": "real", "sample_id": "000250", "task": "V2V-MV2V", "subtask": "scribble-inpainting", "raw_video": "", "src_video": "data/sample000250_src_video.mp4", "src_mask": "data/sample000250_src_mask.mp4", "src_ref_images": [], "en_prompt": "A ladybug is seen crawling on a bright yellow dandelion flower. The ladybug moves around the edges of the flower, occasionally pausing before continuing its journey. The background consists of green grass and other yellow flowers, creating a vibrant and lively scene. The camera remains stationary, focusing on the ladybug's movements on the dandelion. The lighting is natural and bright, highlighting the vivid colors of the flowers and the ladybug. The scene is a close-up shot, capturing the intricate details of the ladybug and the delicate petals of the dandelion.", "zh_prompt": "视频展示了一朵鲜艳的黄色蒲公英花,花心处有一只红色和黑色相间的瓢虫。视频的拍摄角度是固定的,聚焦于这朵花和它的昆虫伙伴。背景是模糊的绿色植物,强调了花朵和瓢虫的细节。整个视频可能是在展示自然界中的一个宁静而美丽的瞬间,突出了生物与环境之间的和谐共存。"}
12
+ {"source": "real", "sample_id": "000251", "task": "V2V-MV2V", "subtask": "pose-inpainting", "raw_video": "", "src_video": "data/sample000251_src_video.mp4", "src_mask": "data/sample000251_src_mask.mp4", "src_ref_images": [], "en_prompt": "A young woman in a red tank top and blue jeans rollerblades through a series of orange cones set up on an empty street. She skillfully maneuvers around the cones, maintaining her balance with outstretched arms. The background features tall buildings and green trees, indicating an urban setting. The camera follows her movements, capturing her from various angles as she glides smoothly between the cones. The lighting is bright and natural, suggesting it's daytime. The scene is real-life footage, showcasing the woman's rollerblading skills.", "zh_prompt": "视频展示了一位女性在宽阔的城市街道上穿着旱冰鞋进行滑行。她穿着红色无袖上衣和蓝色牛仔裤,头发扎成马尾,专注地滑行在一排彩色锥形标记之间。背景是模糊的城市建筑和树木,强调了前景的动作。整个视频采用固定视角拍摄,记录了女性滑行的连续动作和她的表情变化。"}
13
+ {"source": "real", "sample_id": "000252", "task": "V2V-V2V", "subtask": "flow-depth", "raw_video": "", "src_video": "data/sample000252_src_video.mp4", "src_mask": "data/sample000252_src_mask.mp4", "src_ref_images": [], "en_prompt": "A person in a red jacket and black pants is skiing down a snowy mountain slope. They are wearing a helmet and holding ski poles, making smooth turns as they descend. Other skiers can be seen in the background, some closer and others further away, all enjoying the sunny day on the slopes. The camera follows the skier from behind, capturing their movements and the expansive view of the snow-covered mountains under a clear blue sky. The lighting is bright and natural, highlighting the white snow and the vibrant colors of the skiers' clothing. The scene is real-life footage, showcasing the thrill and beauty of skiing in a picturesque winter landscape.", "zh_prompt": "视频展示了一位穿着红色滑雪服的滑雪者在雪地上滑行的场景。摄像机以跟随的方式拍摄,记录了滑雪者从远处滑向镜头的过程。背景中可以看到其他滑雪者和壮丽的山脉,以及滑雪缆车。阳光照耀下的雪地和滑雪者鲜艳的服装形成了鲜明的对比,营造出一种活力四射的滑雪氛围。"}
14
+ {"source": "real", "sample_id": "000253", "task": "V2V-V2V", "subtask": "gary-scribble", "raw_video": "", "src_video": "data/sample000253_src_video.mp4", "src_mask": "data/sample000253_src_mask.mp4", "src_ref_images": [], "en_prompt": "Two women are walking on a beach, each carrying a black trash bag. They are wearing gloves and picking up litter from the sand. The woman on the left is wearing a green plaid shirt and jeans, while the woman on the right is wearing a blue jacket and black pants. The background shows palm trees, buildings, and a cloudy sky. The camera follows them as they walk away from it, capturing their actions from behind. The lighting is natural, with overcast conditions casting a soft light on the scene. The scene is real-life footage.", "zh_prompt": "视频展示了两位女性在海滩上进行清洁活动的场景。她们穿着休闲服装,手里拿着垃圾袋,沿着沙滩行走,并弯腰捡起地上的垃圾。背景是一个典型的海滩环境,有树木、建筑物和停放的车辆。视频通过固定视角捕捉了她们的行动,强调了环保和清洁的重要性。"}
15
+ {"source": "real", "sample_id": "000254", "task": "R2V-R2V", "subtask": "object-object", "raw_video": "", "src_video": "", "src_mask": "", "src_ref_images": ["data/sample000254_src_ref_images_0.png", "data/sample000254_src_ref_images_1.png"], "en_prompt": "In a scene filled with mystery, an elegantly dressed woman in a meticulously crafted black robe sits gracefully in an ornately decorated classical chair. The chair is made of dark wood, featuring intricate carvings and a high-back design, with a seat covered in soft, deep red velvet, exuding a sense of classic charm. The woman's hand gently rests on the armrest, while the other hand moves slowly, as if casting a spell. A soft light filters through the background, enhancing the fantastical atmosphere. Her outfit is detailed, with a light and flowing skirt that showcases her confidence and poise, making the entire scene radiate a magical allure.", "zh_prompt": "在一个充满神秘气息的场景中,一位身穿考究黑色长袍的女士优雅地坐在一把装饰精美的古典椅子上。椅子由深色木材制成,雕花细致,具有高背设计,座面则覆盖着柔软的深红色绒布,散发出古典韵味。女士的手轻柔地搭在椅子的扶手上,另一只手缓缓摆动,仿佛正在施展魔法。背景透出柔和的光线,增添了奇幻的氛围。她的服装细致,裙摆轻盈飘动,展现出自信与从容的气场,让整个画面充满魔法般的魅力。"}
16
+ {"source": "real", "sample_id": "000255", "task": "R2V-R2V", "subtask": "object-object", "raw_video": "", "src_video": "", "src_mask": "", "src_ref_images": ["data/sample000255_src_ref_images_0.png", "data/sample000255_src_ref_images_1.png"], "en_prompt": "In the video, two famous sculptures elegantly hold a unique tea party. On the left is the contemplative Thinker, carved in a simplistic yet powerful form, with his hand slightly raised. On the right is the imposing Sphinx, sitting steadily, with both hands firmly cradling an exquisite tea cup, seemingly focused on listening to the conversation. The surroundings are adorned with exquisite tea sets, and sunlight filters through the leaves, casting a warm and gentle light.", "zh_prompt": "在视频中,两座著名的雕塑优雅地举行着一场独特的茶会,左侧是深思的思想者,身躯雕刻得简约而富有力量,他的手微微抬起。右侧的狮身人面像坐姿稳重,双手稳健地托着一只精致的茶杯,似乎在专注倾听对方的言谈。周围装饰着华丽的茶具,阳光透过树叶洒下温暖而柔和的光线。"}
17
+ {"source": "synthetic", "sample_id": "000256", "task": "MV2V-MV2V", "subtask": "firstframe-inpainting", "raw_video": "", "src_video": "data/sample000256_src_video.mp4", "src_mask": "data/sample000256_src_mask.mp4", "src_ref_images": [], "en_prompt": "A man in a blue work uniform and white hard hat stands with his hands on his hips, listening attentively to another person who is gesturing with their hand. The man is in an industrial setting filled with large green machinery and other workers in the background. The lighting is bright, illuminating the scene clearly. The camera angle remains steady, focusing on the man as he listens.", "zh_prompt": "纪实摄影风格,一位亚洲工人坚定地拒绝他人的错误指挥。他身穿蓝色工作服,头戴安全帽,表情严肃,眼神坚定地看向镜头外的指挥者。工人站在工厂车间内,周围是各种机械设备和工具。背景中可以看到其他工人在忙碌工作。画面充满紧张氛围,工人双手叉腰,姿态坚定。中景全身人像,平视视角。"}
18
+ {"source": "synthetic", "sample_id": "000257", "task": "MV2V-MV2V", "subtask": "firstclip-inpainting", "raw_video": "", "src_video": "data/sample000257_src_video.mp4", "src_mask": "data/sample000257_src_mask.mp4", "src_ref_images": [], "en_prompt": "A person wearing a white chef's coat is seen skillfully slicing a large piece of raw meat on a wooden cutting board. The chef uses a large, sharp knife to make precise cuts, separating the meat into smaller portions. The background shows a professional kitchen setting with stainless steel appliances and tiled walls. Another person in a white chef's coat walks by in the background. The lighting is bright, highlighting the texture and color of the meat. The camera angle remains focused on the chef's hands and the cutting board, capturing the detailed movements of the knife as it slices through the meat.", "zh_prompt": "纪实摄影风格,特写镜头,一位厨师在厨房里专注地用刀切五花肉。他身穿白色厨师服,戴着高帽,双手熟练地操作着。五花肉的纹理清晰可见,肥瘦相间,刀工细腻。背景是忙碌的厨房,隐约可见其他厨具和食材。画面捕捉到厨师专注的神情和流畅的动作。近景特写,强调肉的质感和厨师的专业技能。"}
19
+ {"source": "synthetic", "sample_id": "000258", "task": "MV2V-MV2V", "subtask": "inpainting-firstframe", "raw_video": "", "src_video": "data/sample000258_src_video.mp4", "src_mask": "data/sample000258_src_mask.mp4", "src_ref_images": [], "en_prompt": "A cheerful yellow dog wearing sunglasses and a blue tank top is riding a bicycle down a bustling city street. The dog has its tongue out, appearing to be enjoying the ride. The background features tall buildings, pedestrians, and various vehicles, creating a lively urban atmosphere. The camera follows the dog from behind, capturing the movement as it pedals along. The lighting is bright and colorful, enhancing the vibrant and energetic mood of the scene. The animation style is cartoonish with exaggerated features and expressions.", "zh_prompt": "3D卡通风格,一只戴着酷炫墨镜的金毛犬在繁忙的城市街道上轻松骑行。它身穿蓝色背心,四肢灵活地踏着自行车踏板,尾巴欢快地摇摆。周围是高楼大厦和来往的行人,画面充满活力与动感。近景动态视角,捕捉狗狗自信的表情和周围的都市风光。"}
20
+ {"source": "synthetic", "sample_id": "000259", "task": "MV2V-MV2V", "subtask": "inpainting-firstclip", "raw_video": "", "src_video": "data/sample000259_src_video.mp4", "src_mask": "data/sample000259_src_mask.mp4", "src_ref_images": [], "en_prompt": "A squirrel and a rabbit are on a tree branch in the forest. The squirrel is moving around energetically, jumping up and down, while the rabbit sits calmly observing. The squirrel's fur is reddish-brown with a bushy tail, and the rabbit has light brown fur with long ears. The background is a lush green forest with trees and foliage. The camera angle is static, focusing on the animals on the branch. The lighting is natural, with sunlight filtering through the trees, creating a bright and warm atmosphere. The scene is real-life footage.", "zh_prompt": "森林里的小兔子米米安静地坐在空心木头旁,眼神温柔地注视着前方。一只活泼的小松鼠在木头上跳跃,用力敲击,发出“咚咚咚”的低沉鼓点。小松鼠毛茸茸的尾巴随着动作摇摆,显得非常灵动。背景是郁郁葱葱的森林,阳光透过树梢洒下斑驳的光影。自然风光中的温馨场景。中景,平视视角。"}
21
+ {"source": "synthetic", "sample_id": "000260", "task": "MV2V-V2V", "subtask": "firstframe-pose", "raw_video": "", "src_video": "data/sample000260_src_video.mp4", "src_mask": "data/sample000260_src_mask.mp4", "src_ref_images": [], "en_prompt": "A family is gathered around a round table covered with a red tablecloth, celebrating a festive occasion. The table is set with various dishes in white bowls and plates, and each person has a glass of wine. They are all dressed in red, symbolizing good luck and prosperity. The family members raise their glasses in a toast, smiling and laughing, creating a warm and joyful atmosphere. The background is decorated with traditional Chinese New Year ornaments, including red lanterns and couplets with the character \"福\" (fortune) hanging on the wall. The lighting is warm and inviting, enhancing the celebratory mood. The scene is captured from a static camera angle, focusing on the family's interactions and expressions.", "zh_prompt": "中国传统新年团圆饭场景,一大家人在温馨灯火下围打架。桌上摆满丰盛菜肴和饮料,热气腾腾,色泽诱人。长辈们笑容满面,年轻人举杯敬酒,孩子们嬉笑打闹。墙上挂着中国结和春联,营造浓厚节日氛围。暖色调灯光洒在每个人幸福的脸上,充满家的温暖。中景,家庭聚餐。"}
22
+ {"source": "synthetic", "sample_id": "000261", "task": "MV2V-V2V", "subtask": "firstclip-gray", "raw_video": "", "src_video": "data/sample000261_src_video.mp4", "src_mask": "data/sample000261_src_mask.mp4", "src_ref_images": [], "en_prompt": "A man in a vintage-style suit and hat stands at the open door of a moving train, looking out with a contemplative expression. He is dressed in a grey tweed jacket, white shirt, and black bow tie, with a brown fedora on his head. The interior of the train is dimly lit, with warm lights reflecting off the polished surfaces. Other passengers are visible inside the train, but they are blurred and not the focus. The camera remains stationary, capturing the man from a side angle as he gazes out into the night. The lighting is soft and warm, creating an intimate and nostalgic atmosphere. The scene appears to be from a period drama or film.", "zh_prompt": "一个外国男人站在一辆复古风格的火车车厢内。他穿着一件灰色西装和一顶棕色帽子,他的目光看向窗外。 背景中的其他乘客模糊不清,但可以看到他们坐在座位上或站立着。"}
23
+ {"source": "synthetic", "sample_id": "000262", "task": "V2V-MV2V", "subtask": "scribble-firstframe", "raw_video": "", "src_video": "data/sample000262_src_video.mp4", "src_mask": "data/sample000262_src_mask.mp4", "src_ref_images": [], "en_prompt": "A green frog with black and yellow stripes sits on a large green leaf, its eyes wide open and looking to the right. The frog's skin is smooth and shiny, reflecting light from its surroundings. The background is blurred, showing more green leaves and water, creating a natural habitat atmosphere. The camera remains stationary, focusing on the frog's face and upper body. The lighting is soft and natural, highlighting the frog's vibrant colors and the texture of its skin. The scene appears to be real-life footage captured in a serene outdoor setting.", "zh_prompt": "微距摄影特写,一只绿皮青蛙蹲在荷叶上,双眼鼓胀,凝视镜头。青蛙皮肤湿润,遍布细腻颗粒,背部点缀着深色斑点。荷叶边缘清晰,纹理丰富,水珠散落其上,晶莹剔透。背景模糊处理,隐约可见池塘水波与夏日绿植,营造出宁静而生动的自然氛围。近景特写,聚焦于青蛙炯炯有神的眼睛,展现其灵动生命力。"}
24
+ {"source": "synthetic", "sample_id": "000263", "task": "V2V-MV2V", "subtask": "depth-firstclip", "raw_video": "", "src_video": "data/sample000263_src_video.mp4", "src_mask": "data/sample000263_src_mask.mp4", "src_ref_images": [], "en_prompt": "The video shows a group of people dressed in traditional Chinese clothing, gathered around a display of colorful lotus-shaped lanterns. The scene is set at night with a large, bright moon visible in the sky. The people are admiring and interacting with each other, some holding smaller lanterns. The lanterns are illuminated from within, casting a warm glow on the surroundings. The camera angle remains stationary, capturing the festive atmosphere. The lighting is soft and ambient, highlighting the vibrant colors of the lanterns and the intricate details of the traditional attire. The scene appears to be from a cultural event or festival.", "zh_prompt": "中国古典风格,唐宋朝代元宵节灯会场景。前景是各式各样的精美灯笼,有莲花、鱼形、宫灯等造型,色彩斑斓,光影交错。背景中,身着古代服饰的男女老少赏灯人群来来往往,热闹非凡。天上挂着一轮明亮的圆月,洒下柔和的银光。近景画面,镜头缓慢横移拍摄,捕捉每一个细节和动态。"}
25
+ {"source": "synthetic", "sample_id": "000264", "task": "MV2V-V2V", "subtask": "inpainting-gray", "raw_video": "", "src_video": "data/sample000264_src_video.mp4", "src_mask": "data/sample000264_src_mask.mp4", "src_ref_images": [], "en_prompt": "A ginger cat with white paws and a white chest is sitting on a carpeted floor in a living room. The cat's attention is drawn to a spool of thread that has been placed on the floor. As the cat sniffs and investigates the thread, it becomes entangled in it. The cat then rolls over onto its back, still wrapped in the thread, and appears to be playing with it. The background shows a wooden coffee table with a candle on it and a gray couch. The lighting is warm and soft, creating a cozy atmosphere. The camera angle remains stationary, capturing the cat's movements from a low perspective.", "zh_prompt": "一只活泼的橘色猫咪在客厅地毯上追逐着线团,它的耳朵竖立,眼睛圆睁,尾巴轻轻摇摆。猫咪动作敏捷,时而跳跃,时而扑倒,显得非常快乐。背景是温馨的家庭环境,有沙发、茶几和一些装饰品。光线柔和,营造出一种温暖舒适的氛围。纪实摄影风格,近景动态捕捉。"}
26
+ {"source": "synthetic", "sample_id": "000265", "task": "MV2V-V2V", "subtask": "inpainting-flow", "raw_video": "", "src_video": "data/sample000265_src_video.mp4", "src_mask": "data/sample000265_src_mask.mp4", "src_ref_images": [], "en_prompt": "A white bus with a furry exterior drives slowly down a cobblestone street lined with old European-style buildings. The bus, with its yellow interior lights on and the word \"Moon\" displayed on the front, moves from right to left across the frame. The street is covered with fallen autumn leaves, and the sky has a soft pink hue, indicating either dawn or dusk. The camera remains stationary, capturing the bus from a low angle as it passes by; the lighting is warm and creates a cozy atmosphere. The scene is captured in real-life footage.", "zh_prompt": "一辆毛茸茸的公交车,外观覆盖着柔软的白色绒毛,行驶在欧洲古老城市的街道上。公交车车身圆润,车窗透出温暖的灯光。街道两旁是典型的欧洲建筑,石板路面上洒落着落叶。公交车缓缓前行,车轮轻轻碾过地面。画面背景是黄昏时分,天空呈现出柔和的橙色和紫色。纪实摄影风格,中景动态镜头。"}
27
+ {"source": "synthetic", "sample_id": "000266", "task": "V2V-MV2V", "subtask": "pose-inpainting", "raw_video": "", "src_video": "data/sample000266_src_video.mp4", "src_mask": "data/sample000266_src_mask.mp4", "src_ref_images": [], "en_prompt": "A man wearing a dark green t-shirt with the text \"CARTE SCRICA\" printed on it is dancing energetically in a modern, well-lit living room. He moves his arms and body rhythmically, occasionally pointing and gesturing as if he is performing or expressing himself through dance. The room features light-colored walls, wooden flooring, and several pieces of colorful abstract art on the walls. There are shelves with books and decorative items, and a large window with sheer curtains allowing natural light to fill the space. The camera angle shifts slightly to follow the man's movements, capturing him from different perspectives. The lighting is bright and even. The scene is captured in real-life footage.", "zh_prompt": "穿着“CARTA SCRITTA”品牌T恤的中年绅士在宽敞的客厅里像疯子一样跳舞。他头发微乱,眼神充满欢乐,嘴角上扬,动作夸张而自由。背景是现代简约风格的客厅,墙上挂着几幅抽象画,地板上散落着一些生活用品。画面整体色调温暖,充满活力。中景全身动态人像,镜头跟随他的舞步移动。"}
28
+ {"source": "synthetic", "sample_id": "000267", "task": "V2V-MV2V", "subtask": "depth-inpainting", "raw_video": "", "src_video": "data/sample000267_src_video.mp4", "src_mask": "data/sample000267_src_mask.mp4", "src_ref_images": [], "en_prompt": "A close-up shot of a white flower with yellow stamen in the center, surrounded by green leaves. The flower is in focus while the background is blurred, creating a bokeh effect. The lighting is natural and bright, with sunlight filtering through the leaves, casting a warm glow on the flower. The camera remains stationary, capturing the delicate details of the flower's petals and stamen. The scene is serene and peaceful, highlighting the beauty of nature.", "zh_prompt": "逆光下的白色樱花从花骨朵缓缓绽放,花瓣轻轻舒展,如同细腻的丝绸。阳光透过花瓣,形成柔和的光晕,营造出梦幻般的氛围。背景是模糊的绿色植被,增添了一丝生机。画面整体呈现出清新唯美的风格,仿佛时间在这一刻凝固。中景特写镜头,捕捉花朵绽放的瞬间动态。"}
29
+ {"source": "synthetic", "sample_id": "000268", "task": "V2V-V2V", "subtask": "depth-scribble", "raw_video": "", "src_video": "data/sample000268_src_video.mp4", "src_mask": "data/sample000268_src_mask.mp4", "src_ref_images": [], "en_prompt": "A person stands on a rocky surface, gazing up at a large satellite floating in the sky. The satellite has two long solar panels and a central body with various mechanical components. As the person observes, the satellite begins to emit a bright light from its front, which intensifies and illuminates the surrounding area. The background is filled with stars and a hazy nebula-like formation, creating a cosmic atmosphere. The camera angle shifts slightly upward, focusing more on the satellite as it becomes the central point of light in the scene. The lighting is predominantly yellowish, casting a warm glow on the satellite and the person, enhancing the sense of wonder and discovery. The scene is captured in a realistic animation style.", "zh_prompt": "一个穿着宇航服的人站在一片荒芜的地面上,他背对着镜头,面向着一颗巨大的卫星。这颗卫星是灰色和黑色相间的,并且有多个天线伸出其表面。它位于画面中央的位置,占据了大部分空间。背景是一片深邃而广阔的星空,充满了星星点点的光芒。太阳正在地平线上升起,投射出一道明亮的光线。"}
30
+ {"source": "synthetic", "sample_id": "000269", "task": "V2V-V2V", "subtask": "pose-flow", "raw_video": "", "src_video": "data/sample000269_src_video.mp4", "src_mask": "data/sample000269_src_mask.mp4", "src_ref_images": [], "en_prompt": "A football player in a red jersey with the number 17 is seen running on a field, while another player in a similar uniform with the number 23 runs past him. The player with the number 17 continues to run forward, maintaining his speed and focus. He is wearing white pants, red socks, and white cleats, with a helmet that has a logo on the side. The background shows a well-maintained grass field with white yard lines, indicating it's a professional or college-level game. The lighting is bright. The camera angle is from the side, capturing the players' movements as they run across the field.", "zh_prompt": "一名身穿17号红色球衣的足球运动员在球场上奔跑,而另一名身穿类似球衣的23号球员从他身边跑过。17号球员继续向前跑,保持速度和专注。他穿着白色裤子、红色袜子和白色鞋钉,戴着侧面有标志的头盔。背景显示了一个维护良好的草地,上面有白色的院子线,表明这是一场专业或大学级别的比赛。灯光很亮。摄像机的角度是从侧面拍摄的,捕捉球员在球场上奔跑时的动作。"}
31
+ {"source": "synthetic", "sample_id": "000270", "task": "R2V-R2V", "subtask": "object-object", "raw_video": "", "src_video": "", "src_mask": "", "src_ref_images": ["data/sample000270_src_ref_images_0.png", "data/sample000270_src_ref_images_1.png"], "en_prompt": "In a joyful scene filled with festive atmosphere, a little girl dressed in a bright red traditional outfit is playfully interacting with her cute cartoon snake. Her outfit is adorned with golden auspicious patterns, radiating a celebratory vibe, while her face is lit up with a radiant smile. The snake boasts a vibrant green body, with a rounded shape and large eyes that give it a friendly and humorous appearance. The girl happily strokes the snake's head with her hand, enjoying this warm moment together. The surroundings are decorated with colorful lanterns and ribbons, and sunlight filters through, creating a New Year ambiance filled with love and happiness.", "zh_prompt": "在一个欢乐而充满节日气氛的场景中,穿着鲜艳红色春服的小女孩正与她的可爱卡通蛇嬉戏。她的春服上绣着金色吉祥图案,散发着喜庆的气息,脸上洋溢着灿烂的笑容。蛇身呈现出亮眼的绿色,形状圆润,宽大的眼睛让它显得既友善又幽默。小女孩欢快地用手轻轻抚摸着蛇的头部,共同享受着这温馨的时刻。周围五彩斑斓的灯笼和彩带装饰着环境,阳光透过洒在她们身上,营造出一个充满友爱与幸福的新年氛围。"}
32
+ {"source": "synthetic", "sample_id": "000271", "task": "R2V-R2V", "subtask": "object-object", "raw_video": "", "src_video": "", "src_mask": "", "src_ref_images": ["data/sample000271_src_ref_images_0.png", "data/sample000271_src_ref_images_1.png"], "en_prompt": "The video showcases an ancient woman dressed in elegant traditional attire, intently using a laptop. Her outfit is beautifully designed, combining soft greens and whites, adorned with intricate floral embroidery. One hand gently rests on the laptop's touchpad while the other gracefully holds a fan. The surrounding environment is minimalist yet stylish, with the screen displaying her browsing through historical and contemporary texts. This creates a fascinating sense of time intertwining, perfectly blending elements of tradition and modernity.", "zh_prompt": "视频展示了一位身穿优雅传统服装的古代女子,专注地使用着一台笔记本电脑。她的服装设计华美,柔和的绿色与白色相结合,细节上绣有精致的花纹。她一只手轻轻按着电脑的触控板,另一只手优雅地握着一把扇子。周围环境简约而时尚,屏幕上显示着她在浏览古今文献的画面,使得整个场景散发出奇妙的时间交错感,完美地融合了传统与现代的元素。"}
video_gen_14d/data/VACE-Benchmark/indices/real.txt ADDED
The diff for this file is too large to render. See raw diff
 
video_gen_14d/data/VACE-Benchmark/indices/synthetic.txt ADDED
The diff for this file is too large to render. See raw diff
 
video_gen_14d/models/Wan2.1-VACE-1.3B/.gitattributes ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz filter=lfs diff=lfs merge=lfs -text
33
+ *.zip filter=lfs diff=lfs merge=lfs -text
34
+ *.zst filter=lfs diff=lfs merge=lfs -text
35
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ google/umt5-xxl/tokenizer.json filter=lfs diff=lfs merge=lfs -text
37
+ assets/comp_effic.png filter=lfs diff=lfs merge=lfs -text
38
+ assets/data_for_diff_stage.jpg filter=lfs diff=lfs merge=lfs -text
39
+ assets/i2v_res.png filter=lfs diff=lfs merge=lfs -text
40
+ assets/t2v_res.jpg filter=lfs diff=lfs merge=lfs -text
41
+ assets/vben_vs_sota.png filter=lfs diff=lfs merge=lfs -text
42
+ assets/video_dit_arch.jpg filter=lfs diff=lfs merge=lfs -text
43
+ assets/video_vae_res.jpg filter=lfs diff=lfs merge=lfs -text
video_gen_14d/models/Wan2.1-VACE-1.3B/LICENSE.txt ADDED
@@ -0,0 +1,201 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
video_gen_14d/models/Wan2.1-VACE-1.3B/README.md ADDED
@@ -0,0 +1,678 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ language:
4
+ - en
5
+ - zh
6
+ tags:
7
+ - video generation
8
+ - video-to-video editing
9
+ - refernce-to-video
10
+
11
+ pipeline_tag: image-to-video
12
+ ---
13
+ # Wan2.1
14
+
15
+ <p align="center">
16
+ <img src="assets/logo.png" width="400"/>
17
+ <p>
18
+
19
+ <p align="center">
20
+ 💜 <a href="https://wan.video"><b>Wan</b></a> &nbsp&nbsp | &nbsp&nbsp 🖥️ <a href="https://github.com/Wan-Video/Wan2.1">GitHub</a> &nbsp&nbsp | &nbsp&nbsp🤗 <a href="https://huggingface.co/Wan-AI/">Hugging Face</a>&nbsp&nbsp | &nbsp&nbsp🤖 <a href="https://modelscope.cn/organization/Wan-AI">ModelScope</a>&nbsp&nbsp | &nbsp&nbsp 📑 <a href="https://arxiv.org/abs/2503.20314">Technical Report</a> &nbsp&nbsp | &nbsp&nbsp 📑 <a href="https://wan.video/welcome?spm=a2ty_o02.30011076.0.0.6c9ee41eCcluqg">Blog</a> &nbsp&nbsp | &nbsp&nbsp💬 <a href="https://gw.alicdn.com/imgextra/i2/O1CN01tqjWFi1ByuyehkTSB_!!6000000000015-0-tps-611-1279.jpg">WeChat Group</a>&nbsp&nbsp | &nbsp&nbsp 📖 <a href="https://discord.gg/AKNgpMK4Yj">Discord</a>&nbsp&nbsp
21
+ <br>
22
+
23
+ -----
24
+
25
+ [**Wan: Open and Advanced Large-Scale Video Generative Models**](https://arxiv.org/abs/2503.20314) <be>
26
+
27
+ In this repository, we present **Wan2.1**, a comprehensive and open suite of video foundation models that pushes the boundaries of video generation. **Wan2.1** offers these key features:
28
+ - 👍 **SOTA Performance**: **Wan2.1** consistently outperforms existing open-source models and state-of-the-art commercial solutions across multiple benchmarks.
29
+ - 👍 **Supports Consumer-grade GPUs**: The T2V-1.3B model requires only 8.19 GB VRAM, making it compatible with almost all consumer-grade GPUs. It can generate a 5-second 480P video on an RTX 4090 in about 4 minutes (without optimization techniques like quantization). Its performance is even comparable to some closed-source models.
30
+ - 👍 **Multiple Tasks**: **Wan2.1** excels in Text-to-Video, Image-to-Video, Video Editing, Text-to-Image, and Video-to-Audio, advancing the field of video generation.
31
+ - 👍 **Visual Text Generation**: **Wan2.1** is the first video model capable of generating both Chinese and English text, featuring robust text generation that enhances its practical applications.
32
+ - 👍 **Powerful Video VAE**: **Wan-VAE** delivers exceptional efficiency and performance, encoding and decoding 1080P videos of any length while preserving temporal information, making it an ideal foundation for video and image generation.
33
+
34
+ ## Video Demos
35
+
36
+ <div align="center">
37
+ <video width="80%" controls>
38
+ <source src="https://cloud.video.taobao.com/vod/Jth64Y7wNoPcJki_Bo1ZJTDBvNjsgjlVKsNs05Fqfps.mp4" type="video/mp4">
39
+ Your browser does not support the video tag.
40
+ </video>
41
+ </div>
42
+
43
+ ## 🔥 Latest News!!
44
+
45
+ * May 14, 2025: 👋 We introduce **Wan2.1** [VACE](https://github.com/ali-vilab/VACE), an all-in-one model for video creation and editing, along with its [inference code](#run-vace), [weights](#model-download), and [technical report](https://arxiv.org/abs/2503.07598)!
46
+ * Apr 17, 2025: 👋 We introduce **Wan2.1** [FLF2V](#run-first-last-frame-to-video-generation) with its inference code and weights!
47
+ * Mar 21, 2025: 👋 We are excited to announce the release of the **Wan2.1** [technical report](https://files.alicdn.com/tpsservice/5c9de1c74de03972b7aa657e5a54756b.pdf). We welcome discussions and feedback!
48
+ * Mar 3, 2025: 👋 **Wan2.1**'s T2V and I2V have been integrated into Diffusers ([T2V](https://huggingface.co/docs/diffusers/main/en/api/pipelines/wan#diffusers.WanPipeline) | [I2V](https://huggingface.co/docs/diffusers/main/en/api/pipelines/wan#diffusers.WanImageToVideoPipeline)). Feel free to give it a try!
49
+ * Feb 27, 2025: 👋 **Wan2.1** has been integrated into [ComfyUI](https://comfyanonymous.github.io/ComfyUI_examples/wan/). Enjoy!
50
+ * Feb 25, 2025: 👋 We've released the inference code and weights of **Wan2.1**.
51
+
52
+ ## Community Works
53
+ If your work has improved **Wan2.1** and you would like more people to see it, please inform us.
54
+ - [Phantom](https://github.com/Phantom-video/Phantom) has developed a unified video generation framework for single and multi-subject references based on **Wan2.1-T2V-1.3B**. Please refer to [their examples](https://github.com/Phantom-video/Phantom).
55
+ - [UniAnimate-DiT](https://github.com/ali-vilab/UniAnimate-DiT), based on **Wan2.1-14B-I2V**, has trained a Human image animation model and has open-sourced the inference and training code. Feel free to enjoy it!
56
+ - [CFG-Zero](https://github.com/WeichenFan/CFG-Zero-star) enhances **Wan2.1** (covering both T2V and I2V models) from the perspective of CFG.
57
+ - [TeaCache](https://github.com/ali-vilab/TeaCache) now supports **Wan2.1** acceleration, capable of increasing speed by approximately 2x. Feel free to give it a try!
58
+ - [DiffSynth-Studio](https://github.com/modelscope/DiffSynth-Studio) provides more support for **Wan2.1**, including video-to-video, FP8 quantization, VRAM optimization, LoRA training, and more. Please refer to [their examples](https://github.com/modelscope/DiffSynth-Studio/tree/main/examples/wanvideo).
59
+
60
+
61
+ ## 📑 Todo List
62
+ - Wan2.1 Text-to-Video
63
+ - [x] Multi-GPU Inference code of the 14B and 1.3B models
64
+ - [x] Checkpoints of the 14B and 1.3B models
65
+ - [x] Gradio demo
66
+ - [x] ComfyUI integration
67
+ - [x] Diffusers integration
68
+ - [ ] Diffusers + Multi-GPU Inference
69
+ - Wan2.1 Image-to-Video
70
+ - [x] Multi-GPU Inference code of the 14B model
71
+ - [x] Checkpoints of the 14B model
72
+ - [x] Gradio demo
73
+ - [x] ComfyUI integration
74
+ - [x] Diffusers integration
75
+ - [ ] Diffusers + Multi-GPU Inference
76
+ - Wan2.1 First-Last-Frame-to-Video
77
+ - [x] Multi-GPU Inference code of the 14B model
78
+ - [x] Checkpoints of the 14B model
79
+ - [x] Gradio demo
80
+ - [ ] ComfyUI integration
81
+ - [ ] Diffusers integration
82
+ - [ ] Diffusers + Multi-GPU Inference
83
+ - Wan2.1 VACE
84
+ - [x] Multi-GPU Inference code of the 14B and 1.3B models
85
+ - [x] Checkpoints of the 14B and 1.3B models
86
+ - [x] Gradio demo
87
+ - [x] ComfyUI integration
88
+ - [ ] Diffusers integration
89
+ - [ ] Diffusers + Multi-GPU Inference
90
+
91
+ ## Quickstart
92
+
93
+ #### Installation
94
+ Clone the repo:
95
+ ```sh
96
+ git clone https://github.com/Wan-Video/Wan2.1.git
97
+ cd Wan2.1
98
+ ```
99
+
100
+ Install dependencies:
101
+ ```sh
102
+ # Ensure torch >= 2.4.0
103
+ pip install -r requirements.txt
104
+ ```
105
+
106
+
107
+ #### Model Download
108
+
109
+ | Models | Download Link | Notes |
110
+ |--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------|
111
+ | T2V-14B | 🤗 [Huggingface](https://huggingface.co/Wan-AI/Wan2.1-T2V-14B) 🤖 [ModelScope](https://www.modelscope.cn/models/Wan-AI/Wan2.1-T2V-14B) | Supports both 480P and 720P
112
+ | I2V-14B-720P | 🤗 [Huggingface](https://huggingface.co/Wan-AI/Wan2.1-I2V-14B-720P) 🤖 [ModelScope](https://www.modelscope.cn/models/Wan-AI/Wan2.1-I2V-14B-720P) | Supports 720P
113
+ | I2V-14B-480P | 🤗 [Huggingface](https://huggingface.co/Wan-AI/Wan2.1-I2V-14B-480P) 🤖 [ModelScope](https://www.modelscope.cn/models/Wan-AI/Wan2.1-I2V-14B-480P) | Supports 480P
114
+ | T2V-1.3B | 🤗 [Huggingface](https://huggingface.co/Wan-AI/Wan2.1-T2V-1.3B) 🤖 [ModelScope](https://www.modelscope.cn/models/Wan-AI/Wan2.1-T2V-1.3B) | Supports 480P
115
+ | FLF2V-14B | 🤗 [Huggingface](https://huggingface.co/Wan-AI/Wan2.1-FLF2V-14B-720P) 🤖 [ModelScope](https://www.modelscope.cn/models/Wan-AI/Wan2.1-FLF2V-14B-720P) | Supports 720P
116
+ | VACE-1.3B | 🤗 [Huggingface](https://huggingface.co/Wan-AI/Wan2.1-VACE-1.3B) 🤖 [ModelScope](https://www.modelscope.cn/models/Wan-AI/Wan2.1-VACE-1.3B) | Supports 480P
117
+ | VACE-14B | 🤗 [Huggingface](https://huggingface.co/Wan-AI/Wan2.1-VACE-14B) 🤖 [ModelScope](https://www.modelscope.cn/models/Wan-AI/Wan2.1-VACE-14B) | Supports both 480P and 720P
118
+
119
+ > 💡Note:
120
+ > * The 1.3B model is capable of generating videos at 720P resolution. However, due to limited training at this resolution, the results are generally less stable compared to 480P. For optimal performance, we recommend using 480P resolution.
121
+ > * For the first-last frame to video generation, we train our model primarily on Chinese text-video pairs. Therefore, we recommend using Chinese prompt to achieve better results.
122
+
123
+
124
+ Download models using huggingface-cli:
125
+ ``` sh
126
+ pip install "huggingface_hub[cli]"
127
+ huggingface-cli download Wan-AI/Wan2.1-T2V-14B --local-dir ./Wan2.1-T2V-14B
128
+ ```
129
+
130
+ Download models using modelscope-cli:
131
+ ``` sh
132
+ pip install modelscope
133
+ modelscope download Wan-AI/Wan2.1-T2V-14B --local_dir ./Wan2.1-T2V-14B
134
+ ```
135
+ #### Run Text-to-Video Generation
136
+
137
+ This repository supports two Text-to-Video models (1.3B and 14B) and two resolutions (480P and 720P). The parameters and configurations for these models are as follows:
138
+
139
+ <table>
140
+ <thead>
141
+ <tr>
142
+ <th rowspan="2">Task</th>
143
+ <th colspan="2">Resolution</th>
144
+ <th rowspan="2">Model</th>
145
+ </tr>
146
+ <tr>
147
+ <th>480P</th>
148
+ <th>720P</th>
149
+ </tr>
150
+ </thead>
151
+ <tbody>
152
+ <tr>
153
+ <td>t2v-14B</td>
154
+ <td style="color: green;">✔️</td>
155
+ <td style="color: green;">✔️</td>
156
+ <td>Wan2.1-T2V-14B</td>
157
+ </tr>
158
+ <tr>
159
+ <td>t2v-1.3B</td>
160
+ <td style="color: green;">✔️</td>
161
+ <td style="color: red;">❌</td>
162
+ <td>Wan2.1-T2V-1.3B</td>
163
+ </tr>
164
+ </tbody>
165
+ </table>
166
+
167
+
168
+ ##### (1) Without Prompt Extension
169
+
170
+ To facilitate implementation, we will start with a basic version of the inference process that skips the [prompt extension](#2-using-prompt-extention) step.
171
+
172
+ - Single-GPU inference
173
+
174
+ ``` sh
175
+ python generate.py --task t2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-T2V-14B --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
176
+ ```
177
+
178
+ If you encounter OOM (Out-of-Memory) issues, you can use the `--offload_model True` and `--t5_cpu` options to reduce GPU memory usage. For example, on an RTX 4090 GPU:
179
+
180
+ ``` sh
181
+ python generate.py --task t2v-1.3B --size 832*480 --ckpt_dir ./Wan2.1-T2V-1.3B --offload_model True --t5_cpu --sample_shift 8 --sample_guide_scale 6 --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
182
+ ```
183
+
184
+ > 💡Note: If you are using the `T2V-1.3B` model, we recommend setting the parameter `--sample_guide_scale 6`. The `--sample_shift parameter` can be adjusted within the range of 8 to 12 based on the performance.
185
+
186
+
187
+ - Multi-GPU inference using FSDP + xDiT USP
188
+
189
+ We use FSDP and [xDiT](https://github.com/xdit-project/xDiT) USP to accelerate inference.
190
+
191
+ * Ulysess Strategy
192
+
193
+ If you want to use [`Ulysses`](https://arxiv.org/abs/2309.14509) strategy, you should set `--ulysses_size $GPU_NUMS`. Note that the `num_heads` should be divisible by `ulysses_size` if you wish to use `Ulysess` strategy. For the 1.3B model, the `num_heads` is `12` which can't be divided by 8 (as most multi-GPU machines have 8 GPUs). Therefore, it is recommended to use `Ring Strategy` instead.
194
+
195
+ * Ring Strategy
196
+
197
+ If you want to use [`Ring`](https://arxiv.org/pdf/2310.01889) strategy, you should set `--ring_size $GPU_NUMS`. Note that the `sequence length` should be divisible by `ring_size` when using the `Ring` strategy.
198
+
199
+ Of course, you can also combine the use of `Ulysses` and `Ring` strategies.
200
+
201
+
202
+ ``` sh
203
+ pip install "xfuser>=0.4.1"
204
+ torchrun --nproc_per_node=8 generate.py --task t2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-T2V-14B --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."
205
+ ```
206
+
207
+
208
+ ##### (2) Using Prompt Extension
209
+
210
+ Extending the prompts can effectively enrich the details in the generated videos, further enhancing the video quality. Therefore, we recommend enabling prompt extension. We provide the following two methods for prompt extension:
211
+
212
+ - Use the Dashscope API for extension.
213
+ - Apply for a `dashscope.api_key` in advance ([EN](https://www.alibabacloud.com/help/en/model-studio/getting-started/first-api-call-to-qwen) | [CN](https://help.aliyun.com/zh/model-studio/getting-started/first-api-call-to-qwen)).
214
+ - Configure the environment variable `DASH_API_KEY` to specify the Dashscope API key. For users of Alibaba Cloud's international site, you also need to set the environment variable `DASH_API_URL` to 'https://dashscope-intl.aliyuncs.com/api/v1'. For more detailed instructions, please refer to the [dashscope document](https://www.alibabacloud.com/help/en/model-studio/developer-reference/use-qwen-by-calling-api?spm=a2c63.p38356.0.i1).
215
+ - Use the `qwen-plus` model for text-to-video tasks and `qwen-vl-max` for image-to-video tasks.
216
+ - You can modify the model used for extension with the parameter `--prompt_extend_model`. For example:
217
+ ```sh
218
+ DASH_API_KEY=your_key python generate.py --task t2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-T2V-14B --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage" --use_prompt_extend --prompt_extend_method 'dashscope' --prompt_extend_target_lang 'zh'
219
+ ```
220
+
221
+ - Using a local model for extension.
222
+
223
+ - By default, the Qwen model on HuggingFace is used for this extension. Users can choose Qwen models or other models based on the available GPU memory size.
224
+ - For text-to-video tasks, you can use models like `Qwen/Qwen2.5-14B-Instruct`, `Qwen/Qwen2.5-7B-Instruct` and `Qwen/Qwen2.5-3B-Instruct`.
225
+ - For image-to-video or first-last-frame-to-video tasks, you can use models like `Qwen/Qwen2.5-VL-7B-Instruct` and `Qwen/Qwen2.5-VL-3B-Instruct`.
226
+ - Larger models generally provide better extension results but require more GPU memory.
227
+ - You can modify the model used for extension with the parameter `--prompt_extend_model` , allowing you to specify either a local model path or a Hugging Face model. For example:
228
+
229
+ ``` sh
230
+ python generate.py --task t2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-T2V-14B --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage" --use_prompt_extend --prompt_extend_method 'local_qwen' --prompt_extend_target_lang 'zh'
231
+ ```
232
+
233
+
234
+ ##### (3) Running with Diffusers
235
+
236
+ You can easily inference **Wan2.1**-T2V using Diffusers with the following command:
237
+ ``` python
238
+ import torch
239
+ from diffusers.utils import export_to_video
240
+ from diffusers import AutoencoderKLWan, WanPipeline
241
+ from diffusers.schedulers.scheduling_unipc_multistep import UniPCMultistepScheduler
242
+
243
+ # Available models: Wan-AI/Wan2.1-T2V-14B-Diffusers, Wan-AI/Wan2.1-T2V-1.3B-Diffusers
244
+ model_id = "Wan-AI/Wan2.1-T2V-14B-Diffusers"
245
+ vae = AutoencoderKLWan.from_pretrained(model_id, subfolder="vae", torch_dtype=torch.float32)
246
+ flow_shift = 5.0 # 5.0 for 720P, 3.0 for 480P
247
+ scheduler = UniPCMultistepScheduler(prediction_type='flow_prediction', use_flow_sigmas=True, num_train_timesteps=1000, flow_shift=flow_shift)
248
+ pipe = WanPipeline.from_pretrained(model_id, vae=vae, torch_dtype=torch.bfloat16)
249
+ pipe.scheduler = scheduler
250
+ pipe.to("cuda")
251
+
252
+ prompt = "A cat and a dog baking a cake together in a kitchen. The cat is carefully measuring flour, while the dog is stirring the batter with a wooden spoon. The kitchen is cozy, with sunlight streaming through the window."
253
+ negative_prompt = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards"
254
+
255
+ output = pipe(
256
+ prompt=prompt,
257
+ negative_prompt=negative_prompt,
258
+ height=720,
259
+ width=1280,
260
+ num_frames=81,
261
+ guidance_scale=5.0,
262
+ ).frames[0]
263
+ export_to_video(output, "output.mp4", fps=16)
264
+ ```
265
+ > 💡Note: Please note that this example does not integrate Prompt Extension and distributed inference. We will soon update with the integrated prompt extension and multi-GPU version of Diffusers.
266
+
267
+
268
+ ##### (4) Running local gradio
269
+
270
+ ``` sh
271
+ cd gradio
272
+ # if one uses dashscope’s API for prompt extension
273
+ DASH_API_KEY=your_key python t2v_14B_singleGPU.py --prompt_extend_method 'dashscope' --ckpt_dir ./Wan2.1-T2V-14B
274
+
275
+ # if one uses a local model for prompt extension
276
+ python t2v_14B_singleGPU.py --prompt_extend_method 'local_qwen' --ckpt_dir ./Wan2.1-T2V-14B
277
+ ```
278
+
279
+
280
+
281
+ #### Run Image-to-Video Generation
282
+
283
+ Similar to Text-to-Video, Image-to-Video is also divided into processes with and without the prompt extension step. The specific parameters and their corresponding settings are as follows:
284
+ <table>
285
+ <thead>
286
+ <tr>
287
+ <th rowspan="2">Task</th>
288
+ <th colspan="2">Resolution</th>
289
+ <th rowspan="2">Model</th>
290
+ </tr>
291
+ <tr>
292
+ <th>480P</th>
293
+ <th>720P</th>
294
+ </tr>
295
+ </thead>
296
+ <tbody>
297
+ <tr>
298
+ <td>i2v-14B</td>
299
+ <td style="color: green;">❌</td>
300
+ <td style="color: green;">✔️</td>
301
+ <td>Wan2.1-I2V-14B-720P</td>
302
+ </tr>
303
+ <tr>
304
+ <td>i2v-14B</td>
305
+ <td style="color: green;">✔️</td>
306
+ <td style="color: red;">❌</td>
307
+ <td>Wan2.1-T2V-14B-480P</td>
308
+ </tr>
309
+ </tbody>
310
+ </table>
311
+
312
+
313
+ ##### (1) Without Prompt Extension
314
+
315
+ - Single-GPU inference
316
+ ```sh
317
+ python generate.py --task i2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside."
318
+ ```
319
+
320
+ > 💡For the Image-to-Video task, the `size` parameter represents the area of the generated video, with the aspect ratio following that of the original input image.
321
+
322
+
323
+ - Multi-GPU inference using FSDP + xDiT USP
324
+
325
+ ```sh
326
+ pip install "xfuser>=0.4.1"
327
+ torchrun --nproc_per_node=8 generate.py --task i2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside."
328
+ ```
329
+
330
+ ##### (2) Using Prompt Extension
331
+
332
+
333
+ The process of prompt extension can be referenced [here](#2-using-prompt-extention).
334
+
335
+ Run with local prompt extension using `Qwen/Qwen2.5-VL-7B-Instruct`:
336
+ ```
337
+ python generate.py --task i2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --use_prompt_extend --prompt_extend_model Qwen/Qwen2.5-VL-7B-Instruct --prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside."
338
+ ```
339
+
340
+ Run with remote prompt extension using `dashscope`:
341
+ ```
342
+ DASH_API_KEY=your_key python generate.py --task i2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-I2V-14B-720P --image examples/i2v_input.JPG --use_prompt_extend --prompt_extend_method 'dashscope' --prompt "Summer beach vacation style, a white cat wearing sunglasses sits on a surfboard. The fluffy-furred feline gazes directly at the camera with a relaxed expression. Blurred beach scenery forms the background featuring crystal-clear waters, distant green hills, and a blue sky dotted with white clouds. The cat assumes a naturally relaxed posture, as if savoring the sea breeze and warm sunlight. A close-up shot highlights the feline's intricate details and the refreshing atmosphere of the seaside."
343
+ ```
344
+
345
+
346
+ ##### (3) Running with Diffusers
347
+
348
+ You can easily inference **Wan2.1**-I2V using Diffusers with the following command:
349
+ ``` python
350
+ import torch
351
+ import numpy as np
352
+ from diffusers import AutoencoderKLWan, WanImageToVideoPipeline
353
+ from diffusers.utils import export_to_video, load_image
354
+ from transformers import CLIPVisionModel
355
+
356
+ # Available models: Wan-AI/Wan2.1-I2V-14B-480P-Diffusers, Wan-AI/Wan2.1-I2V-14B-720P-Diffusers
357
+ model_id = "Wan-AI/Wan2.1-I2V-14B-720P-Diffusers"
358
+ image_encoder = CLIPVisionModel.from_pretrained(model_id, subfolder="image_encoder", torch_dtype=torch.float32)
359
+ vae = AutoencoderKLWan.from_pretrained(model_id, subfolder="vae", torch_dtype=torch.float32)
360
+ pipe = WanImageToVideoPipeline.from_pretrained(model_id, vae=vae, image_encoder=image_encoder, torch_dtype=torch.bfloat16)
361
+ pipe.to("cuda")
362
+
363
+ image = load_image(
364
+ "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/astronaut.jpg"
365
+ )
366
+ max_area = 720 * 1280
367
+ aspect_ratio = image.height / image.width
368
+ mod_value = pipe.vae_scale_factor_spatial * pipe.transformer.config.patch_size[1]
369
+ height = round(np.sqrt(max_area * aspect_ratio)) // mod_value * mod_value
370
+ width = round(np.sqrt(max_area / aspect_ratio)) // mod_value * mod_value
371
+ image = image.resize((width, height))
372
+ prompt = (
373
+ "An astronaut hatching from an egg, on the surface of the moon, the darkness and depth of space realised in "
374
+ "the background. High quality, ultrarealistic detail and breath-taking movie-like camera shot."
375
+ )
376
+ negative_prompt = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards"
377
+
378
+ output = pipe(
379
+ image=image,
380
+ prompt=prompt,
381
+ negative_prompt=negative_prompt,
382
+ height=height, width=width,
383
+ num_frames=81,
384
+ guidance_scale=5.0
385
+ ).frames[0]
386
+ export_to_video(output, "output.mp4", fps=16)
387
+
388
+ ```
389
+ > 💡Note: Please note that this example does not integrate Prompt Extension and distributed inference. We will soon update with the integrated prompt extension and multi-GPU version of Diffusers.
390
+
391
+
392
+ ##### (4) Running local gradio
393
+
394
+ ```sh
395
+ cd gradio
396
+ # if one only uses 480P model in gradio
397
+ DASH_API_KEY=your_key python i2v_14B_singleGPU.py --prompt_extend_method 'dashscope' --ckpt_dir_480p ./Wan2.1-I2V-14B-480P
398
+
399
+ # if one only uses 720P model in gradio
400
+ DASH_API_KEY=your_key python i2v_14B_singleGPU.py --prompt_extend_method 'dashscope' --ckpt_dir_720p ./Wan2.1-I2V-14B-720P
401
+
402
+ # if one uses both 480P and 720P models in gradio
403
+ DASH_API_KEY=your_key python i2v_14B_singleGPU.py --prompt_extend_method 'dashscope' --ckpt_dir_480p ./Wan2.1-I2V-14B-480P --ckpt_dir_720p ./Wan2.1-I2V-14B-720P
404
+ ```
405
+
406
+
407
+ #### Run First-Last-Frame-to-Video Generation
408
+
409
+ First-Last-Frame-to-Video is also divided into processes with and without the prompt extension step. Currently, only 720P is supported. The specific parameters and corresponding settings are as follows:
410
+ <table>
411
+ <thead>
412
+ <tr>
413
+ <th rowspan="2">Task</th>
414
+ <th colspan="2">Resolution</th>
415
+ <th rowspan="2">Model</th>
416
+ </tr>
417
+ <tr>
418
+ <th>480P</th>
419
+ <th>720P</th>
420
+ </tr>
421
+ </thead>
422
+ <tbody>
423
+ <tr>
424
+ <td>flf2v-14B</td>
425
+ <td style="color: green;">❌</td>
426
+ <td style="color: green;">✔️</td>
427
+ <td>Wan2.1-FLF2V-14B-720P</td>
428
+ </tr>
429
+ </tbody>
430
+ </table>
431
+
432
+
433
+ ##### (1) Without Prompt Extension
434
+
435
+ - Single-GPU inference
436
+ ```sh
437
+ python generate.py --task flf2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-FLF2V-14B-720P --first_frame examples/flf2v_input_first_frame.png --last_frame examples/flf2v_input_last_frame.png --prompt "CG animation style, a small blue bird takes off from the ground, flapping its wings. The bird’s feathers are delicate, with a unique pattern on its chest. The background shows a blue sky with white clouds under bright sunshine. The camera follows the bird upward, capturing its flight and the vastness of the sky from a close-up, low-angle perspective."
438
+ ```
439
+
440
+ > 💡Similar to Image-to-Video, the `size` parameter represents the area of the generated video, with the aspect ratio following that of the original input image.
441
+
442
+
443
+ - Multi-GPU inference using FSDP + xDiT USP
444
+
445
+ ```sh
446
+ pip install "xfuser>=0.4.1"
447
+ torchrun --nproc_per_node=8 generate.py --task flf2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-FLF2V-14B-720P --first_frame examples/flf2v_input_first_frame.png --last_frame examples/flf2v_input_last_frame.png --dit_fsdp --t5_fsdp --ulysses_size 8 --prompt "CG animation style, a small blue bird takes off from the ground, flapping its wings. The bird’s feathers are delicate, with a unique pattern on its chest. The background shows a blue sky with white clouds under bright sunshine. The camera follows the bird upward, capturing its flight and the vastness of the sky from a close-up, low-angle perspective."
448
+ ```
449
+
450
+ ##### (2) Using Prompt Extension
451
+
452
+
453
+ The process of prompt extension can be referenced [here](#2-using-prompt-extention).
454
+
455
+ Run with local prompt extension using `Qwen/Qwen2.5-VL-7B-Instruct`:
456
+ ```
457
+ python generate.py --task flf2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-FLF2V-14B-720P --first_frame examples/flf2v_input_first_frame.png --last_frame examples/flf2v_input_last_frame.png --use_prompt_extend --prompt_extend_model Qwen/Qwen2.5-VL-7B-Instruct --prompt "CG animation style, a small blue bird takes off from the ground, flapping its wings. The bird’s feathers are delicate, with a unique pattern on its chest. The background shows a blue sky with white clouds under bright sunshine. The camera follows the bird upward, capturing its flight and the vastness of the sky from a close-up, low-angle perspective."
458
+ ```
459
+
460
+ Run with remote prompt extension using `dashscope`:
461
+ ```
462
+ DASH_API_KEY=your_key python generate.py --task flf2v-14B --size 1280*720 --ckpt_dir ./Wan2.1-FLF2V-14B-720P --first_frame examples/flf2v_input_first_frame.png --last_frame examples/flf2v_input_last_frame.png --use_prompt_extend --prompt_extend_method 'dashscope' --prompt "CG animation style, a small blue bird takes off from the ground, flapping its wings. The bird’s feathers are delicate, with a unique pattern on its chest. The background shows a blue sky with white clouds under bright sunshine. The camera follows the bird upward, capturing its flight and the vastness of the sky from a close-up, low-angle perspective."
463
+ ```
464
+
465
+
466
+ ##### (3) Running local gradio
467
+
468
+ ```sh
469
+ cd gradio
470
+ # use 720P model in gradio
471
+ DASH_API_KEY=your_key python flf2v_14B_singleGPU.py --prompt_extend_method 'dashscope' --ckpt_dir_720p ./Wan2.1-FLF2V-14B-720P
472
+ ```
473
+
474
+
475
+ #### Run VACE
476
+
477
+ [VACE](https://github.com/ali-vilab/VACE) now supports two models (1.3B and 14B) and two main resolutions (480P and 720P).
478
+ The input supports any resolution, but to achieve optimal results, the video size should fall within a specific range.
479
+ The parameters and configurations for these models are as follows:
480
+
481
+ <table>
482
+ <thead>
483
+ <tr>
484
+ <th rowspan="2">Task</th>
485
+ <th colspan="2">Resolution</th>
486
+ <th rowspan="2">Model</th>
487
+ </tr>
488
+ <tr>
489
+ <th>480P(~81x480x832)</th>
490
+ <th>720P(~81x720x1280)</th>
491
+ </tr>
492
+ </thead>
493
+ <tbody>
494
+ <tr>
495
+ <td>VACE</td>
496
+ <td style="color: green; text-align: center; vertical-align: middle;">✔️</td>
497
+ <td style="color: green; text-align: center; vertical-align: middle;">✔️</td>
498
+ <td>Wan2.1-VACE-14B</td>
499
+ </tr>
500
+ <tr>
501
+ <td>VACE</td>
502
+ <td style="color: green; text-align: center; vertical-align: middle;">✔️</td>
503
+ <td style="color: red; text-align: center; vertical-align: middle;">❌</td>
504
+ <td>Wan2.1-VACE-1.3B</td>
505
+ </tr>
506
+ </tbody>
507
+ </table>
508
+
509
+ In VACE, users can input text prompt and optional video, mask, and image for video generation or editing. Detailed instructions for using VACE can be found in the [User Guide](https://github.com/ali-vilab/VACE/blob/main/UserGuide.md).
510
+ The execution process is as follows:
511
+
512
+ ##### (1) Preprocessing
513
+
514
+ User-collected materials needs to be preprocessed into VACE-recognizable inputs, including `src_video`, `src_mask`, `src_ref_images`, and `prompt`.
515
+ For R2V (Reference-to-Video Generation), you may skip this preprocessing, but for V2V (Video-to-Video Editing) and MV2V (Masked Video-to-Video Editing) tasks, additional preprocessing is required to obtain video with conditions such as depth, pose or masked regions.
516
+ For more details, please refer to [vace_preproccess](https://github.com/ali-vilab/VACE/blob/main/vace/vace_preproccess.py).
517
+
518
+ ##### (2) cli inference
519
+
520
+ - Single-GPU inference
521
+ ```sh
522
+ python generate.py --task vace-1.3B --size 832*480 --ckpt_dir ./Wan2.1-VACE-1.3B --src_ref_images examples/girl.png,examples/snake.png --prompt "在一个欢乐而充满节日气氛的场景中,穿着鲜艳红色春服的小女孩正与她的可爱��通蛇嬉戏。她的春服上绣着金色吉祥图案,散发着喜庆的气息,脸上洋溢着灿烂的笑容。蛇身呈现出亮眼的绿色,形状圆润,宽大的眼睛让它显得既友善又幽默。小女孩欢快地用手轻轻抚摸着蛇的头部,共同享受着这温馨的时刻。周围五彩斑斓的灯笼和彩带装饰着环境,阳光透过洒在她们身上,营造出一个充满友爱与幸福的新年氛围。"
523
+ ```
524
+
525
+ - Multi-GPU inference using FSDP + xDiT USP
526
+
527
+ ```sh
528
+ torchrun --nproc_per_node=8 generate.py --task vace-14B --size 1280*720 --ckpt_dir ./Wan2.1-VACE-14B --dit_fsdp --t5_fsdp --ulysses_size 8 --src_ref_images examples/girl.png,examples/snake.png --prompt "在一个欢乐而充满节日气氛的场景中,穿着鲜艳红色春服的小女孩正与她的可爱卡通蛇嬉戏。她的春服上绣着金色吉祥图案,散发着喜庆的气息,脸上洋溢着灿烂的笑容。蛇身呈现出亮眼的绿色,形状圆润,宽大的眼睛让它显得既友善又幽默。小女孩欢快地用手轻轻抚摸着蛇的头部,共同享受着这温馨的时刻。周围五彩斑斓的灯笼和彩带装饰着环境,阳光透过洒在她们身上,营造出一个充满友爱与幸福的新年氛围。"
529
+ ```
530
+
531
+ ##### (3) Running local gradio
532
+ - Single-GPU inference
533
+ ```sh
534
+ python gradio/vace.py --ckpt_dir ./Wan2.1-VACE-1.3B
535
+ ```
536
+
537
+ - Multi-GPU inference using FSDP + xDiT USP
538
+ ```sh
539
+ python gradio/vace.py --mp --ulysses_size 8 --ckpt_dir ./Wan2.1-VACE-14B/
540
+ ```
541
+
542
+ #### Run Text-to-Image Generation
543
+
544
+ Wan2.1 is a unified model for both image and video generation. Since it was trained on both types of data, it can also generate images. The command for generating images is similar to video generation, as follows:
545
+
546
+ ##### (1) Without Prompt Extension
547
+
548
+ - Single-GPU inference
549
+ ```sh
550
+ python generate.py --task t2i-14B --size 1024*1024 --ckpt_dir ./Wan2.1-T2V-14B --prompt '一个朴素端庄的美人'
551
+ ```
552
+
553
+ - Multi-GPU inference using FSDP + xDiT USP
554
+
555
+ ```sh
556
+ torchrun --nproc_per_node=8 generate.py --dit_fsdp --t5_fsdp --ulysses_size 8 --base_seed 0 --frame_num 1 --task t2i-14B --size 1024*1024 --prompt '一个朴素端庄的美人' --ckpt_dir ./Wan2.1-T2V-14B
557
+ ```
558
+
559
+ ##### (2) With Prompt Extention
560
+
561
+ - Single-GPU inference
562
+ ```sh
563
+ python generate.py --task t2i-14B --size 1024*1024 --ckpt_dir ./Wan2.1-T2V-14B --prompt '一个朴素端庄的美人' --use_prompt_extend
564
+ ```
565
+
566
+ - Multi-GPU inference using FSDP + xDiT USP
567
+ ```sh
568
+ torchrun --nproc_per_node=8 generate.py --dit_fsdp --t5_fsdp --ulysses_size 8 --base_seed 0 --frame_num 1 --task t2i-14B --size 1024*1024 --ckpt_dir ./Wan2.1-T2V-14B --prompt '一个朴素端庄的美人' --use_prompt_extend
569
+ ```
570
+
571
+
572
+ ## Manual Evaluation
573
+
574
+ ##### (1) Text-to-Video Evaluation
575
+
576
+ Through manual evaluation, the results generated after prompt extension are superior to those from both closed-source and open-source models.
577
+
578
+ <div align="center">
579
+ <img src="assets/t2v_res.jpg" alt="" style="width: 80%;" />
580
+ </div>
581
+
582
+
583
+ ##### (2) Image-to-Video Evaluation
584
+
585
+ We also conducted extensive manual evaluations to evaluate the performance of the Image-to-Video model, and the results are presented in the table below. The results clearly indicate that **Wan2.1** outperforms both closed-source and open-source models.
586
+
587
+ <div align="center">
588
+ <img src="assets/i2v_res.png" alt="" style="width: 80%;" />
589
+ </div>
590
+
591
+
592
+ ## Computational Efficiency on Different GPUs
593
+
594
+ We test the computational efficiency of different **Wan2.1** models on different GPUs in the following table. The results are presented in the format: **Total time (s) / peak GPU memory (GB)**.
595
+
596
+
597
+ <div align="center">
598
+ <img src="assets/comp_effic.png" alt="" style="width: 80%;" />
599
+ </div>
600
+
601
+ > The parameter settings for the tests presented in this table are as follows:
602
+ > (1) For the 1.3B model on 8 GPUs, set `--ring_size 8` and `--ulysses_size 1`;
603
+ > (2) For the 14B model on 1 GPU, use `--offload_model True`;
604
+ > (3) For the 1.3B model on a single 4090 GPU, set `--offload_model True --t5_cpu`;
605
+ > (4) For all testings, no prompt extension was applied, meaning `--use_prompt_extend` was not enabled.
606
+
607
+ > 💡Note: T2V-14B is slower than I2V-14B because the former samples 50 steps while the latter uses 40 steps.
608
+
609
+
610
+ -------
611
+
612
+ ## Introduction of Wan2.1
613
+
614
+ **Wan2.1** is designed on the mainstream diffusion transformer paradigm, achieving significant advancements in generative capabilities through a series of innovations. These include our novel spatio-temporal variational autoencoder (VAE), scalable training strategies, large-scale data construction, and automated evaluation metrics. Collectively, these contributions enhance the model’s performance and versatility.
615
+
616
+
617
+ ##### (1) 3D Variational Autoencoders
618
+ We propose a novel 3D causal VAE architecture, termed **Wan-VAE** specifically designed for video generation. By combining multiple strategies, we improve spatio-temporal compression, reduce memory usage, and ensure temporal causality. **Wan-VAE** demonstrates significant advantages in performance efficiency compared to other open-source VAEs. Furthermore, our **Wan-VAE** can encode and decode unlimited-length 1080P videos without losing historical temporal information, making it particularly well-suited for video generation tasks.
619
+
620
+
621
+ <div align="center">
622
+ <img src="assets/video_vae_res.jpg" alt="" style="width: 80%;" />
623
+ </div>
624
+
625
+
626
+ ##### (2) Video Diffusion DiT
627
+
628
+ **Wan2.1** is designed using the Flow Matching framework within the paradigm of mainstream Diffusion Transformers. Our model's architecture uses the T5 Encoder to encode multilingual text input, with cross-attention in each transformer block embedding the text into the model structure. Additionally, we employ an MLP with a Linear layer and a SiLU layer to process the input time embeddings and predict six modulation parameters individually. This MLP is shared across all transformer blocks, with each block learning a distinct set of biases. Our experimental findings reveal a significant performance improvement with this approach at the same parameter scale.
629
+
630
+ <div align="center">
631
+ <img src="assets/video_dit_arch.jpg" alt="" style="width: 80%;" />
632
+ </div>
633
+
634
+
635
+ | Model | Dimension | Input Dimension | Output Dimension | Feedforward Dimension | Frequency Dimension | Number of Heads | Number of Layers |
636
+ |--------|-----------|-----------------|------------------|-----------------------|---------------------|-----------------|------------------|
637
+ | 1.3B | 1536 | 16 | 16 | 8960 | 256 | 12 | 30 |
638
+ | 14B | 5120 | 16 | 16 | 13824 | 256 | 40 | 40 |
639
+
640
+
641
+
642
+ ##### Data
643
+
644
+ We curated and deduplicated a candidate dataset comprising a vast amount of image and video data. During the data curation process, we designed a four-step data cleaning process, focusing on fundamental dimensions, visual quality and motion quality. Through the robust data processing pipeline, we can easily obtain high-quality, diverse, and large-scale training sets of images and videos.
645
+
646
+ ![figure1](assets/data_for_diff_stage.jpg "figure1")
647
+
648
+
649
+ ##### Comparisons to SOTA
650
+ We compared **Wan2.1** with leading open-source and closed-source models to evaluate the performance. Using our carefully designed set of 1,035 internal prompts, we tested across 14 major dimensions and 26 sub-dimensions. We then compute the total score by performing a weighted calculation on the scores of each dimension, utilizing weights derived from human preferences in the matching process. The detailed results are shown in the table below. These results demonstrate our model's superior performance compared to both open-source and closed-source models.
651
+
652
+ ![figure1](assets/vben_vs_sota.png "figure1")
653
+
654
+
655
+ ## Citation
656
+ If you find our work helpful, please cite us.
657
+
658
+ ```
659
+ @article{wan2025,
660
+ title={Wan: Open and Advanced Large-Scale Video Generative Models},
661
+ author={Ang Wang and Baole Ai and Bin Wen and Chaojie Mao and Chen-Wei Xie and Di Chen and Feiwu Yu and Haiming Zhao and Jianxiao Yang and Jianyuan Zeng and Jiayu Wang and Jingfeng Zhang and Jingren Zhou and Jinkai Wang and Jixuan Chen and Kai Zhu and Kang Zhao and Keyu Yan and Lianghua Huang and Mengyang Feng and Ningyi Zhang and Pandeng Li and Pingyu Wu and Ruihang Chu and Ruili Feng and Shiwei Zhang and Siyang Sun and Tao Fang and Tianxing Wang and Tianyi Gui and Tingyu Weng and Tong Shen and Wei Lin and Wei Wang and Wei Wang and Wenmeng Zhou and Wente Wang and Wenting Shen and Wenyuan Yu and Xianzhong Shi and Xiaoming Huang and Xin Xu and Yan Kou and Yangyu Lv and Yifei Li and Yijing Liu and Yiming Wang and Yingya Zhang and Yitong Huang and Yong Li and You Wu and Yu Liu and Yulin Pan and Yun Zheng and Yuntao Hong and Yupeng Shi and Yutong Feng and Zeyinzi Jiang and Zhen Han and Zhi-Fan Wu and Ziyu Liu},
662
+ journal = {arXiv preprint arXiv:2503.20314},
663
+ year={2025}
664
+ }
665
+ ```
666
+
667
+ ## License Agreement
668
+ The models in this repository are licensed under the Apache 2.0 License. We claim no rights over the your generated contents, granting you the freedom to use them while ensuring that your usage complies with the provisions of this license. You are fully accountable for your use of the models, which must not involve sharing any content that violates applicable laws, causes harm to individuals or groups, disseminates personal information intended for harm, spreads misinformation, or targets vulnerable populations. For a complete list of restrictions and details regarding your rights, please refer to the full text of the [license](LICENSE.txt).
669
+
670
+
671
+ ## Acknowledgements
672
+
673
+ We would like to thank the contributors to the [SD3](https://huggingface.co/stabilityai/stable-diffusion-3-medium), [Qwen](https://huggingface.co/Qwen), [umt5-xxl](https://huggingface.co/google/umt5-xxl), [diffusers](https://github.com/huggingface/diffusers) and [HuggingFace](https://huggingface.co) repositories, for their open research.
674
+
675
+
676
+
677
+ ## Contact Us
678
+ If you would like to leave a message to our research or product teams, feel free to join our [Discord](https://discord.gg/AKNgpMK4Yj) or [WeChat groups](https://gw.alicdn.com/imgextra/i2/O1CN01tqjWFi1ByuyehkTSB_!!6000000000015-0-tps-611-1279.jpg)!
video_gen_14d/models/Wan2.1-VACE-1.3B/Wan2.1_VAE.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:38071ab59bd94681c686fa51d75a1968f64e470262043be31f7a094e442fd981
3
+ size 507609880
video_gen_14d/models/Wan2.1-VACE-1.3B/assets/comp_effic.png ADDED

Git LFS Details

  • SHA256: b0e225caffb4b31295ad150f95ee852e4c3dde4a00ac8f79a2ff500f2ce26b8d
  • Pointer size: 132 Bytes
  • Size of remote file: 1.79 MB
video_gen_14d/models/Wan2.1-VACE-1.3B/assets/data_for_diff_stage.jpg ADDED

Git LFS Details

  • SHA256: 59aec08409f2d46b0e640e4e120dc7cca52c08c3de56d026602dbcff1ebf241a
  • Pointer size: 131 Bytes
  • Size of remote file: 528 kB
video_gen_14d/models/Wan2.1-VACE-1.3B/assets/i2v_res.png ADDED

Git LFS Details

  • SHA256: 6823b3206d8d0cb18d3b5b949dec1217f1178109ba11f14e977b67e1f7b8a248
  • Pointer size: 131 Bytes
  • Size of remote file: 892 kB
video_gen_14d/models/Wan2.1-VACE-1.3B/assets/logo.png ADDED

Git LFS Details

  • SHA256: 96cddc0f667293436d0b9f92a299b6346b65b231d38ee49719a33d46c91fe1e3
  • Pointer size: 130 Bytes
  • Size of remote file: 56.3 kB
video_gen_14d/models/Wan2.1-VACE-1.3B/assets/t2v_res.jpg ADDED

Git LFS Details

  • SHA256: 91db579092446be2a834bc67721a8e4346936f38c4edb912f459ca3e10f8f439
  • Pointer size: 131 Bytes
  • Size of remote file: 301 kB
video_gen_14d/models/Wan2.1-VACE-1.3B/assets/vben_vs_sota.png ADDED

Git LFS Details

  • SHA256: 9a0e86ca85046d2675f97984b88b6e74df07bba8a62a31ab8a1aef50d4eda44e
  • Pointer size: 132 Bytes
  • Size of remote file: 1.55 MB
video_gen_14d/models/Wan2.1-VACE-1.3B/assets/video_dit_arch.jpg ADDED

Git LFS Details

  • SHA256: 195dceec6570289d8b01cc51d2e28a7786216f19de55b23978a52610d1646a66
  • Pointer size: 131 Bytes
  • Size of remote file: 643 kB
video_gen_14d/models/Wan2.1-VACE-1.3B/assets/video_vae_res.jpg ADDED

Git LFS Details

  • SHA256: d8f9e7f7353848056a615c8ef35ab86ec22976bb46cb27405008b4089701945c
  • Pointer size: 131 Bytes
  • Size of remote file: 213 kB
video_gen_14d/models/Wan2.1-VACE-1.3B/config.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "VaceWanModel",
3
+ "_diffusers_version": "0.30.0",
4
+ "dim": 1536,
5
+ "eps": 1e-06,
6
+ "ffn_dim": 8960,
7
+ "freq_dim": 256,
8
+ "in_dim": 16,
9
+ "model_type": "vace",
10
+ "num_heads": 12,
11
+ "num_layers": 30,
12
+ "out_dim": 16,
13
+ "text_len": 512,
14
+ "vace_layers": [0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28],
15
+ "vace_in_dim": 96
16
+ }
video_gen_14d/models/Wan2.1-VACE-1.3B/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c46a6f5f7d32c453c3983bbc59761ea41cd02ad584fb55d1a7ee2b76145847a2
3
+ size 7146067848
video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/special_tokens_map.json ADDED
@@ -0,0 +1,308 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<extra_id_0>",
4
+ "<extra_id_1>",
5
+ "<extra_id_2>",
6
+ "<extra_id_3>",
7
+ "<extra_id_4>",
8
+ "<extra_id_5>",
9
+ "<extra_id_6>",
10
+ "<extra_id_7>",
11
+ "<extra_id_8>",
12
+ "<extra_id_9>",
13
+ "<extra_id_10>",
14
+ "<extra_id_11>",
15
+ "<extra_id_12>",
16
+ "<extra_id_13>",
17
+ "<extra_id_14>",
18
+ "<extra_id_15>",
19
+ "<extra_id_16>",
20
+ "<extra_id_17>",
21
+ "<extra_id_18>",
22
+ "<extra_id_19>",
23
+ "<extra_id_20>",
24
+ "<extra_id_21>",
25
+ "<extra_id_22>",
26
+ "<extra_id_23>",
27
+ "<extra_id_24>",
28
+ "<extra_id_25>",
29
+ "<extra_id_26>",
30
+ "<extra_id_27>",
31
+ "<extra_id_28>",
32
+ "<extra_id_29>",
33
+ "<extra_id_30>",
34
+ "<extra_id_31>",
35
+ "<extra_id_32>",
36
+ "<extra_id_33>",
37
+ "<extra_id_34>",
38
+ "<extra_id_35>",
39
+ "<extra_id_36>",
40
+ "<extra_id_37>",
41
+ "<extra_id_38>",
42
+ "<extra_id_39>",
43
+ "<extra_id_40>",
44
+ "<extra_id_41>",
45
+ "<extra_id_42>",
46
+ "<extra_id_43>",
47
+ "<extra_id_44>",
48
+ "<extra_id_45>",
49
+ "<extra_id_46>",
50
+ "<extra_id_47>",
51
+ "<extra_id_48>",
52
+ "<extra_id_49>",
53
+ "<extra_id_50>",
54
+ "<extra_id_51>",
55
+ "<extra_id_52>",
56
+ "<extra_id_53>",
57
+ "<extra_id_54>",
58
+ "<extra_id_55>",
59
+ "<extra_id_56>",
60
+ "<extra_id_57>",
61
+ "<extra_id_58>",
62
+ "<extra_id_59>",
63
+ "<extra_id_60>",
64
+ "<extra_id_61>",
65
+ "<extra_id_62>",
66
+ "<extra_id_63>",
67
+ "<extra_id_64>",
68
+ "<extra_id_65>",
69
+ "<extra_id_66>",
70
+ "<extra_id_67>",
71
+ "<extra_id_68>",
72
+ "<extra_id_69>",
73
+ "<extra_id_70>",
74
+ "<extra_id_71>",
75
+ "<extra_id_72>",
76
+ "<extra_id_73>",
77
+ "<extra_id_74>",
78
+ "<extra_id_75>",
79
+ "<extra_id_76>",
80
+ "<extra_id_77>",
81
+ "<extra_id_78>",
82
+ "<extra_id_79>",
83
+ "<extra_id_80>",
84
+ "<extra_id_81>",
85
+ "<extra_id_82>",
86
+ "<extra_id_83>",
87
+ "<extra_id_84>",
88
+ "<extra_id_85>",
89
+ "<extra_id_86>",
90
+ "<extra_id_87>",
91
+ "<extra_id_88>",
92
+ "<extra_id_89>",
93
+ "<extra_id_90>",
94
+ "<extra_id_91>",
95
+ "<extra_id_92>",
96
+ "<extra_id_93>",
97
+ "<extra_id_94>",
98
+ "<extra_id_95>",
99
+ "<extra_id_96>",
100
+ "<extra_id_97>",
101
+ "<extra_id_98>",
102
+ "<extra_id_99>",
103
+ "<extra_id_100>",
104
+ "<extra_id_101>",
105
+ "<extra_id_102>",
106
+ "<extra_id_103>",
107
+ "<extra_id_104>",
108
+ "<extra_id_105>",
109
+ "<extra_id_106>",
110
+ "<extra_id_107>",
111
+ "<extra_id_108>",
112
+ "<extra_id_109>",
113
+ "<extra_id_110>",
114
+ "<extra_id_111>",
115
+ "<extra_id_112>",
116
+ "<extra_id_113>",
117
+ "<extra_id_114>",
118
+ "<extra_id_115>",
119
+ "<extra_id_116>",
120
+ "<extra_id_117>",
121
+ "<extra_id_118>",
122
+ "<extra_id_119>",
123
+ "<extra_id_120>",
124
+ "<extra_id_121>",
125
+ "<extra_id_122>",
126
+ "<extra_id_123>",
127
+ "<extra_id_124>",
128
+ "<extra_id_125>",
129
+ "<extra_id_126>",
130
+ "<extra_id_127>",
131
+ "<extra_id_128>",
132
+ "<extra_id_129>",
133
+ "<extra_id_130>",
134
+ "<extra_id_131>",
135
+ "<extra_id_132>",
136
+ "<extra_id_133>",
137
+ "<extra_id_134>",
138
+ "<extra_id_135>",
139
+ "<extra_id_136>",
140
+ "<extra_id_137>",
141
+ "<extra_id_138>",
142
+ "<extra_id_139>",
143
+ "<extra_id_140>",
144
+ "<extra_id_141>",
145
+ "<extra_id_142>",
146
+ "<extra_id_143>",
147
+ "<extra_id_144>",
148
+ "<extra_id_145>",
149
+ "<extra_id_146>",
150
+ "<extra_id_147>",
151
+ "<extra_id_148>",
152
+ "<extra_id_149>",
153
+ "<extra_id_150>",
154
+ "<extra_id_151>",
155
+ "<extra_id_152>",
156
+ "<extra_id_153>",
157
+ "<extra_id_154>",
158
+ "<extra_id_155>",
159
+ "<extra_id_156>",
160
+ "<extra_id_157>",
161
+ "<extra_id_158>",
162
+ "<extra_id_159>",
163
+ "<extra_id_160>",
164
+ "<extra_id_161>",
165
+ "<extra_id_162>",
166
+ "<extra_id_163>",
167
+ "<extra_id_164>",
168
+ "<extra_id_165>",
169
+ "<extra_id_166>",
170
+ "<extra_id_167>",
171
+ "<extra_id_168>",
172
+ "<extra_id_169>",
173
+ "<extra_id_170>",
174
+ "<extra_id_171>",
175
+ "<extra_id_172>",
176
+ "<extra_id_173>",
177
+ "<extra_id_174>",
178
+ "<extra_id_175>",
179
+ "<extra_id_176>",
180
+ "<extra_id_177>",
181
+ "<extra_id_178>",
182
+ "<extra_id_179>",
183
+ "<extra_id_180>",
184
+ "<extra_id_181>",
185
+ "<extra_id_182>",
186
+ "<extra_id_183>",
187
+ "<extra_id_184>",
188
+ "<extra_id_185>",
189
+ "<extra_id_186>",
190
+ "<extra_id_187>",
191
+ "<extra_id_188>",
192
+ "<extra_id_189>",
193
+ "<extra_id_190>",
194
+ "<extra_id_191>",
195
+ "<extra_id_192>",
196
+ "<extra_id_193>",
197
+ "<extra_id_194>",
198
+ "<extra_id_195>",
199
+ "<extra_id_196>",
200
+ "<extra_id_197>",
201
+ "<extra_id_198>",
202
+ "<extra_id_199>",
203
+ "<extra_id_200>",
204
+ "<extra_id_201>",
205
+ "<extra_id_202>",
206
+ "<extra_id_203>",
207
+ "<extra_id_204>",
208
+ "<extra_id_205>",
209
+ "<extra_id_206>",
210
+ "<extra_id_207>",
211
+ "<extra_id_208>",
212
+ "<extra_id_209>",
213
+ "<extra_id_210>",
214
+ "<extra_id_211>",
215
+ "<extra_id_212>",
216
+ "<extra_id_213>",
217
+ "<extra_id_214>",
218
+ "<extra_id_215>",
219
+ "<extra_id_216>",
220
+ "<extra_id_217>",
221
+ "<extra_id_218>",
222
+ "<extra_id_219>",
223
+ "<extra_id_220>",
224
+ "<extra_id_221>",
225
+ "<extra_id_222>",
226
+ "<extra_id_223>",
227
+ "<extra_id_224>",
228
+ "<extra_id_225>",
229
+ "<extra_id_226>",
230
+ "<extra_id_227>",
231
+ "<extra_id_228>",
232
+ "<extra_id_229>",
233
+ "<extra_id_230>",
234
+ "<extra_id_231>",
235
+ "<extra_id_232>",
236
+ "<extra_id_233>",
237
+ "<extra_id_234>",
238
+ "<extra_id_235>",
239
+ "<extra_id_236>",
240
+ "<extra_id_237>",
241
+ "<extra_id_238>",
242
+ "<extra_id_239>",
243
+ "<extra_id_240>",
244
+ "<extra_id_241>",
245
+ "<extra_id_242>",
246
+ "<extra_id_243>",
247
+ "<extra_id_244>",
248
+ "<extra_id_245>",
249
+ "<extra_id_246>",
250
+ "<extra_id_247>",
251
+ "<extra_id_248>",
252
+ "<extra_id_249>",
253
+ "<extra_id_250>",
254
+ "<extra_id_251>",
255
+ "<extra_id_252>",
256
+ "<extra_id_253>",
257
+ "<extra_id_254>",
258
+ "<extra_id_255>",
259
+ "<extra_id_256>",
260
+ "<extra_id_257>",
261
+ "<extra_id_258>",
262
+ "<extra_id_259>",
263
+ "<extra_id_260>",
264
+ "<extra_id_261>",
265
+ "<extra_id_262>",
266
+ "<extra_id_263>",
267
+ "<extra_id_264>",
268
+ "<extra_id_265>",
269
+ "<extra_id_266>",
270
+ "<extra_id_267>",
271
+ "<extra_id_268>",
272
+ "<extra_id_269>",
273
+ "<extra_id_270>",
274
+ "<extra_id_271>",
275
+ "<extra_id_272>",
276
+ "<extra_id_273>",
277
+ "<extra_id_274>",
278
+ "<extra_id_275>",
279
+ "<extra_id_276>",
280
+ "<extra_id_277>",
281
+ "<extra_id_278>",
282
+ "<extra_id_279>",
283
+ "<extra_id_280>",
284
+ "<extra_id_281>",
285
+ "<extra_id_282>",
286
+ "<extra_id_283>",
287
+ "<extra_id_284>",
288
+ "<extra_id_285>",
289
+ "<extra_id_286>",
290
+ "<extra_id_287>",
291
+ "<extra_id_288>",
292
+ "<extra_id_289>",
293
+ "<extra_id_290>",
294
+ "<extra_id_291>",
295
+ "<extra_id_292>",
296
+ "<extra_id_293>",
297
+ "<extra_id_294>",
298
+ "<extra_id_295>",
299
+ "<extra_id_296>",
300
+ "<extra_id_297>",
301
+ "<extra_id_298>",
302
+ "<extra_id_299>"
303
+ ],
304
+ "bos_token": "<s>",
305
+ "eos_token": "</s>",
306
+ "pad_token": "<pad>",
307
+ "unk_token": "<unk>"
308
+ }
video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/spiece.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3909a67b780650b35cf529ac782ad2b6b26e6d1f849d3fbb6a872905f452458
3
+ size 4548313
video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e197b4d3dbd71da14b4eb255f4fa91c9c1f2068b20a2de2472967ca3d22602b
3
+ size 16837417
video_gen_14d/models/Wan2.1-VACE-1.3B/google/umt5-xxl/tokenizer_config.json ADDED
@@ -0,0 +1,2748 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "<pad>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "1": {
12
+ "content": "</s>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false,
17
+ "special": true
18
+ },
19
+ "2": {
20
+ "content": "<s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "3": {
28
+ "content": "<unk>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "256000": {
36
+ "content": "<extra_id_299>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ },
43
+ "256001": {
44
+ "content": "<extra_id_298>",
45
+ "lstrip": false,
46
+ "normalized": false,
47
+ "rstrip": false,
48
+ "single_word": false,
49
+ "special": true
50
+ },
51
+ "256002": {
52
+ "content": "<extra_id_297>",
53
+ "lstrip": false,
54
+ "normalized": false,
55
+ "rstrip": false,
56
+ "single_word": false,
57
+ "special": true
58
+ },
59
+ "256003": {
60
+ "content": "<extra_id_296>",
61
+ "lstrip": false,
62
+ "normalized": false,
63
+ "rstrip": false,
64
+ "single_word": false,
65
+ "special": true
66
+ },
67
+ "256004": {
68
+ "content": "<extra_id_295>",
69
+ "lstrip": false,
70
+ "normalized": false,
71
+ "rstrip": false,
72
+ "single_word": false,
73
+ "special": true
74
+ },
75
+ "256005": {
76
+ "content": "<extra_id_294>",
77
+ "lstrip": false,
78
+ "normalized": false,
79
+ "rstrip": false,
80
+ "single_word": false,
81
+ "special": true
82
+ },
83
+ "256006": {
84
+ "content": "<extra_id_293>",
85
+ "lstrip": false,
86
+ "normalized": false,
87
+ "rstrip": false,
88
+ "single_word": false,
89
+ "special": true
90
+ },
91
+ "256007": {
92
+ "content": "<extra_id_292>",
93
+ "lstrip": false,
94
+ "normalized": false,
95
+ "rstrip": false,
96
+ "single_word": false,
97
+ "special": true
98
+ },
99
+ "256008": {
100
+ "content": "<extra_id_291>",
101
+ "lstrip": false,
102
+ "normalized": false,
103
+ "rstrip": false,
104
+ "single_word": false,
105
+ "special": true
106
+ },
107
+ "256009": {
108
+ "content": "<extra_id_290>",
109
+ "lstrip": false,
110
+ "normalized": false,
111
+ "rstrip": false,
112
+ "single_word": false,
113
+ "special": true
114
+ },
115
+ "256010": {
116
+ "content": "<extra_id_289>",
117
+ "lstrip": false,
118
+ "normalized": false,
119
+ "rstrip": false,
120
+ "single_word": false,
121
+ "special": true
122
+ },
123
+ "256011": {
124
+ "content": "<extra_id_288>",
125
+ "lstrip": false,
126
+ "normalized": false,
127
+ "rstrip": false,
128
+ "single_word": false,
129
+ "special": true
130
+ },
131
+ "256012": {
132
+ "content": "<extra_id_287>",
133
+ "lstrip": false,
134
+ "normalized": false,
135
+ "rstrip": false,
136
+ "single_word": false,
137
+ "special": true
138
+ },
139
+ "256013": {
140
+ "content": "<extra_id_286>",
141
+ "lstrip": false,
142
+ "normalized": false,
143
+ "rstrip": false,
144
+ "single_word": false,
145
+ "special": true
146
+ },
147
+ "256014": {
148
+ "content": "<extra_id_285>",
149
+ "lstrip": false,
150
+ "normalized": false,
151
+ "rstrip": false,
152
+ "single_word": false,
153
+ "special": true
154
+ },
155
+ "256015": {
156
+ "content": "<extra_id_284>",
157
+ "lstrip": false,
158
+ "normalized": false,
159
+ "rstrip": false,
160
+ "single_word": false,
161
+ "special": true
162
+ },
163
+ "256016": {
164
+ "content": "<extra_id_283>",
165
+ "lstrip": false,
166
+ "normalized": false,
167
+ "rstrip": false,
168
+ "single_word": false,
169
+ "special": true
170
+ },
171
+ "256017": {
172
+ "content": "<extra_id_282>",
173
+ "lstrip": false,
174
+ "normalized": false,
175
+ "rstrip": false,
176
+ "single_word": false,
177
+ "special": true
178
+ },
179
+ "256018": {
180
+ "content": "<extra_id_281>",
181
+ "lstrip": false,
182
+ "normalized": false,
183
+ "rstrip": false,
184
+ "single_word": false,
185
+ "special": true
186
+ },
187
+ "256019": {
188
+ "content": "<extra_id_280>",
189
+ "lstrip": false,
190
+ "normalized": false,
191
+ "rstrip": false,
192
+ "single_word": false,
193
+ "special": true
194
+ },
195
+ "256020": {
196
+ "content": "<extra_id_279>",
197
+ "lstrip": false,
198
+ "normalized": false,
199
+ "rstrip": false,
200
+ "single_word": false,
201
+ "special": true
202
+ },
203
+ "256021": {
204
+ "content": "<extra_id_278>",
205
+ "lstrip": false,
206
+ "normalized": false,
207
+ "rstrip": false,
208
+ "single_word": false,
209
+ "special": true
210
+ },
211
+ "256022": {
212
+ "content": "<extra_id_277>",
213
+ "lstrip": false,
214
+ "normalized": false,
215
+ "rstrip": false,
216
+ "single_word": false,
217
+ "special": true
218
+ },
219
+ "256023": {
220
+ "content": "<extra_id_276>",
221
+ "lstrip": false,
222
+ "normalized": false,
223
+ "rstrip": false,
224
+ "single_word": false,
225
+ "special": true
226
+ },
227
+ "256024": {
228
+ "content": "<extra_id_275>",
229
+ "lstrip": false,
230
+ "normalized": false,
231
+ "rstrip": false,
232
+ "single_word": false,
233
+ "special": true
234
+ },
235
+ "256025": {
236
+ "content": "<extra_id_274>",
237
+ "lstrip": false,
238
+ "normalized": false,
239
+ "rstrip": false,
240
+ "single_word": false,
241
+ "special": true
242
+ },
243
+ "256026": {
244
+ "content": "<extra_id_273>",
245
+ "lstrip": false,
246
+ "normalized": false,
247
+ "rstrip": false,
248
+ "single_word": false,
249
+ "special": true
250
+ },
251
+ "256027": {
252
+ "content": "<extra_id_272>",
253
+ "lstrip": false,
254
+ "normalized": false,
255
+ "rstrip": false,
256
+ "single_word": false,
257
+ "special": true
258
+ },
259
+ "256028": {
260
+ "content": "<extra_id_271>",
261
+ "lstrip": false,
262
+ "normalized": false,
263
+ "rstrip": false,
264
+ "single_word": false,
265
+ "special": true
266
+ },
267
+ "256029": {
268
+ "content": "<extra_id_270>",
269
+ "lstrip": false,
270
+ "normalized": false,
271
+ "rstrip": false,
272
+ "single_word": false,
273
+ "special": true
274
+ },
275
+ "256030": {
276
+ "content": "<extra_id_269>",
277
+ "lstrip": false,
278
+ "normalized": false,
279
+ "rstrip": false,
280
+ "single_word": false,
281
+ "special": true
282
+ },
283
+ "256031": {
284
+ "content": "<extra_id_268>",
285
+ "lstrip": false,
286
+ "normalized": false,
287
+ "rstrip": false,
288
+ "single_word": false,
289
+ "special": true
290
+ },
291
+ "256032": {
292
+ "content": "<extra_id_267>",
293
+ "lstrip": false,
294
+ "normalized": false,
295
+ "rstrip": false,
296
+ "single_word": false,
297
+ "special": true
298
+ },
299
+ "256033": {
300
+ "content": "<extra_id_266>",
301
+ "lstrip": false,
302
+ "normalized": false,
303
+ "rstrip": false,
304
+ "single_word": false,
305
+ "special": true
306
+ },
307
+ "256034": {
308
+ "content": "<extra_id_265>",
309
+ "lstrip": false,
310
+ "normalized": false,
311
+ "rstrip": false,
312
+ "single_word": false,
313
+ "special": true
314
+ },
315
+ "256035": {
316
+ "content": "<extra_id_264>",
317
+ "lstrip": false,
318
+ "normalized": false,
319
+ "rstrip": false,
320
+ "single_word": false,
321
+ "special": true
322
+ },
323
+ "256036": {
324
+ "content": "<extra_id_263>",
325
+ "lstrip": false,
326
+ "normalized": false,
327
+ "rstrip": false,
328
+ "single_word": false,
329
+ "special": true
330
+ },
331
+ "256037": {
332
+ "content": "<extra_id_262>",
333
+ "lstrip": false,
334
+ "normalized": false,
335
+ "rstrip": false,
336
+ "single_word": false,
337
+ "special": true
338
+ },
339
+ "256038": {
340
+ "content": "<extra_id_261>",
341
+ "lstrip": false,
342
+ "normalized": false,
343
+ "rstrip": false,
344
+ "single_word": false,
345
+ "special": true
346
+ },
347
+ "256039": {
348
+ "content": "<extra_id_260>",
349
+ "lstrip": false,
350
+ "normalized": false,
351
+ "rstrip": false,
352
+ "single_word": false,
353
+ "special": true
354
+ },
355
+ "256040": {
356
+ "content": "<extra_id_259>",
357
+ "lstrip": false,
358
+ "normalized": false,
359
+ "rstrip": false,
360
+ "single_word": false,
361
+ "special": true
362
+ },
363
+ "256041": {
364
+ "content": "<extra_id_258>",
365
+ "lstrip": false,
366
+ "normalized": false,
367
+ "rstrip": false,
368
+ "single_word": false,
369
+ "special": true
370
+ },
371
+ "256042": {
372
+ "content": "<extra_id_257>",
373
+ "lstrip": false,
374
+ "normalized": false,
375
+ "rstrip": false,
376
+ "single_word": false,
377
+ "special": true
378
+ },
379
+ "256043": {
380
+ "content": "<extra_id_256>",
381
+ "lstrip": false,
382
+ "normalized": false,
383
+ "rstrip": false,
384
+ "single_word": false,
385
+ "special": true
386
+ },
387
+ "256044": {
388
+ "content": "<extra_id_255>",
389
+ "lstrip": false,
390
+ "normalized": false,
391
+ "rstrip": false,
392
+ "single_word": false,
393
+ "special": true
394
+ },
395
+ "256045": {
396
+ "content": "<extra_id_254>",
397
+ "lstrip": false,
398
+ "normalized": false,
399
+ "rstrip": false,
400
+ "single_word": false,
401
+ "special": true
402
+ },
403
+ "256046": {
404
+ "content": "<extra_id_253>",
405
+ "lstrip": false,
406
+ "normalized": false,
407
+ "rstrip": false,
408
+ "single_word": false,
409
+ "special": true
410
+ },
411
+ "256047": {
412
+ "content": "<extra_id_252>",
413
+ "lstrip": false,
414
+ "normalized": false,
415
+ "rstrip": false,
416
+ "single_word": false,
417
+ "special": true
418
+ },
419
+ "256048": {
420
+ "content": "<extra_id_251>",
421
+ "lstrip": false,
422
+ "normalized": false,
423
+ "rstrip": false,
424
+ "single_word": false,
425
+ "special": true
426
+ },
427
+ "256049": {
428
+ "content": "<extra_id_250>",
429
+ "lstrip": false,
430
+ "normalized": false,
431
+ "rstrip": false,
432
+ "single_word": false,
433
+ "special": true
434
+ },
435
+ "256050": {
436
+ "content": "<extra_id_249>",
437
+ "lstrip": false,
438
+ "normalized": false,
439
+ "rstrip": false,
440
+ "single_word": false,
441
+ "special": true
442
+ },
443
+ "256051": {
444
+ "content": "<extra_id_248>",
445
+ "lstrip": false,
446
+ "normalized": false,
447
+ "rstrip": false,
448
+ "single_word": false,
449
+ "special": true
450
+ },
451
+ "256052": {
452
+ "content": "<extra_id_247>",
453
+ "lstrip": false,
454
+ "normalized": false,
455
+ "rstrip": false,
456
+ "single_word": false,
457
+ "special": true
458
+ },
459
+ "256053": {
460
+ "content": "<extra_id_246>",
461
+ "lstrip": false,
462
+ "normalized": false,
463
+ "rstrip": false,
464
+ "single_word": false,
465
+ "special": true
466
+ },
467
+ "256054": {
468
+ "content": "<extra_id_245>",
469
+ "lstrip": false,
470
+ "normalized": false,
471
+ "rstrip": false,
472
+ "single_word": false,
473
+ "special": true
474
+ },
475
+ "256055": {
476
+ "content": "<extra_id_244>",
477
+ "lstrip": false,
478
+ "normalized": false,
479
+ "rstrip": false,
480
+ "single_word": false,
481
+ "special": true
482
+ },
483
+ "256056": {
484
+ "content": "<extra_id_243>",
485
+ "lstrip": false,
486
+ "normalized": false,
487
+ "rstrip": false,
488
+ "single_word": false,
489
+ "special": true
490
+ },
491
+ "256057": {
492
+ "content": "<extra_id_242>",
493
+ "lstrip": false,
494
+ "normalized": false,
495
+ "rstrip": false,
496
+ "single_word": false,
497
+ "special": true
498
+ },
499
+ "256058": {
500
+ "content": "<extra_id_241>",
501
+ "lstrip": false,
502
+ "normalized": false,
503
+ "rstrip": false,
504
+ "single_word": false,
505
+ "special": true
506
+ },
507
+ "256059": {
508
+ "content": "<extra_id_240>",
509
+ "lstrip": false,
510
+ "normalized": false,
511
+ "rstrip": false,
512
+ "single_word": false,
513
+ "special": true
514
+ },
515
+ "256060": {
516
+ "content": "<extra_id_239>",
517
+ "lstrip": false,
518
+ "normalized": false,
519
+ "rstrip": false,
520
+ "single_word": false,
521
+ "special": true
522
+ },
523
+ "256061": {
524
+ "content": "<extra_id_238>",
525
+ "lstrip": false,
526
+ "normalized": false,
527
+ "rstrip": false,
528
+ "single_word": false,
529
+ "special": true
530
+ },
531
+ "256062": {
532
+ "content": "<extra_id_237>",
533
+ "lstrip": false,
534
+ "normalized": false,
535
+ "rstrip": false,
536
+ "single_word": false,
537
+ "special": true
538
+ },
539
+ "256063": {
540
+ "content": "<extra_id_236>",
541
+ "lstrip": false,
542
+ "normalized": false,
543
+ "rstrip": false,
544
+ "single_word": false,
545
+ "special": true
546
+ },
547
+ "256064": {
548
+ "content": "<extra_id_235>",
549
+ "lstrip": false,
550
+ "normalized": false,
551
+ "rstrip": false,
552
+ "single_word": false,
553
+ "special": true
554
+ },
555
+ "256065": {
556
+ "content": "<extra_id_234>",
557
+ "lstrip": false,
558
+ "normalized": false,
559
+ "rstrip": false,
560
+ "single_word": false,
561
+ "special": true
562
+ },
563
+ "256066": {
564
+ "content": "<extra_id_233>",
565
+ "lstrip": false,
566
+ "normalized": false,
567
+ "rstrip": false,
568
+ "single_word": false,
569
+ "special": true
570
+ },
571
+ "256067": {
572
+ "content": "<extra_id_232>",
573
+ "lstrip": false,
574
+ "normalized": false,
575
+ "rstrip": false,
576
+ "single_word": false,
577
+ "special": true
578
+ },
579
+ "256068": {
580
+ "content": "<extra_id_231>",
581
+ "lstrip": false,
582
+ "normalized": false,
583
+ "rstrip": false,
584
+ "single_word": false,
585
+ "special": true
586
+ },
587
+ "256069": {
588
+ "content": "<extra_id_230>",
589
+ "lstrip": false,
590
+ "normalized": false,
591
+ "rstrip": false,
592
+ "single_word": false,
593
+ "special": true
594
+ },
595
+ "256070": {
596
+ "content": "<extra_id_229>",
597
+ "lstrip": false,
598
+ "normalized": false,
599
+ "rstrip": false,
600
+ "single_word": false,
601
+ "special": true
602
+ },
603
+ "256071": {
604
+ "content": "<extra_id_228>",
605
+ "lstrip": false,
606
+ "normalized": false,
607
+ "rstrip": false,
608
+ "single_word": false,
609
+ "special": true
610
+ },
611
+ "256072": {
612
+ "content": "<extra_id_227>",
613
+ "lstrip": false,
614
+ "normalized": false,
615
+ "rstrip": false,
616
+ "single_word": false,
617
+ "special": true
618
+ },
619
+ "256073": {
620
+ "content": "<extra_id_226>",
621
+ "lstrip": false,
622
+ "normalized": false,
623
+ "rstrip": false,
624
+ "single_word": false,
625
+ "special": true
626
+ },
627
+ "256074": {
628
+ "content": "<extra_id_225>",
629
+ "lstrip": false,
630
+ "normalized": false,
631
+ "rstrip": false,
632
+ "single_word": false,
633
+ "special": true
634
+ },
635
+ "256075": {
636
+ "content": "<extra_id_224>",
637
+ "lstrip": false,
638
+ "normalized": false,
639
+ "rstrip": false,
640
+ "single_word": false,
641
+ "special": true
642
+ },
643
+ "256076": {
644
+ "content": "<extra_id_223>",
645
+ "lstrip": false,
646
+ "normalized": false,
647
+ "rstrip": false,
648
+ "single_word": false,
649
+ "special": true
650
+ },
651
+ "256077": {
652
+ "content": "<extra_id_222>",
653
+ "lstrip": false,
654
+ "normalized": false,
655
+ "rstrip": false,
656
+ "single_word": false,
657
+ "special": true
658
+ },
659
+ "256078": {
660
+ "content": "<extra_id_221>",
661
+ "lstrip": false,
662
+ "normalized": false,
663
+ "rstrip": false,
664
+ "single_word": false,
665
+ "special": true
666
+ },
667
+ "256079": {
668
+ "content": "<extra_id_220>",
669
+ "lstrip": false,
670
+ "normalized": false,
671
+ "rstrip": false,
672
+ "single_word": false,
673
+ "special": true
674
+ },
675
+ "256080": {
676
+ "content": "<extra_id_219>",
677
+ "lstrip": false,
678
+ "normalized": false,
679
+ "rstrip": false,
680
+ "single_word": false,
681
+ "special": true
682
+ },
683
+ "256081": {
684
+ "content": "<extra_id_218>",
685
+ "lstrip": false,
686
+ "normalized": false,
687
+ "rstrip": false,
688
+ "single_word": false,
689
+ "special": true
690
+ },
691
+ "256082": {
692
+ "content": "<extra_id_217>",
693
+ "lstrip": false,
694
+ "normalized": false,
695
+ "rstrip": false,
696
+ "single_word": false,
697
+ "special": true
698
+ },
699
+ "256083": {
700
+ "content": "<extra_id_216>",
701
+ "lstrip": false,
702
+ "normalized": false,
703
+ "rstrip": false,
704
+ "single_word": false,
705
+ "special": true
706
+ },
707
+ "256084": {
708
+ "content": "<extra_id_215>",
709
+ "lstrip": false,
710
+ "normalized": false,
711
+ "rstrip": false,
712
+ "single_word": false,
713
+ "special": true
714
+ },
715
+ "256085": {
716
+ "content": "<extra_id_214>",
717
+ "lstrip": false,
718
+ "normalized": false,
719
+ "rstrip": false,
720
+ "single_word": false,
721
+ "special": true
722
+ },
723
+ "256086": {
724
+ "content": "<extra_id_213>",
725
+ "lstrip": false,
726
+ "normalized": false,
727
+ "rstrip": false,
728
+ "single_word": false,
729
+ "special": true
730
+ },
731
+ "256087": {
732
+ "content": "<extra_id_212>",
733
+ "lstrip": false,
734
+ "normalized": false,
735
+ "rstrip": false,
736
+ "single_word": false,
737
+ "special": true
738
+ },
739
+ "256088": {
740
+ "content": "<extra_id_211>",
741
+ "lstrip": false,
742
+ "normalized": false,
743
+ "rstrip": false,
744
+ "single_word": false,
745
+ "special": true
746
+ },
747
+ "256089": {
748
+ "content": "<extra_id_210>",
749
+ "lstrip": false,
750
+ "normalized": false,
751
+ "rstrip": false,
752
+ "single_word": false,
753
+ "special": true
754
+ },
755
+ "256090": {
756
+ "content": "<extra_id_209>",
757
+ "lstrip": false,
758
+ "normalized": false,
759
+ "rstrip": false,
760
+ "single_word": false,
761
+ "special": true
762
+ },
763
+ "256091": {
764
+ "content": "<extra_id_208>",
765
+ "lstrip": false,
766
+ "normalized": false,
767
+ "rstrip": false,
768
+ "single_word": false,
769
+ "special": true
770
+ },
771
+ "256092": {
772
+ "content": "<extra_id_207>",
773
+ "lstrip": false,
774
+ "normalized": false,
775
+ "rstrip": false,
776
+ "single_word": false,
777
+ "special": true
778
+ },
779
+ "256093": {
780
+ "content": "<extra_id_206>",
781
+ "lstrip": false,
782
+ "normalized": false,
783
+ "rstrip": false,
784
+ "single_word": false,
785
+ "special": true
786
+ },
787
+ "256094": {
788
+ "content": "<extra_id_205>",
789
+ "lstrip": false,
790
+ "normalized": false,
791
+ "rstrip": false,
792
+ "single_word": false,
793
+ "special": true
794
+ },
795
+ "256095": {
796
+ "content": "<extra_id_204>",
797
+ "lstrip": false,
798
+ "normalized": false,
799
+ "rstrip": false,
800
+ "single_word": false,
801
+ "special": true
802
+ },
803
+ "256096": {
804
+ "content": "<extra_id_203>",
805
+ "lstrip": false,
806
+ "normalized": false,
807
+ "rstrip": false,
808
+ "single_word": false,
809
+ "special": true
810
+ },
811
+ "256097": {
812
+ "content": "<extra_id_202>",
813
+ "lstrip": false,
814
+ "normalized": false,
815
+ "rstrip": false,
816
+ "single_word": false,
817
+ "special": true
818
+ },
819
+ "256098": {
820
+ "content": "<extra_id_201>",
821
+ "lstrip": false,
822
+ "normalized": false,
823
+ "rstrip": false,
824
+ "single_word": false,
825
+ "special": true
826
+ },
827
+ "256099": {
828
+ "content": "<extra_id_200>",
829
+ "lstrip": false,
830
+ "normalized": false,
831
+ "rstrip": false,
832
+ "single_word": false,
833
+ "special": true
834
+ },
835
+ "256100": {
836
+ "content": "<extra_id_199>",
837
+ "lstrip": false,
838
+ "normalized": false,
839
+ "rstrip": false,
840
+ "single_word": false,
841
+ "special": true
842
+ },
843
+ "256101": {
844
+ "content": "<extra_id_198>",
845
+ "lstrip": false,
846
+ "normalized": false,
847
+ "rstrip": false,
848
+ "single_word": false,
849
+ "special": true
850
+ },
851
+ "256102": {
852
+ "content": "<extra_id_197>",
853
+ "lstrip": false,
854
+ "normalized": false,
855
+ "rstrip": false,
856
+ "single_word": false,
857
+ "special": true
858
+ },
859
+ "256103": {
860
+ "content": "<extra_id_196>",
861
+ "lstrip": false,
862
+ "normalized": false,
863
+ "rstrip": false,
864
+ "single_word": false,
865
+ "special": true
866
+ },
867
+ "256104": {
868
+ "content": "<extra_id_195>",
869
+ "lstrip": false,
870
+ "normalized": false,
871
+ "rstrip": false,
872
+ "single_word": false,
873
+ "special": true
874
+ },
875
+ "256105": {
876
+ "content": "<extra_id_194>",
877
+ "lstrip": false,
878
+ "normalized": false,
879
+ "rstrip": false,
880
+ "single_word": false,
881
+ "special": true
882
+ },
883
+ "256106": {
884
+ "content": "<extra_id_193>",
885
+ "lstrip": false,
886
+ "normalized": false,
887
+ "rstrip": false,
888
+ "single_word": false,
889
+ "special": true
890
+ },
891
+ "256107": {
892
+ "content": "<extra_id_192>",
893
+ "lstrip": false,
894
+ "normalized": false,
895
+ "rstrip": false,
896
+ "single_word": false,
897
+ "special": true
898
+ },
899
+ "256108": {
900
+ "content": "<extra_id_191>",
901
+ "lstrip": false,
902
+ "normalized": false,
903
+ "rstrip": false,
904
+ "single_word": false,
905
+ "special": true
906
+ },
907
+ "256109": {
908
+ "content": "<extra_id_190>",
909
+ "lstrip": false,
910
+ "normalized": false,
911
+ "rstrip": false,
912
+ "single_word": false,
913
+ "special": true
914
+ },
915
+ "256110": {
916
+ "content": "<extra_id_189>",
917
+ "lstrip": false,
918
+ "normalized": false,
919
+ "rstrip": false,
920
+ "single_word": false,
921
+ "special": true
922
+ },
923
+ "256111": {
924
+ "content": "<extra_id_188>",
925
+ "lstrip": false,
926
+ "normalized": false,
927
+ "rstrip": false,
928
+ "single_word": false,
929
+ "special": true
930
+ },
931
+ "256112": {
932
+ "content": "<extra_id_187>",
933
+ "lstrip": false,
934
+ "normalized": false,
935
+ "rstrip": false,
936
+ "single_word": false,
937
+ "special": true
938
+ },
939
+ "256113": {
940
+ "content": "<extra_id_186>",
941
+ "lstrip": false,
942
+ "normalized": false,
943
+ "rstrip": false,
944
+ "single_word": false,
945
+ "special": true
946
+ },
947
+ "256114": {
948
+ "content": "<extra_id_185>",
949
+ "lstrip": false,
950
+ "normalized": false,
951
+ "rstrip": false,
952
+ "single_word": false,
953
+ "special": true
954
+ },
955
+ "256115": {
956
+ "content": "<extra_id_184>",
957
+ "lstrip": false,
958
+ "normalized": false,
959
+ "rstrip": false,
960
+ "single_word": false,
961
+ "special": true
962
+ },
963
+ "256116": {
964
+ "content": "<extra_id_183>",
965
+ "lstrip": false,
966
+ "normalized": false,
967
+ "rstrip": false,
968
+ "single_word": false,
969
+ "special": true
970
+ },
971
+ "256117": {
972
+ "content": "<extra_id_182>",
973
+ "lstrip": false,
974
+ "normalized": false,
975
+ "rstrip": false,
976
+ "single_word": false,
977
+ "special": true
978
+ },
979
+ "256118": {
980
+ "content": "<extra_id_181>",
981
+ "lstrip": false,
982
+ "normalized": false,
983
+ "rstrip": false,
984
+ "single_word": false,
985
+ "special": true
986
+ },
987
+ "256119": {
988
+ "content": "<extra_id_180>",
989
+ "lstrip": false,
990
+ "normalized": false,
991
+ "rstrip": false,
992
+ "single_word": false,
993
+ "special": true
994
+ },
995
+ "256120": {
996
+ "content": "<extra_id_179>",
997
+ "lstrip": false,
998
+ "normalized": false,
999
+ "rstrip": false,
1000
+ "single_word": false,
1001
+ "special": true
1002
+ },
1003
+ "256121": {
1004
+ "content": "<extra_id_178>",
1005
+ "lstrip": false,
1006
+ "normalized": false,
1007
+ "rstrip": false,
1008
+ "single_word": false,
1009
+ "special": true
1010
+ },
1011
+ "256122": {
1012
+ "content": "<extra_id_177>",
1013
+ "lstrip": false,
1014
+ "normalized": false,
1015
+ "rstrip": false,
1016
+ "single_word": false,
1017
+ "special": true
1018
+ },
1019
+ "256123": {
1020
+ "content": "<extra_id_176>",
1021
+ "lstrip": false,
1022
+ "normalized": false,
1023
+ "rstrip": false,
1024
+ "single_word": false,
1025
+ "special": true
1026
+ },
1027
+ "256124": {
1028
+ "content": "<extra_id_175>",
1029
+ "lstrip": false,
1030
+ "normalized": false,
1031
+ "rstrip": false,
1032
+ "single_word": false,
1033
+ "special": true
1034
+ },
1035
+ "256125": {
1036
+ "content": "<extra_id_174>",
1037
+ "lstrip": false,
1038
+ "normalized": false,
1039
+ "rstrip": false,
1040
+ "single_word": false,
1041
+ "special": true
1042
+ },
1043
+ "256126": {
1044
+ "content": "<extra_id_173>",
1045
+ "lstrip": false,
1046
+ "normalized": false,
1047
+ "rstrip": false,
1048
+ "single_word": false,
1049
+ "special": true
1050
+ },
1051
+ "256127": {
1052
+ "content": "<extra_id_172>",
1053
+ "lstrip": false,
1054
+ "normalized": false,
1055
+ "rstrip": false,
1056
+ "single_word": false,
1057
+ "special": true
1058
+ },
1059
+ "256128": {
1060
+ "content": "<extra_id_171>",
1061
+ "lstrip": false,
1062
+ "normalized": false,
1063
+ "rstrip": false,
1064
+ "single_word": false,
1065
+ "special": true
1066
+ },
1067
+ "256129": {
1068
+ "content": "<extra_id_170>",
1069
+ "lstrip": false,
1070
+ "normalized": false,
1071
+ "rstrip": false,
1072
+ "single_word": false,
1073
+ "special": true
1074
+ },
1075
+ "256130": {
1076
+ "content": "<extra_id_169>",
1077
+ "lstrip": false,
1078
+ "normalized": false,
1079
+ "rstrip": false,
1080
+ "single_word": false,
1081
+ "special": true
1082
+ },
1083
+ "256131": {
1084
+ "content": "<extra_id_168>",
1085
+ "lstrip": false,
1086
+ "normalized": false,
1087
+ "rstrip": false,
1088
+ "single_word": false,
1089
+ "special": true
1090
+ },
1091
+ "256132": {
1092
+ "content": "<extra_id_167>",
1093
+ "lstrip": false,
1094
+ "normalized": false,
1095
+ "rstrip": false,
1096
+ "single_word": false,
1097
+ "special": true
1098
+ },
1099
+ "256133": {
1100
+ "content": "<extra_id_166>",
1101
+ "lstrip": false,
1102
+ "normalized": false,
1103
+ "rstrip": false,
1104
+ "single_word": false,
1105
+ "special": true
1106
+ },
1107
+ "256134": {
1108
+ "content": "<extra_id_165>",
1109
+ "lstrip": false,
1110
+ "normalized": false,
1111
+ "rstrip": false,
1112
+ "single_word": false,
1113
+ "special": true
1114
+ },
1115
+ "256135": {
1116
+ "content": "<extra_id_164>",
1117
+ "lstrip": false,
1118
+ "normalized": false,
1119
+ "rstrip": false,
1120
+ "single_word": false,
1121
+ "special": true
1122
+ },
1123
+ "256136": {
1124
+ "content": "<extra_id_163>",
1125
+ "lstrip": false,
1126
+ "normalized": false,
1127
+ "rstrip": false,
1128
+ "single_word": false,
1129
+ "special": true
1130
+ },
1131
+ "256137": {
1132
+ "content": "<extra_id_162>",
1133
+ "lstrip": false,
1134
+ "normalized": false,
1135
+ "rstrip": false,
1136
+ "single_word": false,
1137
+ "special": true
1138
+ },
1139
+ "256138": {
1140
+ "content": "<extra_id_161>",
1141
+ "lstrip": false,
1142
+ "normalized": false,
1143
+ "rstrip": false,
1144
+ "single_word": false,
1145
+ "special": true
1146
+ },
1147
+ "256139": {
1148
+ "content": "<extra_id_160>",
1149
+ "lstrip": false,
1150
+ "normalized": false,
1151
+ "rstrip": false,
1152
+ "single_word": false,
1153
+ "special": true
1154
+ },
1155
+ "256140": {
1156
+ "content": "<extra_id_159>",
1157
+ "lstrip": false,
1158
+ "normalized": false,
1159
+ "rstrip": false,
1160
+ "single_word": false,
1161
+ "special": true
1162
+ },
1163
+ "256141": {
1164
+ "content": "<extra_id_158>",
1165
+ "lstrip": false,
1166
+ "normalized": false,
1167
+ "rstrip": false,
1168
+ "single_word": false,
1169
+ "special": true
1170
+ },
1171
+ "256142": {
1172
+ "content": "<extra_id_157>",
1173
+ "lstrip": false,
1174
+ "normalized": false,
1175
+ "rstrip": false,
1176
+ "single_word": false,
1177
+ "special": true
1178
+ },
1179
+ "256143": {
1180
+ "content": "<extra_id_156>",
1181
+ "lstrip": false,
1182
+ "normalized": false,
1183
+ "rstrip": false,
1184
+ "single_word": false,
1185
+ "special": true
1186
+ },
1187
+ "256144": {
1188
+ "content": "<extra_id_155>",
1189
+ "lstrip": false,
1190
+ "normalized": false,
1191
+ "rstrip": false,
1192
+ "single_word": false,
1193
+ "special": true
1194
+ },
1195
+ "256145": {
1196
+ "content": "<extra_id_154>",
1197
+ "lstrip": false,
1198
+ "normalized": false,
1199
+ "rstrip": false,
1200
+ "single_word": false,
1201
+ "special": true
1202
+ },
1203
+ "256146": {
1204
+ "content": "<extra_id_153>",
1205
+ "lstrip": false,
1206
+ "normalized": false,
1207
+ "rstrip": false,
1208
+ "single_word": false,
1209
+ "special": true
1210
+ },
1211
+ "256147": {
1212
+ "content": "<extra_id_152>",
1213
+ "lstrip": false,
1214
+ "normalized": false,
1215
+ "rstrip": false,
1216
+ "single_word": false,
1217
+ "special": true
1218
+ },
1219
+ "256148": {
1220
+ "content": "<extra_id_151>",
1221
+ "lstrip": false,
1222
+ "normalized": false,
1223
+ "rstrip": false,
1224
+ "single_word": false,
1225
+ "special": true
1226
+ },
1227
+ "256149": {
1228
+ "content": "<extra_id_150>",
1229
+ "lstrip": false,
1230
+ "normalized": false,
1231
+ "rstrip": false,
1232
+ "single_word": false,
1233
+ "special": true
1234
+ },
1235
+ "256150": {
1236
+ "content": "<extra_id_149>",
1237
+ "lstrip": false,
1238
+ "normalized": false,
1239
+ "rstrip": false,
1240
+ "single_word": false,
1241
+ "special": true
1242
+ },
1243
+ "256151": {
1244
+ "content": "<extra_id_148>",
1245
+ "lstrip": false,
1246
+ "normalized": false,
1247
+ "rstrip": false,
1248
+ "single_word": false,
1249
+ "special": true
1250
+ },
1251
+ "256152": {
1252
+ "content": "<extra_id_147>",
1253
+ "lstrip": false,
1254
+ "normalized": false,
1255
+ "rstrip": false,
1256
+ "single_word": false,
1257
+ "special": true
1258
+ },
1259
+ "256153": {
1260
+ "content": "<extra_id_146>",
1261
+ "lstrip": false,
1262
+ "normalized": false,
1263
+ "rstrip": false,
1264
+ "single_word": false,
1265
+ "special": true
1266
+ },
1267
+ "256154": {
1268
+ "content": "<extra_id_145>",
1269
+ "lstrip": false,
1270
+ "normalized": false,
1271
+ "rstrip": false,
1272
+ "single_word": false,
1273
+ "special": true
1274
+ },
1275
+ "256155": {
1276
+ "content": "<extra_id_144>",
1277
+ "lstrip": false,
1278
+ "normalized": false,
1279
+ "rstrip": false,
1280
+ "single_word": false,
1281
+ "special": true
1282
+ },
1283
+ "256156": {
1284
+ "content": "<extra_id_143>",
1285
+ "lstrip": false,
1286
+ "normalized": false,
1287
+ "rstrip": false,
1288
+ "single_word": false,
1289
+ "special": true
1290
+ },
1291
+ "256157": {
1292
+ "content": "<extra_id_142>",
1293
+ "lstrip": false,
1294
+ "normalized": false,
1295
+ "rstrip": false,
1296
+ "single_word": false,
1297
+ "special": true
1298
+ },
1299
+ "256158": {
1300
+ "content": "<extra_id_141>",
1301
+ "lstrip": false,
1302
+ "normalized": false,
1303
+ "rstrip": false,
1304
+ "single_word": false,
1305
+ "special": true
1306
+ },
1307
+ "256159": {
1308
+ "content": "<extra_id_140>",
1309
+ "lstrip": false,
1310
+ "normalized": false,
1311
+ "rstrip": false,
1312
+ "single_word": false,
1313
+ "special": true
1314
+ },
1315
+ "256160": {
1316
+ "content": "<extra_id_139>",
1317
+ "lstrip": false,
1318
+ "normalized": false,
1319
+ "rstrip": false,
1320
+ "single_word": false,
1321
+ "special": true
1322
+ },
1323
+ "256161": {
1324
+ "content": "<extra_id_138>",
1325
+ "lstrip": false,
1326
+ "normalized": false,
1327
+ "rstrip": false,
1328
+ "single_word": false,
1329
+ "special": true
1330
+ },
1331
+ "256162": {
1332
+ "content": "<extra_id_137>",
1333
+ "lstrip": false,
1334
+ "normalized": false,
1335
+ "rstrip": false,
1336
+ "single_word": false,
1337
+ "special": true
1338
+ },
1339
+ "256163": {
1340
+ "content": "<extra_id_136>",
1341
+ "lstrip": false,
1342
+ "normalized": false,
1343
+ "rstrip": false,
1344
+ "single_word": false,
1345
+ "special": true
1346
+ },
1347
+ "256164": {
1348
+ "content": "<extra_id_135>",
1349
+ "lstrip": false,
1350
+ "normalized": false,
1351
+ "rstrip": false,
1352
+ "single_word": false,
1353
+ "special": true
1354
+ },
1355
+ "256165": {
1356
+ "content": "<extra_id_134>",
1357
+ "lstrip": false,
1358
+ "normalized": false,
1359
+ "rstrip": false,
1360
+ "single_word": false,
1361
+ "special": true
1362
+ },
1363
+ "256166": {
1364
+ "content": "<extra_id_133>",
1365
+ "lstrip": false,
1366
+ "normalized": false,
1367
+ "rstrip": false,
1368
+ "single_word": false,
1369
+ "special": true
1370
+ },
1371
+ "256167": {
1372
+ "content": "<extra_id_132>",
1373
+ "lstrip": false,
1374
+ "normalized": false,
1375
+ "rstrip": false,
1376
+ "single_word": false,
1377
+ "special": true
1378
+ },
1379
+ "256168": {
1380
+ "content": "<extra_id_131>",
1381
+ "lstrip": false,
1382
+ "normalized": false,
1383
+ "rstrip": false,
1384
+ "single_word": false,
1385
+ "special": true
1386
+ },
1387
+ "256169": {
1388
+ "content": "<extra_id_130>",
1389
+ "lstrip": false,
1390
+ "normalized": false,
1391
+ "rstrip": false,
1392
+ "single_word": false,
1393
+ "special": true
1394
+ },
1395
+ "256170": {
1396
+ "content": "<extra_id_129>",
1397
+ "lstrip": false,
1398
+ "normalized": false,
1399
+ "rstrip": false,
1400
+ "single_word": false,
1401
+ "special": true
1402
+ },
1403
+ "256171": {
1404
+ "content": "<extra_id_128>",
1405
+ "lstrip": false,
1406
+ "normalized": false,
1407
+ "rstrip": false,
1408
+ "single_word": false,
1409
+ "special": true
1410
+ },
1411
+ "256172": {
1412
+ "content": "<extra_id_127>",
1413
+ "lstrip": false,
1414
+ "normalized": false,
1415
+ "rstrip": false,
1416
+ "single_word": false,
1417
+ "special": true
1418
+ },
1419
+ "256173": {
1420
+ "content": "<extra_id_126>",
1421
+ "lstrip": false,
1422
+ "normalized": false,
1423
+ "rstrip": false,
1424
+ "single_word": false,
1425
+ "special": true
1426
+ },
1427
+ "256174": {
1428
+ "content": "<extra_id_125>",
1429
+ "lstrip": false,
1430
+ "normalized": false,
1431
+ "rstrip": false,
1432
+ "single_word": false,
1433
+ "special": true
1434
+ },
1435
+ "256175": {
1436
+ "content": "<extra_id_124>",
1437
+ "lstrip": false,
1438
+ "normalized": false,
1439
+ "rstrip": false,
1440
+ "single_word": false,
1441
+ "special": true
1442
+ },
1443
+ "256176": {
1444
+ "content": "<extra_id_123>",
1445
+ "lstrip": false,
1446
+ "normalized": false,
1447
+ "rstrip": false,
1448
+ "single_word": false,
1449
+ "special": true
1450
+ },
1451
+ "256177": {
1452
+ "content": "<extra_id_122>",
1453
+ "lstrip": false,
1454
+ "normalized": false,
1455
+ "rstrip": false,
1456
+ "single_word": false,
1457
+ "special": true
1458
+ },
1459
+ "256178": {
1460
+ "content": "<extra_id_121>",
1461
+ "lstrip": false,
1462
+ "normalized": false,
1463
+ "rstrip": false,
1464
+ "single_word": false,
1465
+ "special": true
1466
+ },
1467
+ "256179": {
1468
+ "content": "<extra_id_120>",
1469
+ "lstrip": false,
1470
+ "normalized": false,
1471
+ "rstrip": false,
1472
+ "single_word": false,
1473
+ "special": true
1474
+ },
1475
+ "256180": {
1476
+ "content": "<extra_id_119>",
1477
+ "lstrip": false,
1478
+ "normalized": false,
1479
+ "rstrip": false,
1480
+ "single_word": false,
1481
+ "special": true
1482
+ },
1483
+ "256181": {
1484
+ "content": "<extra_id_118>",
1485
+ "lstrip": false,
1486
+ "normalized": false,
1487
+ "rstrip": false,
1488
+ "single_word": false,
1489
+ "special": true
1490
+ },
1491
+ "256182": {
1492
+ "content": "<extra_id_117>",
1493
+ "lstrip": false,
1494
+ "normalized": false,
1495
+ "rstrip": false,
1496
+ "single_word": false,
1497
+ "special": true
1498
+ },
1499
+ "256183": {
1500
+ "content": "<extra_id_116>",
1501
+ "lstrip": false,
1502
+ "normalized": false,
1503
+ "rstrip": false,
1504
+ "single_word": false,
1505
+ "special": true
1506
+ },
1507
+ "256184": {
1508
+ "content": "<extra_id_115>",
1509
+ "lstrip": false,
1510
+ "normalized": false,
1511
+ "rstrip": false,
1512
+ "single_word": false,
1513
+ "special": true
1514
+ },
1515
+ "256185": {
1516
+ "content": "<extra_id_114>",
1517
+ "lstrip": false,
1518
+ "normalized": false,
1519
+ "rstrip": false,
1520
+ "single_word": false,
1521
+ "special": true
1522
+ },
1523
+ "256186": {
1524
+ "content": "<extra_id_113>",
1525
+ "lstrip": false,
1526
+ "normalized": false,
1527
+ "rstrip": false,
1528
+ "single_word": false,
1529
+ "special": true
1530
+ },
1531
+ "256187": {
1532
+ "content": "<extra_id_112>",
1533
+ "lstrip": false,
1534
+ "normalized": false,
1535
+ "rstrip": false,
1536
+ "single_word": false,
1537
+ "special": true
1538
+ },
1539
+ "256188": {
1540
+ "content": "<extra_id_111>",
1541
+ "lstrip": false,
1542
+ "normalized": false,
1543
+ "rstrip": false,
1544
+ "single_word": false,
1545
+ "special": true
1546
+ },
1547
+ "256189": {
1548
+ "content": "<extra_id_110>",
1549
+ "lstrip": false,
1550
+ "normalized": false,
1551
+ "rstrip": false,
1552
+ "single_word": false,
1553
+ "special": true
1554
+ },
1555
+ "256190": {
1556
+ "content": "<extra_id_109>",
1557
+ "lstrip": false,
1558
+ "normalized": false,
1559
+ "rstrip": false,
1560
+ "single_word": false,
1561
+ "special": true
1562
+ },
1563
+ "256191": {
1564
+ "content": "<extra_id_108>",
1565
+ "lstrip": false,
1566
+ "normalized": false,
1567
+ "rstrip": false,
1568
+ "single_word": false,
1569
+ "special": true
1570
+ },
1571
+ "256192": {
1572
+ "content": "<extra_id_107>",
1573
+ "lstrip": false,
1574
+ "normalized": false,
1575
+ "rstrip": false,
1576
+ "single_word": false,
1577
+ "special": true
1578
+ },
1579
+ "256193": {
1580
+ "content": "<extra_id_106>",
1581
+ "lstrip": false,
1582
+ "normalized": false,
1583
+ "rstrip": false,
1584
+ "single_word": false,
1585
+ "special": true
1586
+ },
1587
+ "256194": {
1588
+ "content": "<extra_id_105>",
1589
+ "lstrip": false,
1590
+ "normalized": false,
1591
+ "rstrip": false,
1592
+ "single_word": false,
1593
+ "special": true
1594
+ },
1595
+ "256195": {
1596
+ "content": "<extra_id_104>",
1597
+ "lstrip": false,
1598
+ "normalized": false,
1599
+ "rstrip": false,
1600
+ "single_word": false,
1601
+ "special": true
1602
+ },
1603
+ "256196": {
1604
+ "content": "<extra_id_103>",
1605
+ "lstrip": false,
1606
+ "normalized": false,
1607
+ "rstrip": false,
1608
+ "single_word": false,
1609
+ "special": true
1610
+ },
1611
+ "256197": {
1612
+ "content": "<extra_id_102>",
1613
+ "lstrip": false,
1614
+ "normalized": false,
1615
+ "rstrip": false,
1616
+ "single_word": false,
1617
+ "special": true
1618
+ },
1619
+ "256198": {
1620
+ "content": "<extra_id_101>",
1621
+ "lstrip": false,
1622
+ "normalized": false,
1623
+ "rstrip": false,
1624
+ "single_word": false,
1625
+ "special": true
1626
+ },
1627
+ "256199": {
1628
+ "content": "<extra_id_100>",
1629
+ "lstrip": false,
1630
+ "normalized": false,
1631
+ "rstrip": false,
1632
+ "single_word": false,
1633
+ "special": true
1634
+ },
1635
+ "256200": {
1636
+ "content": "<extra_id_99>",
1637
+ "lstrip": false,
1638
+ "normalized": false,
1639
+ "rstrip": false,
1640
+ "single_word": false,
1641
+ "special": true
1642
+ },
1643
+ "256201": {
1644
+ "content": "<extra_id_98>",
1645
+ "lstrip": false,
1646
+ "normalized": false,
1647
+ "rstrip": false,
1648
+ "single_word": false,
1649
+ "special": true
1650
+ },
1651
+ "256202": {
1652
+ "content": "<extra_id_97>",
1653
+ "lstrip": false,
1654
+ "normalized": false,
1655
+ "rstrip": false,
1656
+ "single_word": false,
1657
+ "special": true
1658
+ },
1659
+ "256203": {
1660
+ "content": "<extra_id_96>",
1661
+ "lstrip": false,
1662
+ "normalized": false,
1663
+ "rstrip": false,
1664
+ "single_word": false,
1665
+ "special": true
1666
+ },
1667
+ "256204": {
1668
+ "content": "<extra_id_95>",
1669
+ "lstrip": false,
1670
+ "normalized": false,
1671
+ "rstrip": false,
1672
+ "single_word": false,
1673
+ "special": true
1674
+ },
1675
+ "256205": {
1676
+ "content": "<extra_id_94>",
1677
+ "lstrip": false,
1678
+ "normalized": false,
1679
+ "rstrip": false,
1680
+ "single_word": false,
1681
+ "special": true
1682
+ },
1683
+ "256206": {
1684
+ "content": "<extra_id_93>",
1685
+ "lstrip": false,
1686
+ "normalized": false,
1687
+ "rstrip": false,
1688
+ "single_word": false,
1689
+ "special": true
1690
+ },
1691
+ "256207": {
1692
+ "content": "<extra_id_92>",
1693
+ "lstrip": false,
1694
+ "normalized": false,
1695
+ "rstrip": false,
1696
+ "single_word": false,
1697
+ "special": true
1698
+ },
1699
+ "256208": {
1700
+ "content": "<extra_id_91>",
1701
+ "lstrip": false,
1702
+ "normalized": false,
1703
+ "rstrip": false,
1704
+ "single_word": false,
1705
+ "special": true
1706
+ },
1707
+ "256209": {
1708
+ "content": "<extra_id_90>",
1709
+ "lstrip": false,
1710
+ "normalized": false,
1711
+ "rstrip": false,
1712
+ "single_word": false,
1713
+ "special": true
1714
+ },
1715
+ "256210": {
1716
+ "content": "<extra_id_89>",
1717
+ "lstrip": false,
1718
+ "normalized": false,
1719
+ "rstrip": false,
1720
+ "single_word": false,
1721
+ "special": true
1722
+ },
1723
+ "256211": {
1724
+ "content": "<extra_id_88>",
1725
+ "lstrip": false,
1726
+ "normalized": false,
1727
+ "rstrip": false,
1728
+ "single_word": false,
1729
+ "special": true
1730
+ },
1731
+ "256212": {
1732
+ "content": "<extra_id_87>",
1733
+ "lstrip": false,
1734
+ "normalized": false,
1735
+ "rstrip": false,
1736
+ "single_word": false,
1737
+ "special": true
1738
+ },
1739
+ "256213": {
1740
+ "content": "<extra_id_86>",
1741
+ "lstrip": false,
1742
+ "normalized": false,
1743
+ "rstrip": false,
1744
+ "single_word": false,
1745
+ "special": true
1746
+ },
1747
+ "256214": {
1748
+ "content": "<extra_id_85>",
1749
+ "lstrip": false,
1750
+ "normalized": false,
1751
+ "rstrip": false,
1752
+ "single_word": false,
1753
+ "special": true
1754
+ },
1755
+ "256215": {
1756
+ "content": "<extra_id_84>",
1757
+ "lstrip": false,
1758
+ "normalized": false,
1759
+ "rstrip": false,
1760
+ "single_word": false,
1761
+ "special": true
1762
+ },
1763
+ "256216": {
1764
+ "content": "<extra_id_83>",
1765
+ "lstrip": false,
1766
+ "normalized": false,
1767
+ "rstrip": false,
1768
+ "single_word": false,
1769
+ "special": true
1770
+ },
1771
+ "256217": {
1772
+ "content": "<extra_id_82>",
1773
+ "lstrip": false,
1774
+ "normalized": false,
1775
+ "rstrip": false,
1776
+ "single_word": false,
1777
+ "special": true
1778
+ },
1779
+ "256218": {
1780
+ "content": "<extra_id_81>",
1781
+ "lstrip": false,
1782
+ "normalized": false,
1783
+ "rstrip": false,
1784
+ "single_word": false,
1785
+ "special": true
1786
+ },
1787
+ "256219": {
1788
+ "content": "<extra_id_80>",
1789
+ "lstrip": false,
1790
+ "normalized": false,
1791
+ "rstrip": false,
1792
+ "single_word": false,
1793
+ "special": true
1794
+ },
1795
+ "256220": {
1796
+ "content": "<extra_id_79>",
1797
+ "lstrip": false,
1798
+ "normalized": false,
1799
+ "rstrip": false,
1800
+ "single_word": false,
1801
+ "special": true
1802
+ },
1803
+ "256221": {
1804
+ "content": "<extra_id_78>",
1805
+ "lstrip": false,
1806
+ "normalized": false,
1807
+ "rstrip": false,
1808
+ "single_word": false,
1809
+ "special": true
1810
+ },
1811
+ "256222": {
1812
+ "content": "<extra_id_77>",
1813
+ "lstrip": false,
1814
+ "normalized": false,
1815
+ "rstrip": false,
1816
+ "single_word": false,
1817
+ "special": true
1818
+ },
1819
+ "256223": {
1820
+ "content": "<extra_id_76>",
1821
+ "lstrip": false,
1822
+ "normalized": false,
1823
+ "rstrip": false,
1824
+ "single_word": false,
1825
+ "special": true
1826
+ },
1827
+ "256224": {
1828
+ "content": "<extra_id_75>",
1829
+ "lstrip": false,
1830
+ "normalized": false,
1831
+ "rstrip": false,
1832
+ "single_word": false,
1833
+ "special": true
1834
+ },
1835
+ "256225": {
1836
+ "content": "<extra_id_74>",
1837
+ "lstrip": false,
1838
+ "normalized": false,
1839
+ "rstrip": false,
1840
+ "single_word": false,
1841
+ "special": true
1842
+ },
1843
+ "256226": {
1844
+ "content": "<extra_id_73>",
1845
+ "lstrip": false,
1846
+ "normalized": false,
1847
+ "rstrip": false,
1848
+ "single_word": false,
1849
+ "special": true
1850
+ },
1851
+ "256227": {
1852
+ "content": "<extra_id_72>",
1853
+ "lstrip": false,
1854
+ "normalized": false,
1855
+ "rstrip": false,
1856
+ "single_word": false,
1857
+ "special": true
1858
+ },
1859
+ "256228": {
1860
+ "content": "<extra_id_71>",
1861
+ "lstrip": false,
1862
+ "normalized": false,
1863
+ "rstrip": false,
1864
+ "single_word": false,
1865
+ "special": true
1866
+ },
1867
+ "256229": {
1868
+ "content": "<extra_id_70>",
1869
+ "lstrip": false,
1870
+ "normalized": false,
1871
+ "rstrip": false,
1872
+ "single_word": false,
1873
+ "special": true
1874
+ },
1875
+ "256230": {
1876
+ "content": "<extra_id_69>",
1877
+ "lstrip": false,
1878
+ "normalized": false,
1879
+ "rstrip": false,
1880
+ "single_word": false,
1881
+ "special": true
1882
+ },
1883
+ "256231": {
1884
+ "content": "<extra_id_68>",
1885
+ "lstrip": false,
1886
+ "normalized": false,
1887
+ "rstrip": false,
1888
+ "single_word": false,
1889
+ "special": true
1890
+ },
1891
+ "256232": {
1892
+ "content": "<extra_id_67>",
1893
+ "lstrip": false,
1894
+ "normalized": false,
1895
+ "rstrip": false,
1896
+ "single_word": false,
1897
+ "special": true
1898
+ },
1899
+ "256233": {
1900
+ "content": "<extra_id_66>",
1901
+ "lstrip": false,
1902
+ "normalized": false,
1903
+ "rstrip": false,
1904
+ "single_word": false,
1905
+ "special": true
1906
+ },
1907
+ "256234": {
1908
+ "content": "<extra_id_65>",
1909
+ "lstrip": false,
1910
+ "normalized": false,
1911
+ "rstrip": false,
1912
+ "single_word": false,
1913
+ "special": true
1914
+ },
1915
+ "256235": {
1916
+ "content": "<extra_id_64>",
1917
+ "lstrip": false,
1918
+ "normalized": false,
1919
+ "rstrip": false,
1920
+ "single_word": false,
1921
+ "special": true
1922
+ },
1923
+ "256236": {
1924
+ "content": "<extra_id_63>",
1925
+ "lstrip": false,
1926
+ "normalized": false,
1927
+ "rstrip": false,
1928
+ "single_word": false,
1929
+ "special": true
1930
+ },
1931
+ "256237": {
1932
+ "content": "<extra_id_62>",
1933
+ "lstrip": false,
1934
+ "normalized": false,
1935
+ "rstrip": false,
1936
+ "single_word": false,
1937
+ "special": true
1938
+ },
1939
+ "256238": {
1940
+ "content": "<extra_id_61>",
1941
+ "lstrip": false,
1942
+ "normalized": false,
1943
+ "rstrip": false,
1944
+ "single_word": false,
1945
+ "special": true
1946
+ },
1947
+ "256239": {
1948
+ "content": "<extra_id_60>",
1949
+ "lstrip": false,
1950
+ "normalized": false,
1951
+ "rstrip": false,
1952
+ "single_word": false,
1953
+ "special": true
1954
+ },
1955
+ "256240": {
1956
+ "content": "<extra_id_59>",
1957
+ "lstrip": false,
1958
+ "normalized": false,
1959
+ "rstrip": false,
1960
+ "single_word": false,
1961
+ "special": true
1962
+ },
1963
+ "256241": {
1964
+ "content": "<extra_id_58>",
1965
+ "lstrip": false,
1966
+ "normalized": false,
1967
+ "rstrip": false,
1968
+ "single_word": false,
1969
+ "special": true
1970
+ },
1971
+ "256242": {
1972
+ "content": "<extra_id_57>",
1973
+ "lstrip": false,
1974
+ "normalized": false,
1975
+ "rstrip": false,
1976
+ "single_word": false,
1977
+ "special": true
1978
+ },
1979
+ "256243": {
1980
+ "content": "<extra_id_56>",
1981
+ "lstrip": false,
1982
+ "normalized": false,
1983
+ "rstrip": false,
1984
+ "single_word": false,
1985
+ "special": true
1986
+ },
1987
+ "256244": {
1988
+ "content": "<extra_id_55>",
1989
+ "lstrip": false,
1990
+ "normalized": false,
1991
+ "rstrip": false,
1992
+ "single_word": false,
1993
+ "special": true
1994
+ },
1995
+ "256245": {
1996
+ "content": "<extra_id_54>",
1997
+ "lstrip": false,
1998
+ "normalized": false,
1999
+ "rstrip": false,
2000
+ "single_word": false,
2001
+ "special": true
2002
+ },
2003
+ "256246": {
2004
+ "content": "<extra_id_53>",
2005
+ "lstrip": false,
2006
+ "normalized": false,
2007
+ "rstrip": false,
2008
+ "single_word": false,
2009
+ "special": true
2010
+ },
2011
+ "256247": {
2012
+ "content": "<extra_id_52>",
2013
+ "lstrip": false,
2014
+ "normalized": false,
2015
+ "rstrip": false,
2016
+ "single_word": false,
2017
+ "special": true
2018
+ },
2019
+ "256248": {
2020
+ "content": "<extra_id_51>",
2021
+ "lstrip": false,
2022
+ "normalized": false,
2023
+ "rstrip": false,
2024
+ "single_word": false,
2025
+ "special": true
2026
+ },
2027
+ "256249": {
2028
+ "content": "<extra_id_50>",
2029
+ "lstrip": false,
2030
+ "normalized": false,
2031
+ "rstrip": false,
2032
+ "single_word": false,
2033
+ "special": true
2034
+ },
2035
+ "256250": {
2036
+ "content": "<extra_id_49>",
2037
+ "lstrip": false,
2038
+ "normalized": false,
2039
+ "rstrip": false,
2040
+ "single_word": false,
2041
+ "special": true
2042
+ },
2043
+ "256251": {
2044
+ "content": "<extra_id_48>",
2045
+ "lstrip": false,
2046
+ "normalized": false,
2047
+ "rstrip": false,
2048
+ "single_word": false,
2049
+ "special": true
2050
+ },
2051
+ "256252": {
2052
+ "content": "<extra_id_47>",
2053
+ "lstrip": false,
2054
+ "normalized": false,
2055
+ "rstrip": false,
2056
+ "single_word": false,
2057
+ "special": true
2058
+ },
2059
+ "256253": {
2060
+ "content": "<extra_id_46>",
2061
+ "lstrip": false,
2062
+ "normalized": false,
2063
+ "rstrip": false,
2064
+ "single_word": false,
2065
+ "special": true
2066
+ },
2067
+ "256254": {
2068
+ "content": "<extra_id_45>",
2069
+ "lstrip": false,
2070
+ "normalized": false,
2071
+ "rstrip": false,
2072
+ "single_word": false,
2073
+ "special": true
2074
+ },
2075
+ "256255": {
2076
+ "content": "<extra_id_44>",
2077
+ "lstrip": false,
2078
+ "normalized": false,
2079
+ "rstrip": false,
2080
+ "single_word": false,
2081
+ "special": true
2082
+ },
2083
+ "256256": {
2084
+ "content": "<extra_id_43>",
2085
+ "lstrip": false,
2086
+ "normalized": false,
2087
+ "rstrip": false,
2088
+ "single_word": false,
2089
+ "special": true
2090
+ },
2091
+ "256257": {
2092
+ "content": "<extra_id_42>",
2093
+ "lstrip": false,
2094
+ "normalized": false,
2095
+ "rstrip": false,
2096
+ "single_word": false,
2097
+ "special": true
2098
+ },
2099
+ "256258": {
2100
+ "content": "<extra_id_41>",
2101
+ "lstrip": false,
2102
+ "normalized": false,
2103
+ "rstrip": false,
2104
+ "single_word": false,
2105
+ "special": true
2106
+ },
2107
+ "256259": {
2108
+ "content": "<extra_id_40>",
2109
+ "lstrip": false,
2110
+ "normalized": false,
2111
+ "rstrip": false,
2112
+ "single_word": false,
2113
+ "special": true
2114
+ },
2115
+ "256260": {
2116
+ "content": "<extra_id_39>",
2117
+ "lstrip": false,
2118
+ "normalized": false,
2119
+ "rstrip": false,
2120
+ "single_word": false,
2121
+ "special": true
2122
+ },
2123
+ "256261": {
2124
+ "content": "<extra_id_38>",
2125
+ "lstrip": false,
2126
+ "normalized": false,
2127
+ "rstrip": false,
2128
+ "single_word": false,
2129
+ "special": true
2130
+ },
2131
+ "256262": {
2132
+ "content": "<extra_id_37>",
2133
+ "lstrip": false,
2134
+ "normalized": false,
2135
+ "rstrip": false,
2136
+ "single_word": false,
2137
+ "special": true
2138
+ },
2139
+ "256263": {
2140
+ "content": "<extra_id_36>",
2141
+ "lstrip": false,
2142
+ "normalized": false,
2143
+ "rstrip": false,
2144
+ "single_word": false,
2145
+ "special": true
2146
+ },
2147
+ "256264": {
2148
+ "content": "<extra_id_35>",
2149
+ "lstrip": false,
2150
+ "normalized": false,
2151
+ "rstrip": false,
2152
+ "single_word": false,
2153
+ "special": true
2154
+ },
2155
+ "256265": {
2156
+ "content": "<extra_id_34>",
2157
+ "lstrip": false,
2158
+ "normalized": false,
2159
+ "rstrip": false,
2160
+ "single_word": false,
2161
+ "special": true
2162
+ },
2163
+ "256266": {
2164
+ "content": "<extra_id_33>",
2165
+ "lstrip": false,
2166
+ "normalized": false,
2167
+ "rstrip": false,
2168
+ "single_word": false,
2169
+ "special": true
2170
+ },
2171
+ "256267": {
2172
+ "content": "<extra_id_32>",
2173
+ "lstrip": false,
2174
+ "normalized": false,
2175
+ "rstrip": false,
2176
+ "single_word": false,
2177
+ "special": true
2178
+ },
2179
+ "256268": {
2180
+ "content": "<extra_id_31>",
2181
+ "lstrip": false,
2182
+ "normalized": false,
2183
+ "rstrip": false,
2184
+ "single_word": false,
2185
+ "special": true
2186
+ },
2187
+ "256269": {
2188
+ "content": "<extra_id_30>",
2189
+ "lstrip": false,
2190
+ "normalized": false,
2191
+ "rstrip": false,
2192
+ "single_word": false,
2193
+ "special": true
2194
+ },
2195
+ "256270": {
2196
+ "content": "<extra_id_29>",
2197
+ "lstrip": false,
2198
+ "normalized": false,
2199
+ "rstrip": false,
2200
+ "single_word": false,
2201
+ "special": true
2202
+ },
2203
+ "256271": {
2204
+ "content": "<extra_id_28>",
2205
+ "lstrip": false,
2206
+ "normalized": false,
2207
+ "rstrip": false,
2208
+ "single_word": false,
2209
+ "special": true
2210
+ },
2211
+ "256272": {
2212
+ "content": "<extra_id_27>",
2213
+ "lstrip": false,
2214
+ "normalized": false,
2215
+ "rstrip": false,
2216
+ "single_word": false,
2217
+ "special": true
2218
+ },
2219
+ "256273": {
2220
+ "content": "<extra_id_26>",
2221
+ "lstrip": false,
2222
+ "normalized": false,
2223
+ "rstrip": false,
2224
+ "single_word": false,
2225
+ "special": true
2226
+ },
2227
+ "256274": {
2228
+ "content": "<extra_id_25>",
2229
+ "lstrip": false,
2230
+ "normalized": false,
2231
+ "rstrip": false,
2232
+ "single_word": false,
2233
+ "special": true
2234
+ },
2235
+ "256275": {
2236
+ "content": "<extra_id_24>",
2237
+ "lstrip": false,
2238
+ "normalized": false,
2239
+ "rstrip": false,
2240
+ "single_word": false,
2241
+ "special": true
2242
+ },
2243
+ "256276": {
2244
+ "content": "<extra_id_23>",
2245
+ "lstrip": false,
2246
+ "normalized": false,
2247
+ "rstrip": false,
2248
+ "single_word": false,
2249
+ "special": true
2250
+ },
2251
+ "256277": {
2252
+ "content": "<extra_id_22>",
2253
+ "lstrip": false,
2254
+ "normalized": false,
2255
+ "rstrip": false,
2256
+ "single_word": false,
2257
+ "special": true
2258
+ },
2259
+ "256278": {
2260
+ "content": "<extra_id_21>",
2261
+ "lstrip": false,
2262
+ "normalized": false,
2263
+ "rstrip": false,
2264
+ "single_word": false,
2265
+ "special": true
2266
+ },
2267
+ "256279": {
2268
+ "content": "<extra_id_20>",
2269
+ "lstrip": false,
2270
+ "normalized": false,
2271
+ "rstrip": false,
2272
+ "single_word": false,
2273
+ "special": true
2274
+ },
2275
+ "256280": {
2276
+ "content": "<extra_id_19>",
2277
+ "lstrip": false,
2278
+ "normalized": false,
2279
+ "rstrip": false,
2280
+ "single_word": false,
2281
+ "special": true
2282
+ },
2283
+ "256281": {
2284
+ "content": "<extra_id_18>",
2285
+ "lstrip": false,
2286
+ "normalized": false,
2287
+ "rstrip": false,
2288
+ "single_word": false,
2289
+ "special": true
2290
+ },
2291
+ "256282": {
2292
+ "content": "<extra_id_17>",
2293
+ "lstrip": false,
2294
+ "normalized": false,
2295
+ "rstrip": false,
2296
+ "single_word": false,
2297
+ "special": true
2298
+ },
2299
+ "256283": {
2300
+ "content": "<extra_id_16>",
2301
+ "lstrip": false,
2302
+ "normalized": false,
2303
+ "rstrip": false,
2304
+ "single_word": false,
2305
+ "special": true
2306
+ },
2307
+ "256284": {
2308
+ "content": "<extra_id_15>",
2309
+ "lstrip": false,
2310
+ "normalized": false,
2311
+ "rstrip": false,
2312
+ "single_word": false,
2313
+ "special": true
2314
+ },
2315
+ "256285": {
2316
+ "content": "<extra_id_14>",
2317
+ "lstrip": false,
2318
+ "normalized": false,
2319
+ "rstrip": false,
2320
+ "single_word": false,
2321
+ "special": true
2322
+ },
2323
+ "256286": {
2324
+ "content": "<extra_id_13>",
2325
+ "lstrip": false,
2326
+ "normalized": false,
2327
+ "rstrip": false,
2328
+ "single_word": false,
2329
+ "special": true
2330
+ },
2331
+ "256287": {
2332
+ "content": "<extra_id_12>",
2333
+ "lstrip": false,
2334
+ "normalized": false,
2335
+ "rstrip": false,
2336
+ "single_word": false,
2337
+ "special": true
2338
+ },
2339
+ "256288": {
2340
+ "content": "<extra_id_11>",
2341
+ "lstrip": false,
2342
+ "normalized": false,
2343
+ "rstrip": false,
2344
+ "single_word": false,
2345
+ "special": true
2346
+ },
2347
+ "256289": {
2348
+ "content": "<extra_id_10>",
2349
+ "lstrip": false,
2350
+ "normalized": false,
2351
+ "rstrip": false,
2352
+ "single_word": false,
2353
+ "special": true
2354
+ },
2355
+ "256290": {
2356
+ "content": "<extra_id_9>",
2357
+ "lstrip": false,
2358
+ "normalized": false,
2359
+ "rstrip": false,
2360
+ "single_word": false,
2361
+ "special": true
2362
+ },
2363
+ "256291": {
2364
+ "content": "<extra_id_8>",
2365
+ "lstrip": false,
2366
+ "normalized": false,
2367
+ "rstrip": false,
2368
+ "single_word": false,
2369
+ "special": true
2370
+ },
2371
+ "256292": {
2372
+ "content": "<extra_id_7>",
2373
+ "lstrip": false,
2374
+ "normalized": false,
2375
+ "rstrip": false,
2376
+ "single_word": false,
2377
+ "special": true
2378
+ },
2379
+ "256293": {
2380
+ "content": "<extra_id_6>",
2381
+ "lstrip": false,
2382
+ "normalized": false,
2383
+ "rstrip": false,
2384
+ "single_word": false,
2385
+ "special": true
2386
+ },
2387
+ "256294": {
2388
+ "content": "<extra_id_5>",
2389
+ "lstrip": false,
2390
+ "normalized": false,
2391
+ "rstrip": false,
2392
+ "single_word": false,
2393
+ "special": true
2394
+ },
2395
+ "256295": {
2396
+ "content": "<extra_id_4>",
2397
+ "lstrip": false,
2398
+ "normalized": false,
2399
+ "rstrip": false,
2400
+ "single_word": false,
2401
+ "special": true
2402
+ },
2403
+ "256296": {
2404
+ "content": "<extra_id_3>",
2405
+ "lstrip": false,
2406
+ "normalized": false,
2407
+ "rstrip": false,
2408
+ "single_word": false,
2409
+ "special": true
2410
+ },
2411
+ "256297": {
2412
+ "content": "<extra_id_2>",
2413
+ "lstrip": false,
2414
+ "normalized": false,
2415
+ "rstrip": false,
2416
+ "single_word": false,
2417
+ "special": true
2418
+ },
2419
+ "256298": {
2420
+ "content": "<extra_id_1>",
2421
+ "lstrip": false,
2422
+ "normalized": false,
2423
+ "rstrip": false,
2424
+ "single_word": false,
2425
+ "special": true
2426
+ },
2427
+ "256299": {
2428
+ "content": "<extra_id_0>",
2429
+ "lstrip": false,
2430
+ "normalized": false,
2431
+ "rstrip": false,
2432
+ "single_word": false,
2433
+ "special": true
2434
+ }
2435
+ },
2436
+ "additional_special_tokens": [
2437
+ "<extra_id_0>",
2438
+ "<extra_id_1>",
2439
+ "<extra_id_2>",
2440
+ "<extra_id_3>",
2441
+ "<extra_id_4>",
2442
+ "<extra_id_5>",
2443
+ "<extra_id_6>",
2444
+ "<extra_id_7>",
2445
+ "<extra_id_8>",
2446
+ "<extra_id_9>",
2447
+ "<extra_id_10>",
2448
+ "<extra_id_11>",
2449
+ "<extra_id_12>",
2450
+ "<extra_id_13>",
2451
+ "<extra_id_14>",
2452
+ "<extra_id_15>",
2453
+ "<extra_id_16>",
2454
+ "<extra_id_17>",
2455
+ "<extra_id_18>",
2456
+ "<extra_id_19>",
2457
+ "<extra_id_20>",
2458
+ "<extra_id_21>",
2459
+ "<extra_id_22>",
2460
+ "<extra_id_23>",
2461
+ "<extra_id_24>",
2462
+ "<extra_id_25>",
2463
+ "<extra_id_26>",
2464
+ "<extra_id_27>",
2465
+ "<extra_id_28>",
2466
+ "<extra_id_29>",
2467
+ "<extra_id_30>",
2468
+ "<extra_id_31>",
2469
+ "<extra_id_32>",
2470
+ "<extra_id_33>",
2471
+ "<extra_id_34>",
2472
+ "<extra_id_35>",
2473
+ "<extra_id_36>",
2474
+ "<extra_id_37>",
2475
+ "<extra_id_38>",
2476
+ "<extra_id_39>",
2477
+ "<extra_id_40>",
2478
+ "<extra_id_41>",
2479
+ "<extra_id_42>",
2480
+ "<extra_id_43>",
2481
+ "<extra_id_44>",
2482
+ "<extra_id_45>",
2483
+ "<extra_id_46>",
2484
+ "<extra_id_47>",
2485
+ "<extra_id_48>",
2486
+ "<extra_id_49>",
2487
+ "<extra_id_50>",
2488
+ "<extra_id_51>",
2489
+ "<extra_id_52>",
2490
+ "<extra_id_53>",
2491
+ "<extra_id_54>",
2492
+ "<extra_id_55>",
2493
+ "<extra_id_56>",
2494
+ "<extra_id_57>",
2495
+ "<extra_id_58>",
2496
+ "<extra_id_59>",
2497
+ "<extra_id_60>",
2498
+ "<extra_id_61>",
2499
+ "<extra_id_62>",
2500
+ "<extra_id_63>",
2501
+ "<extra_id_64>",
2502
+ "<extra_id_65>",
2503
+ "<extra_id_66>",
2504
+ "<extra_id_67>",
2505
+ "<extra_id_68>",
2506
+ "<extra_id_69>",
2507
+ "<extra_id_70>",
2508
+ "<extra_id_71>",
2509
+ "<extra_id_72>",
2510
+ "<extra_id_73>",
2511
+ "<extra_id_74>",
2512
+ "<extra_id_75>",
2513
+ "<extra_id_76>",
2514
+ "<extra_id_77>",
2515
+ "<extra_id_78>",
2516
+ "<extra_id_79>",
2517
+ "<extra_id_80>",
2518
+ "<extra_id_81>",
2519
+ "<extra_id_82>",
2520
+ "<extra_id_83>",
2521
+ "<extra_id_84>",
2522
+ "<extra_id_85>",
2523
+ "<extra_id_86>",
2524
+ "<extra_id_87>",
2525
+ "<extra_id_88>",
2526
+ "<extra_id_89>",
2527
+ "<extra_id_90>",
2528
+ "<extra_id_91>",
2529
+ "<extra_id_92>",
2530
+ "<extra_id_93>",
2531
+ "<extra_id_94>",
2532
+ "<extra_id_95>",
2533
+ "<extra_id_96>",
2534
+ "<extra_id_97>",
2535
+ "<extra_id_98>",
2536
+ "<extra_id_99>",
2537
+ "<extra_id_100>",
2538
+ "<extra_id_101>",
2539
+ "<extra_id_102>",
2540
+ "<extra_id_103>",
2541
+ "<extra_id_104>",
2542
+ "<extra_id_105>",
2543
+ "<extra_id_106>",
2544
+ "<extra_id_107>",
2545
+ "<extra_id_108>",
2546
+ "<extra_id_109>",
2547
+ "<extra_id_110>",
2548
+ "<extra_id_111>",
2549
+ "<extra_id_112>",
2550
+ "<extra_id_113>",
2551
+ "<extra_id_114>",
2552
+ "<extra_id_115>",
2553
+ "<extra_id_116>",
2554
+ "<extra_id_117>",
2555
+ "<extra_id_118>",
2556
+ "<extra_id_119>",
2557
+ "<extra_id_120>",
2558
+ "<extra_id_121>",
2559
+ "<extra_id_122>",
2560
+ "<extra_id_123>",
2561
+ "<extra_id_124>",
2562
+ "<extra_id_125>",
2563
+ "<extra_id_126>",
2564
+ "<extra_id_127>",
2565
+ "<extra_id_128>",
2566
+ "<extra_id_129>",
2567
+ "<extra_id_130>",
2568
+ "<extra_id_131>",
2569
+ "<extra_id_132>",
2570
+ "<extra_id_133>",
2571
+ "<extra_id_134>",
2572
+ "<extra_id_135>",
2573
+ "<extra_id_136>",
2574
+ "<extra_id_137>",
2575
+ "<extra_id_138>",
2576
+ "<extra_id_139>",
2577
+ "<extra_id_140>",
2578
+ "<extra_id_141>",
2579
+ "<extra_id_142>",
2580
+ "<extra_id_143>",
2581
+ "<extra_id_144>",
2582
+ "<extra_id_145>",
2583
+ "<extra_id_146>",
2584
+ "<extra_id_147>",
2585
+ "<extra_id_148>",
2586
+ "<extra_id_149>",
2587
+ "<extra_id_150>",
2588
+ "<extra_id_151>",
2589
+ "<extra_id_152>",
2590
+ "<extra_id_153>",
2591
+ "<extra_id_154>",
2592
+ "<extra_id_155>",
2593
+ "<extra_id_156>",
2594
+ "<extra_id_157>",
2595
+ "<extra_id_158>",
2596
+ "<extra_id_159>",
2597
+ "<extra_id_160>",
2598
+ "<extra_id_161>",
2599
+ "<extra_id_162>",
2600
+ "<extra_id_163>",
2601
+ "<extra_id_164>",
2602
+ "<extra_id_165>",
2603
+ "<extra_id_166>",
2604
+ "<extra_id_167>",
2605
+ "<extra_id_168>",
2606
+ "<extra_id_169>",
2607
+ "<extra_id_170>",
2608
+ "<extra_id_171>",
2609
+ "<extra_id_172>",
2610
+ "<extra_id_173>",
2611
+ "<extra_id_174>",
2612
+ "<extra_id_175>",
2613
+ "<extra_id_176>",
2614
+ "<extra_id_177>",
2615
+ "<extra_id_178>",
2616
+ "<extra_id_179>",
2617
+ "<extra_id_180>",
2618
+ "<extra_id_181>",
2619
+ "<extra_id_182>",
2620
+ "<extra_id_183>",
2621
+ "<extra_id_184>",
2622
+ "<extra_id_185>",
2623
+ "<extra_id_186>",
2624
+ "<extra_id_187>",
2625
+ "<extra_id_188>",
2626
+ "<extra_id_189>",
2627
+ "<extra_id_190>",
2628
+ "<extra_id_191>",
2629
+ "<extra_id_192>",
2630
+ "<extra_id_193>",
2631
+ "<extra_id_194>",
2632
+ "<extra_id_195>",
2633
+ "<extra_id_196>",
2634
+ "<extra_id_197>",
2635
+ "<extra_id_198>",
2636
+ "<extra_id_199>",
2637
+ "<extra_id_200>",
2638
+ "<extra_id_201>",
2639
+ "<extra_id_202>",
2640
+ "<extra_id_203>",
2641
+ "<extra_id_204>",
2642
+ "<extra_id_205>",
2643
+ "<extra_id_206>",
2644
+ "<extra_id_207>",
2645
+ "<extra_id_208>",
2646
+ "<extra_id_209>",
2647
+ "<extra_id_210>",
2648
+ "<extra_id_211>",
2649
+ "<extra_id_212>",
2650
+ "<extra_id_213>",
2651
+ "<extra_id_214>",
2652
+ "<extra_id_215>",
2653
+ "<extra_id_216>",
2654
+ "<extra_id_217>",
2655
+ "<extra_id_218>",
2656
+ "<extra_id_219>",
2657
+ "<extra_id_220>",
2658
+ "<extra_id_221>",
2659
+ "<extra_id_222>",
2660
+ "<extra_id_223>",
2661
+ "<extra_id_224>",
2662
+ "<extra_id_225>",
2663
+ "<extra_id_226>",
2664
+ "<extra_id_227>",
2665
+ "<extra_id_228>",
2666
+ "<extra_id_229>",
2667
+ "<extra_id_230>",
2668
+ "<extra_id_231>",
2669
+ "<extra_id_232>",
2670
+ "<extra_id_233>",
2671
+ "<extra_id_234>",
2672
+ "<extra_id_235>",
2673
+ "<extra_id_236>",
2674
+ "<extra_id_237>",
2675
+ "<extra_id_238>",
2676
+ "<extra_id_239>",
2677
+ "<extra_id_240>",
2678
+ "<extra_id_241>",
2679
+ "<extra_id_242>",
2680
+ "<extra_id_243>",
2681
+ "<extra_id_244>",
2682
+ "<extra_id_245>",
2683
+ "<extra_id_246>",
2684
+ "<extra_id_247>",
2685
+ "<extra_id_248>",
2686
+ "<extra_id_249>",
2687
+ "<extra_id_250>",
2688
+ "<extra_id_251>",
2689
+ "<extra_id_252>",
2690
+ "<extra_id_253>",
2691
+ "<extra_id_254>",
2692
+ "<extra_id_255>",
2693
+ "<extra_id_256>",
2694
+ "<extra_id_257>",
2695
+ "<extra_id_258>",
2696
+ "<extra_id_259>",
2697
+ "<extra_id_260>",
2698
+ "<extra_id_261>",
2699
+ "<extra_id_262>",
2700
+ "<extra_id_263>",
2701
+ "<extra_id_264>",
2702
+ "<extra_id_265>",
2703
+ "<extra_id_266>",
2704
+ "<extra_id_267>",
2705
+ "<extra_id_268>",
2706
+ "<extra_id_269>",
2707
+ "<extra_id_270>",
2708
+ "<extra_id_271>",
2709
+ "<extra_id_272>",
2710
+ "<extra_id_273>",
2711
+ "<extra_id_274>",
2712
+ "<extra_id_275>",
2713
+ "<extra_id_276>",
2714
+ "<extra_id_277>",
2715
+ "<extra_id_278>",
2716
+ "<extra_id_279>",
2717
+ "<extra_id_280>",
2718
+ "<extra_id_281>",
2719
+ "<extra_id_282>",
2720
+ "<extra_id_283>",
2721
+ "<extra_id_284>",
2722
+ "<extra_id_285>",
2723
+ "<extra_id_286>",
2724
+ "<extra_id_287>",
2725
+ "<extra_id_288>",
2726
+ "<extra_id_289>",
2727
+ "<extra_id_290>",
2728
+ "<extra_id_291>",
2729
+ "<extra_id_292>",
2730
+ "<extra_id_293>",
2731
+ "<extra_id_294>",
2732
+ "<extra_id_295>",
2733
+ "<extra_id_296>",
2734
+ "<extra_id_297>",
2735
+ "<extra_id_298>",
2736
+ "<extra_id_299>"
2737
+ ],
2738
+ "bos_token": "<s>",
2739
+ "clean_up_tokenization_spaces": true,
2740
+ "eos_token": "</s>",
2741
+ "extra_ids": 300,
2742
+ "model_max_length": 1000000000000000019884624838656,
2743
+ "pad_token": "<pad>",
2744
+ "sp_model_kwargs": {},
2745
+ "spaces_between_special_tokens": false,
2746
+ "tokenizer_class": "T5Tokenizer",
2747
+ "unk_token": "<unk>"
2748
+ }
video_gen_14d/models/Wan2.1-VACE-1.3B/models_t5_umt5-xxl-enc-bf16.pth ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7cace0da2b446bbbbc57d031ab6cf163a3d59b366da94e5afe36745b746fd81d
3
+ size 11361920418
video_gen_14d/requirements-runtime.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Reuse the NVIDIA container's CUDA 12.8 builds of torch, torchvision,
2
+ # and flash-attn through `.venv --system-site-packages`.
3
+ numpy>=1.26,<2
4
+ diffusers>=0.31,<1
5
+ transformers>=4.49,<5
6
+ tokenizers>=0.20.3
7
+ accelerate>=1.1.1,<2
8
+ gradio>=5,<6
9
+ # OpenCV 4.12+ requires NumPy 2, while the NVIDIA stack requires NumPy <2.
10
+ opencv-python-headless>=4.9,<4.12
11
+ imageio
12
+ imageio-ffmpeg
13
+ easydict
14
+ ftfy
15
+ dashscope
16
+ decord
17
+ scikit-image
18
+ timm
19
+ # 1.27 targets CUDA 13; the host driver/runtime is CUDA 12.8.
20
+ onnxruntime-gpu==1.20.1
21
+ sentencepiece
22
+ safetensors
23
+ protobuf
24
+ modelscope
25
+ peft
26
+ datasets
27
+ pandas
video_gen_14d/scripts/launch_baseline_8gpu.py ADDED
@@ -0,0 +1,270 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Launch one independent VACE baseline sample per H200 GPU."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import argparse
7
+ import json
8
+ import os
9
+ import subprocess
10
+ import sys
11
+ import time
12
+ from pathlib import Path
13
+
14
+
15
+ ROOT = Path(__file__).resolve().parents[1]
16
+ PYTHON = ROOT / ".venv" / "bin" / "python"
17
+ VACE_ROOT = ROOT / "third_party" / "VACE"
18
+ INFERENCE = VACE_ROOT / "vace" / "vace_wan_inference.py"
19
+ MODEL = ROOT / "models" / "Wan2.1-VACE-1.3B"
20
+ BENCHMARK = ROOT / "data" / "VACE-Benchmark" / "assets" / "examples"
21
+
22
+ TASKS = [
23
+ {
24
+ "name": "depth",
25
+ "src_video": "depth/src_video.mp4",
26
+ "prompt": (
27
+ "一群年轻人在天空之城拍摄集体照。一对年轻情侣手牵手、相视而笑,"
28
+ "周围是彩色热气球和闪烁的星星。镜头从近景缓缓拉远,写实摄影风格。"
29
+ ),
30
+ },
31
+ {
32
+ "name": "flow",
33
+ "src_video": "flow/src_video.mp4",
34
+ "prompt": (
35
+ "纪实摄影风格,一颗鲜红的小番茄缓缓落入盛着牛奶的玻璃杯中,"
36
+ "慢镜头捕捉水花在空中形成弧线,近景特写,垂直俯视。"
37
+ ),
38
+ },
39
+ {
40
+ "name": "pose",
41
+ "src_video": "pose/src_video.mp4",
42
+ "prompt": (
43
+ "热带庆祝派对上,一家人围坐在椰子树下的长桌旁,年轻人举杯,"
44
+ "孩子在沙滩奔跑。动态中景捕捉自然的人体动作,写实风格。"
45
+ ),
46
+ },
47
+ {
48
+ "name": "scribble",
49
+ "src_video": "scribble/src_video.mp4",
50
+ "prompt": (
51
+ "荧光色无人机从极低空高速掠过超现实主义风格的西安古城墙,"
52
+ "尘埃反射阳光,镜头流畅切换至砖石特写,画质清晰华丽。"
53
+ ),
54
+ },
55
+ {
56
+ "name": "layout",
57
+ "src_video": "layout/src_video.mp4",
58
+ "prompt": (
59
+ "一只成鸟在树枝上的巢中喂养幼鸟,随后飞走并再次带回食物。"
60
+ "固定机位,背景是模糊绿色植被,强调鸟类自然行为。"
61
+ ),
62
+ },
63
+ {
64
+ "name": "gray",
65
+ "src_video": "gray/src_video.mp4",
66
+ "prompt": (
67
+ "镜头缓缓向右平移,身穿淡黄色长裙的长发女孩面对镜头微笑,"
68
+ "长发随风轻扬,背景是秋日红黄树叶,清新写实风格。"
69
+ ),
70
+ },
71
+ {
72
+ "name": "firstframe",
73
+ "src_video": "firstframe/src_video.mp4",
74
+ "src_mask": "firstframe/src_mask.mp4",
75
+ "prompt": (
76
+ "纪实摄影风格,一位中国越野爱好者坐在越野车上手持车载电台,"
77
+ "表情专注。镜头从车外缓缓拉近并定格在人物面部。"
78
+ ),
79
+ },
80
+ {
81
+ "name": "inpainting",
82
+ "src_video": "inpainting/src_video.mp4",
83
+ "src_mask": "inpainting/src_mask.mp4",
84
+ "prompt": (
85
+ "一只巨大的金色凤凰从繁华城市上空展翅飞过,羽毛像火焰般发光,"
86
+ "下方人群惊叹、霓虹闪烁,镜头俯视城市街道。"
87
+ ),
88
+ },
89
+ ]
90
+
91
+
92
+ def parse_gpu_status() -> dict[int, dict[str, int]]:
93
+ output = subprocess.check_output(
94
+ [
95
+ "nvidia-smi",
96
+ "--query-gpu=index,memory.free,utilization.gpu",
97
+ "--format=csv,noheader,nounits",
98
+ ],
99
+ text=True,
100
+ )
101
+ status: dict[int, dict[str, int]] = {}
102
+ for line in output.strip().splitlines():
103
+ index, free_mib, utilization = (int(value.strip()) for value in line.split(","))
104
+ status[index] = {"free_mib": free_mib, "utilization": utilization}
105
+ return status
106
+
107
+
108
+ def build_command(
109
+ task: dict[str, str],
110
+ output_dir: Path,
111
+ seed: int,
112
+ frames: int,
113
+ steps: int,
114
+ ) -> list[str]:
115
+ command = [
116
+ str(PYTHON),
117
+ str(INFERENCE),
118
+ "--model_name",
119
+ "vace-1.3B",
120
+ "--size",
121
+ "480p",
122
+ "--frame_num",
123
+ str(frames),
124
+ "--ckpt_dir",
125
+ str(MODEL),
126
+ "--offload_model",
127
+ "False",
128
+ "--sample_steps",
129
+ str(steps),
130
+ "--base_seed",
131
+ str(seed),
132
+ "--use_prompt_extend",
133
+ "plain",
134
+ "--save_dir",
135
+ str(output_dir),
136
+ "--prompt",
137
+ task["prompt"],
138
+ "--src_video",
139
+ str(BENCHMARK / task["src_video"]),
140
+ ]
141
+ if task.get("src_mask"):
142
+ command.extend(["--src_mask", str(BENCHMARK / task["src_mask"])])
143
+ return command
144
+
145
+
146
+ def validate_assets() -> None:
147
+ required = [PYTHON, INFERENCE, MODEL / "diffusion_pytorch_model.safetensors"]
148
+ missing = [str(path) for path in required if not path.exists()]
149
+ for task in TASKS:
150
+ source = BENCHMARK / task["src_video"]
151
+ if not source.exists():
152
+ missing.append(str(source))
153
+ if task.get("src_mask"):
154
+ mask = BENCHMARK / task["src_mask"]
155
+ if not mask.exists():
156
+ missing.append(str(mask))
157
+ if missing:
158
+ raise FileNotFoundError("Missing required assets:\n" + "\n".join(missing))
159
+
160
+
161
+ def main() -> int:
162
+ parser = argparse.ArgumentParser()
163
+ parser.add_argument("--gpus", default="0,1,2,3,4,5,6,7")
164
+ parser.add_argument("--run-id", default=time.strftime("%Y%m%d_%H%M%S"))
165
+ parser.add_argument("--frames", type=int, default=49)
166
+ parser.add_argument("--steps", type=int, default=20)
167
+ parser.add_argument("--seed", type=int, default=2026)
168
+ parser.add_argument("--min-free-mib", type=int, default=60_000)
169
+ parser.add_argument(
170
+ "--force",
171
+ action="store_true",
172
+ help="Launch even when the selected GPUs do not meet the free-memory guard.",
173
+ )
174
+ args = parser.parse_args()
175
+
176
+ gpu_ids = [int(value) for value in args.gpus.split(",") if value.strip()]
177
+ if not gpu_ids or len(gpu_ids) > len(TASKS):
178
+ parser.error(f"Choose between 1 and {len(TASKS)} GPUs")
179
+ if args.frames < 1 or (args.frames - 1) % 4 != 0:
180
+ parser.error("--frames must have the form 4n+1")
181
+
182
+ validate_assets()
183
+ status = parse_gpu_status()
184
+ blocked = {
185
+ gpu: status.get(gpu)
186
+ for gpu in gpu_ids
187
+ if gpu not in status or status[gpu]["free_mib"] < args.min_free_mib
188
+ }
189
+ if blocked and not args.force:
190
+ print(json.dumps({"status": "blocked", "gpus": blocked}, indent=2))
191
+ return 2
192
+
193
+ run_root = ROOT / "outputs" / "baseline" / args.run_id
194
+ run_root.mkdir(parents=True, exist_ok=False)
195
+ processes: list[tuple[int, str, subprocess.Popen[bytes], object]] = []
196
+ manifest: list[dict[str, object]] = []
197
+
198
+ for offset, gpu in enumerate(gpu_ids):
199
+ task = TASKS[offset]
200
+ task_dir = run_root / f"gpu{gpu}_{task['name']}"
201
+ task_dir.mkdir(parents=True)
202
+ log_path = task_dir / "run.log"
203
+ command = build_command(
204
+ task,
205
+ task_dir,
206
+ seed=args.seed + offset,
207
+ frames=args.frames,
208
+ steps=args.steps,
209
+ )
210
+ env = os.environ.copy()
211
+ env["CUDA_VISIBLE_DEVICES"] = str(gpu)
212
+ env["TOKENIZERS_PARALLELISM"] = "false"
213
+ env["PYTHONUNBUFFERED"] = "1"
214
+ log_handle = log_path.open("wb")
215
+ process = subprocess.Popen(
216
+ command,
217
+ cwd=VACE_ROOT,
218
+ env=env,
219
+ stdout=log_handle,
220
+ stderr=subprocess.STDOUT,
221
+ )
222
+ processes.append((gpu, task["name"], process, log_handle))
223
+ manifest.append(
224
+ {
225
+ "gpu": gpu,
226
+ "task": task["name"],
227
+ "pid": process.pid,
228
+ "seed": args.seed + offset,
229
+ "frames": args.frames,
230
+ "steps": args.steps,
231
+ "output_dir": str(task_dir),
232
+ "command": command,
233
+ }
234
+ )
235
+ print(f"STARTED gpu={gpu} task={task['name']} pid={process.pid}")
236
+
237
+ (run_root / "manifest.json").write_text(
238
+ json.dumps(manifest, ensure_ascii=False, indent=2),
239
+ encoding="utf-8",
240
+ )
241
+
242
+ failed = False
243
+ for gpu, task_name, process, log_handle in processes:
244
+ return_code = process.wait()
245
+ log_handle.close()
246
+ print(f"FINISHED gpu={gpu} task={task_name} exit={return_code}")
247
+ failed = failed or return_code != 0
248
+
249
+ summary = {
250
+ "run_id": args.run_id,
251
+ "failed": failed,
252
+ "results": [
253
+ {
254
+ "gpu": gpu,
255
+ "task": task_name,
256
+ "exit_code": process.returncode,
257
+ }
258
+ for gpu, task_name, process, _ in processes
259
+ ],
260
+ }
261
+ (run_root / "summary.json").write_text(
262
+ json.dumps(summary, ensure_ascii=False, indent=2),
263
+ encoding="utf-8",
264
+ )
265
+ print("VACE_BASELINE_COMPLETE" if not failed else "VACE_BASELINE_FAILED")
266
+ return 1 if failed else 0
267
+
268
+
269
+ if __name__ == "__main__":
270
+ sys.exit(main())
video_gen_14d/scripts/setup_runtime.sh ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
+ VENV="${ROOT}/.venv"
6
+
7
+ if [[ ! -d "${VENV}" ]]; then
8
+ python -m venv --system-site-packages "${VENV}"
9
+ fi
10
+
11
+ "${VENV}/bin/python" -m pip install --upgrade pip setuptools wheel
12
+ "${VENV}/bin/python" -m pip install -r "${ROOT}/requirements-runtime.txt"
13
+
14
+ # Install local repositories without their broad dependency sets. In particular,
15
+ # Wan declares GUI OpenCV, while this headless node requires opencv-python-headless.
16
+ "${VENV}/bin/python" -m pip install --no-deps -e "${ROOT}/third_party/Wan2.1"
17
+ "${VENV}/bin/python" -m pip install --no-deps -e "${ROOT}/third_party/DiffSynth-Studio"
18
+
19
+ PYTHONPATH="${ROOT}/third_party/VACE" "${VENV}/bin/python" - <<'PY'
20
+ import cv2
21
+ import diffusers
22
+ import diffsynth
23
+ import numpy
24
+ import onnxruntime
25
+ import torch
26
+ import transformers
27
+ import wan
28
+ from vace.models.wan.wan_vace import WanVace
29
+
30
+ print("VACE_RUNTIME_READY")
31
+ print(
32
+ {
33
+ "torch": torch.__version__,
34
+ "cuda": torch.version.cuda,
35
+ "gpu_count": torch.cuda.device_count(),
36
+ "numpy": numpy.__version__,
37
+ "opencv": cv2.__version__,
38
+ "onnxruntime": onnxruntime.__version__,
39
+ "transformers": transformers.__version__,
40
+ "diffusers": diffusers.__version__,
41
+ }
42
+ )
43
+ PY
video_gen_14d/scripts/wait_and_bootstrap_8gpu.sh ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+
4
+ ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
5
+ PYTHON="${ROOT}/.venv/bin/python"
6
+ LAUNCHER="${ROOT}/scripts/launch_baseline_8gpu.py"
7
+ MIN_FREE_MIB="${MIN_FREE_MIB:-60000}"
8
+ POLL_SECONDS="${POLL_SECONDS:-60}"
9
+ RUN_STAMP="$(date +%Y%m%d_%H%M%S)"
10
+
11
+ all_gpus_ready() {
12
+ "${PYTHON}" - "${MIN_FREE_MIB}" <<'PY'
13
+ import subprocess
14
+ import sys
15
+
16
+ threshold = int(sys.argv[1])
17
+ output = subprocess.check_output(
18
+ [
19
+ "nvidia-smi",
20
+ "--query-gpu=index,memory.free",
21
+ "--format=csv,noheader,nounits",
22
+ ],
23
+ text=True,
24
+ )
25
+ free = [int(line.split(",")[1].strip()) for line in output.strip().splitlines()]
26
+ ready = len(free) >= 8 and all(value >= threshold for value in free[:8])
27
+ print("GPU_FREE_MIB=" + ",".join(map(str, free[:8])))
28
+ raise SystemExit(0 if ready else 1)
29
+ PY
30
+ }
31
+
32
+ echo "WAITING_FOR_8_GPUS min_free_mib=${MIN_FREE_MIB}"
33
+ while ! all_gpus_ready; do
34
+ sleep "${POLL_SECONDS}"
35
+ done
36
+
37
+ echo "GPUS_READY"
38
+
39
+ # Cheap end-to-end gate before occupying all cards.
40
+ "${PYTHON}" "${LAUNCHER}" \
41
+ --gpus 0 \
42
+ --run-id "single_smoke_${RUN_STAMP}" \
43
+ --frames 17 \
44
+ --steps 8 \
45
+ --min-free-mib "${MIN_FREE_MIB}"
46
+
47
+ echo "SINGLE_GPU_SMOKE_COMPLETE"
48
+
49
+ # Re-check all devices in case another workload started during the smoke test.
50
+ while ! all_gpus_ready; do
51
+ echo "WAITING_AGAIN_AFTER_SMOKE"
52
+ sleep "${POLL_SECONDS}"
53
+ done
54
+
55
+ # One independent condition per GPU maximizes experiment throughput.
56
+ "${PYTHON}" "${LAUNCHER}" \
57
+ --gpus 0,1,2,3,4,5,6,7 \
58
+ --run-id "eight_gpu_baseline_${RUN_STAMP}" \
59
+ --frames 49 \
60
+ --steps 20 \
61
+ --min-free-mib "${MIN_FREE_MIB}"
62
+
63
+ echo "VACE_8GPU_BASELINE_COMPLETE"
video_gen_14d/third_party/CRONOS-benchmark/LICENSE ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ MIT License
2
+
3
+ Copyright (c) 2026 León Begiristain Ribó
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
+
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
video_gen_14d/third_party/CRONOS-benchmark/README.md ADDED
@@ -0,0 +1,214 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CRONOS: Benchmarking Counterfactual Physical Consistency in Video Models
2
+
3
+ [![Paper](https://img.shields.io/badge/Paper-arXiv-red)](https://arxiv.org/abs/2605.23699)
4
+ [![Project Page](https://img.shields.io/badge/Project-Page-blue)](https://genintel.github.io/CRONOS/)
5
+ [![Dataset](https://img.shields.io/badge/Dataset-HuggingFace-yellow)](https://huggingface.co/datasets/genintel/CRONOS-benchmark)
6
+ [![Code](https://img.shields.io/badge/Code-GitHub-black)](https://github.com/GenIntel/CRONOS-benchmark)
7
+
8
+ Evaluation code for CRONOS-Benchmark. Given a generated video and a reference sequence from the dataset, this repo runs all predictions and computes the six benchmark metrics.
9
+
10
+ ## Repository layout
11
+
12
+ ```
13
+ CRONOS-Benchmark/
14
+ ├── config.py # model paths and hyperparameters
15
+ ├── requirements-cronos.txt # Python deps for the cronos environment
16
+ ├── constraints-cronos.txt # torch version pins (prevents pip from upgrading)
17
+ ├── setup_cronos.sh # sets up the 'cronos' conda environment
18
+ ├── setup_sam3d.sh # sets up the 'cronos-sam3d' conda environment
19
+ ├── scripts/
20
+ │ ├── run_predictions.sh # orchestrates all 7 prediction steps
21
+ │ ├── run_sam.py # SAM3 video segmentation
22
+ │ ├── run_cotracker.py # CoTracker point tracking
23
+ │ ├── run_sam3d.py # SAM3D per-object 3D reconstruction
24
+ │ ├── run_dino.py # DINOv2 temporal embeddings
25
+ │ ├── run_dismo.py # DisMo motion embeddings
26
+ │ └── run_qwen.py # Qwen VLM task-performance evaluation
27
+ └── metrics/
28
+ ├── metrics.py # compute and aggregate all metrics
29
+ └── utils.py # shared loading and scaling utilities
30
+ ```
31
+
32
+ ## Models
33
+
34
+ | Model | Role | Source |
35
+ |---|---|---|
36
+ | [SAM3](https://github.com/facebookresearch/sam3) | Video object segmentation (prompt → per-frame masks) | Clone locally; set `SAM3_MODEL_PATH` in `config.py` |
37
+ | [SAM3D-Objects](https://github.com/facebookresearch/sam-3d-objects) | Per-object 3D mesh reconstruction from video | Clone locally for source code (`SAM3D_OBJECTS_DIR`); checkpoints downloaded automatically from HF Hub (`facebook/sam-3d-objects`) |
38
+ | [CoTracker3](https://github.com/facebookresearch/co-tracker) | Dense point tracking across frames | Loaded via PyTorch Hub (`facebookresearch/co-tracker`) |
39
+ | [DisMo](https://github.com/CompVis/DisMo) | Motion representation embeddings | Loaded via PyTorch Hub (`CompVis/DisMo`) |
40
+ | [DINOv2](https://github.com/facebookresearch/dinov2) | Visual feature embeddings for object consistency | Loaded via PyTorch Hub (`facebookresearch/dinov2`) |
41
+ | [Qwen3-VL](https://huggingface.co/Qwen/Qwen3-VL-32B-Instruct) | VLM task-performance evaluation | HuggingFace model ID or local path; set `QWEN_MODEL_PATH` in `config.py` |
42
+ | [CLIP](https://github.com/openai/CLIP) | Visual features used by SAM3D pipeline | Download locally; set `CLIP_MODEL_PATH` in `config.py` |
43
+
44
+ ## Installation
45
+
46
+ ### Prerequisites
47
+
48
+ - Linux x86_64 with an NVIDIA GPU (≥24 GB VRAM for Qwen3-VL-32B; ≥16 GB for all other models)
49
+ - CUDA 12.4 driver (`nvidia-smi` must work)
50
+ - [Miniconda](https://docs.conda.io/en/latest/miniconda.html) or Mamba
51
+ - `nvcc` (CUDA 12.4 toolkit) in PATH — required only for the SAM3D environment
52
+ - ~80 GB of free disk space (model weights + environments)
53
+
54
+ ### Step 1 — Clone model repositories
55
+
56
+ Clone the following repos to a common directory (e.g. `models/`) and update the paths in `config.py`:
57
+
58
+ ```bash
59
+ MODELS_DIR=/path/to/models
60
+
61
+ # SAM3 (video segmentation)
62
+ git clone https://github.com/facebookresearch/sam3 "$MODELS_DIR/sam3"
63
+
64
+ # SAM3D-Objects (3D reconstruction — source code only; checkpoints are fetched from HF Hub automatically)
65
+ git clone https://github.com/facebookresearch/sam-3d-objects "$MODELS_DIR/sam-3d-objects"
66
+
67
+ # Qwen3-VL (VLM evaluation — includes qwen-vl-utils)
68
+ git clone https://github.com/QwenLM/Qwen3-VL "$MODELS_DIR/Qwen3-VL"
69
+ ```
70
+
71
+ Edit `config.py` so the path variables point to your clones:
72
+
73
+ | Variable | Value |
74
+ |---|---|
75
+ | `SAM3_MODEL_PATH` | `$MODELS_DIR/sam3` |
76
+ | `SAM3D_OBJECTS_DIR` | `$MODELS_DIR/sam-3d-objects` |
77
+ | `SAM3D_HF_CACHE` | Local directory where SAM3D-Objects checkpoints are cached |
78
+ | `CLIP_MODEL_PATH` | Path to a local CLIP checkpoint (used by SAM3D) |
79
+ | `QWEN_MODEL_PATH` | `"Qwen/Qwen3-VL-32B-Instruct"` (HuggingFace) or a local path |
80
+
81
+ CoTracker, DisMo, and DINOv2 are downloaded automatically via PyTorch Hub at first run.
82
+ SAM3D-Objects checkpoints are downloaded automatically from `facebook/sam-3d-objects` on HuggingFace Hub at first run and cached at `SAM3D_HF_CACHE`.
83
+
84
+ ### Step 2 — `cronos` environment (all steps except SAM3D)
85
+
86
+ This environment covers `run_sam.py`, `run_cotracker.py`, `run_dino.py`, `run_dismo.py`, `run_qwen.py`, and `metrics/`.
87
+
88
+ ```bash
89
+ cd CRONOS-benchmark
90
+
91
+ bash setup_cronos.sh \
92
+ --sam3-path /path/to/models/sam3 \
93
+ --qwen-utils-path /path/to/models/Qwen3-VL/qwen-vl-utils
94
+
95
+ conda activate cronos
96
+ ```
97
+
98
+ `setup_cronos.sh` installs PyTorch 2.5.1+cu124, all requirements from `requirements-cronos.txt`, and editable installs of SAM3 and `qwen-vl-utils`.
99
+
100
+ ### Step 3 — `cronos-sam3d` environment (`run_sam3d.py` only)
101
+
102
+ SAM3D-Objects requires older versions of `timm`, `transformers`, and `bitsandbytes` that conflict with the `cronos` environment. It also needs several packages that must be compiled from source (`pytorch3d`, `gsplat`).
103
+
104
+ > **Note:** `nvcc` (CUDA 12.4 toolkit) must be available before running `setup_sam3d.sh`.
105
+
106
+ ```bash
107
+ cd CRONOS-benchmark
108
+
109
+ bash setup_sam3d.sh --sam3d-path /path/to/models/sam-3d-objects
110
+
111
+ # Record the Python binary path printed at the end:
112
+ # Python binary path: /path/to/envs/cronos-sam3d/bin/python
113
+ ```
114
+
115
+ > `pytorch3d` and `gsplat` are compiled from source and may take 10–20 minutes.
116
+
117
+ `setup_sam3d.sh` automatically removes the `dataclasses` backport package from site-packages after installation. This backport is pulled in as a transitive dependency and shadows the Python 3.11 stdlib version, breaking `imageio` at import time.
118
+
119
+ ### Step 4 — Configure `config.py`
120
+
121
+ Edit `config.py` to point to your local model paths before running anything.
122
+
123
+ The CoTracker, DisMo, and DINOv2 models are loaded from PyTorch Hub at runtime using the identifiers in `config.py`. SAM3D-Objects checkpoints are fetched from HuggingFace Hub automatically by `run_sam3d.py` at first run.
124
+
125
+ ## Running predictions
126
+
127
+ `run_predictions.sh` runs all seven steps in order for a single sequence.
128
+ Because the SAM3D step runs in a separate environment, set `PYTHON_SAM3D` to the Python binary of the `cronos-sam3d` conda environment before calling the script:
129
+
130
+ ```bash
131
+ # Set PYTHON_SAM3D to the path printed at the end of setup_sam3d.sh, then:
132
+ conda activate cronos
133
+ PYTHON_SAM3D=/path/to/envs/cronos-sam3d/bin/python bash scripts/run_predictions.sh \
134
+ --video <generated>.mp4 \
135
+ --ref <ref_sequence_dir> \
136
+ --output <output_dir>
137
+ ```
138
+
139
+ - `--video`: the generated `.mp4` file to evaluate
140
+ - `--ref`: a sequence directory from the CRONOS-Benchmark dataset; must contain `metadata.json`, `mask/frame_0000.jpg`, and `movies/complete.mp4`
141
+ - `--output`: directory where all prediction artefacts are written
142
+
143
+ > If `PYTHON_SAM3D` is not set, the script falls back to `python` and assumes a single environment that satisfies all dependencies.
144
+
145
+ ### Output files
146
+
147
+ | File | Produced by |
148
+ |---|---|
149
+ | `segmentation_masks.npz` | `run_sam.py` |
150
+ | `tracks.npz` | `run_cotracker.py` |
151
+ | `sam3D/obj{i}/sam3D/mesh/*.ply` | `run_sam3d.py` |
152
+ | `dino_embeddings.npz` | `run_dino.py` |
153
+ | `dismo_embeddings.npz` | `run_dismo.py` (generated video) |
154
+ | `gt_dismo_embeddings.npz` | `run_dismo.py` (reference video) |
155
+ | `vlm_predictions.json` | `run_qwen.py` |
156
+
157
+ Individual scripts can also be run standalone; each accepts `--help`.
158
+
159
+ ## Computing metrics
160
+
161
+ ```bash
162
+ python metrics/metrics.py \
163
+ --video <generated>.mp4 \
164
+ --ref <dataset>/{event}/{scene}/{object}/{appearance}/{view} \
165
+ --output <output_dir> \
166
+ --metrics <output_dir>/metrics.json # optional, defaults to output/metrics.json
167
+ ```
168
+
169
+ `--output` must point to the same directory used with `run_predictions.sh`.
170
+
171
+ ### Metrics
172
+
173
+ | Metric | Description | Pass threshold |
174
+ |---|---|---|
175
+ | `bg_mse` | Background MSE vs frame 0 — detects unwanted scene changes | ≤ 0.25 |
176
+ | `motion_similarity` | DisMo cosine similarity between generated and reference motion | ≥ 0.70 |
177
+ | `object_consistency` | DINOv2 temporal consistency of tracked objects | ≥ 0.50 |
178
+ | `mean_chamfer_distance` | SAM3D mesh Chamfer distance across frames — measures shape stability | ≤ 0.80 |
179
+ | `vlm_positive_fraction` | Fraction of Qwen VLM task-specific questions answered positively | ≥ 0.35 |
180
+ | `success` | `True` only when every metric above meets its threshold simultaneously and no disappearance is detected| — |
181
+
182
+ Raw values, linearly- or exponentially-scaled values, and the `success` flag are all written to the output JSON.
183
+
184
+ ## Acknowledgments
185
+
186
+ CRONOS builds on the following models and codebases:
187
+
188
+ - **[SAM3](https://github.com/facebookresearch/sam3)** — Carion et al., *SAM 3: Segment Anything with Concepts*, Meta Superintelligence Labs.
189
+ - **[SAM3D-Objects](https://github.com/facebookresearch/sam-3d-objects)** — Chen et al., *SAM 3D: 3Dfy Anything in Images*, Meta AI Research.
190
+ - **[CoTracker3](https://github.com/facebookresearch/co-tracker)** — Karaev et al., *CoTracker3: Simpler and Better Point Tracking by Pseudo-Labelling Real Videos*, Meta AI Research.
191
+ - **[DisMo](https://github.com/CompVis/DisMo)** — Ressler-Antal et al., *DisMo: Disentangled Motion Representations for Open-World Motion Transfer*, CompVis.
192
+ - **[DINOv2](https://github.com/facebookresearch/dinov2)** — Oquab et al., *DINOv2: Learning Robust Visual Features without Supervision*, Meta AI Research.
193
+ - **[Qwen3-VL](https://huggingface.co/Qwen/Qwen3-VL-32B-Instruct)** — Qwen Team, *Qwen3-VL*, Alibaba Cloud.
194
+ - **[CLIP](https://github.com/openai/CLIP)** — Radford et al., *Learning Transferable Visual Models From Natural Language Supervision*, OpenAI.
195
+
196
+ ## License
197
+
198
+ The benchmark code in this repository is released under the [MIT License](LICENSE). Third-party models used by CRONOS (SAM3, CoTracker3, DisMo, DINOv2, Qwen3-VL, CLIP) are subject to their own licenses — please review them before use.
199
+
200
+ ## Citation
201
+
202
+ If you use CRONOS-Benchmark in your research, please cite:
203
+
204
+ ```bibtex
205
+ @misc{begiristain2026cronos,
206
+ title={CRONOS: Benchmarking Counterfactual Physical Consistency in Video Models},
207
+ author={Le{\'o}n Begiristain and Olaf D{\"u}nkel and Adam Kortylewski},
208
+ year={2026},
209
+ eprint={2605.23699},
210
+ archivePrefix={arXiv},
211
+ primaryClass={cs.CV},
212
+ url={https://arxiv.org/abs/2605.23699},
213
+ }
214
+ ```
video_gen_14d/third_party/CRONOS-benchmark/config.py ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # ── Model paths ───────────────────────────────────────────────────────────────
2
+ SAM3_MODEL_PATH = "/path/to/sam3"
3
+ SAM3D_OBJECTS_DIR = "/path/to/sam-3d-objects"
4
+ SAM3D_HF_REPO = "facebook/sam-3d-objects"
5
+ SAM3D_HF_CACHE = "/path/to/hf-cache/sam-3d-objects"
6
+ CLIP_MODEL_PATH = "/path/to/CLIP"
7
+ QWEN_MODEL_PATH = "Qwen/Qwen3-VL-32B-Instruct"
8
+
9
+ # ── Hub identifiers (repo, model) ─────────────────────────────────────────────
10
+ COTRACKER_HUB = ("facebookresearch/co-tracker", "cotracker3_offline")
11
+ DISMO_HUB = ("CompVis/DisMo", "motion_extractor_large")
12
+ DINO_HUB = ("facebookresearch/dinov2", "dinov2_vitl14")
13
+
14
+ # ── Inference defaults ────────────────────────────────────────────────────────
15
+ COTRACKER_GRID_SIZE = 50
16
+ DISMO_TIME_WINDOW = 4
17
+ DINO_MIN_MASK_SIZE = 16 # min bounding-box side (px) for a valid mask frame
18
+ MIN_OCCLUSION_FRACTION = 0.25 # exclude frames where visible object area < this fraction of frame-0 area
19
+ SAM3D_SEED = 42
20
+ SAM3D_STRIDE = 10 # process every N-th frame for 3D reconstruction
21
+
22
+ # ── Qwen VLM defaults ─────────────────────────────────────────────────────────
23
+ QWEN_FPS = 1.0
24
+ QWEN_MIN_PIXELS = 128 * 28 * 28
25
+ QWEN_MAX_PIXELS = 512 * 28 * 28
26
+ QWEN_MAX_NEW_TOKENS = 1024
27
+ QWEN_TEMPERATURE = 0.7
28
+ QWEN_TOP_P = 0.8
29
+ QWEN_TOP_K = 20
30
+
31
+ # ── VLM experiment metadata ───────────────────────────────────────────────────
32
+ OBJECT_NAMES = {
33
+ "Can": "can",
34
+ "TennisBall": "tennis ball",
35
+ "ToyTruck": "toy SUV",
36
+ "SoccerBall": "soccer ball",
37
+ "Bottle": "water bottle",
38
+ }
39
+
40
+ OBJECT_APPEARANCES = {
41
+ "Can": ["tin", "blue tin", "brown tin"],
42
+ "TennisBall": ["green", "orange", "dark green"],
43
+ "ToyTruck": ["yellow", "red", "black"],
44
+ "SoccerBall": ["white and black", "blue and black", "red and black"],
45
+ "Bottle": ["orange plastic", "red plastic", "yellow plastic"],
46
+ }
47
+
48
+ SURFACE_DICT = {
49
+ "fall": {
50
+ "kitchen": "kitchen counter",
51
+ "house": "wooden table",
52
+ "apartment": "wooden table",
53
+ "garden": "wooden table",
54
+ "pool": "wooden table",
55
+ },
56
+ "collision": {
57
+ "kitchen": "wooden table",
58
+ "house": "wooden table",
59
+ "apartment": "wooden floor",
60
+ "garden": "wooden table",
61
+ "pool": "stone slabs",
62
+ },
63
+ "occlusion": {
64
+ "kitchen": "wooden table",
65
+ "house": "wooden table",
66
+ "apartment": "wooden floor",
67
+ "garden": "wooden table",
68
+ "pool": "stone slabs",
69
+ },
70
+ }
71
+
72
+ # ── Metric normalization ──────────────────────────────────────────────────────
73
+ # None → exponential decay (see METRIC_DECAY); explicit tuple → linear [lo, hi]
74
+ METRIC_RANGES = {
75
+ "bg_mse": None,
76
+ "motion_similarity": (0.0, 1.0),
77
+ "object_consistency": (0.0, 1.0),
78
+ "mean_chamfer_distance": None,
79
+ "vlm_positive_fraction": (0.0, 1.0),
80
+ }
81
+ METRIC_DECAY = {
82
+ "bg_mse": 50.0,
83
+ "mean_chamfer_distance": 50.0,
84
+ }
85
+
86
+ # ── Success / failure thresholds ──────────────────────────────────────────────
87
+ # ("min", bound) → fail if below bound; ("max", bound) → fail if above bound
88
+ FAILURE_THRESHOLDS = {
89
+ "bg_mse": ("max", 0.25),
90
+ "motion_similarity": ("min", 0.70),
91
+ "object_consistency": ("min", 0.50),
92
+ "mean_chamfer_distance": ("max", 0.80),
93
+ "vlm_positive_fraction": ("min", 0.35),
94
+ }
95
+
96
+ EXTRA_ELEMENTS = {
97
+ "collision": {
98
+ "house": "blue ceramic cup",
99
+ "apartment": "tennis ball",
100
+ "garden": "ceramic flower pot",
101
+ "pool": "ceramic jar",
102
+ "kitchen": "metallic vase",
103
+ },
104
+ "occlusion": {
105
+ "house": "ceramic flower pot",
106
+ "apartment": "flower pot",
107
+ "garden": "clay flower pot",
108
+ "pool": "tree trunk",
109
+ "kitchen": "black water jar",
110
+ },
111
+ }
video_gen_14d/third_party/CRONOS-benchmark/metrics/metrics.py ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import json
3
+ import os
4
+ import sys
5
+ from pathlib import Path
6
+
7
+ import numpy as np
8
+ from scipy.spatial import cKDTree
9
+
10
+ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
11
+ from config import FAILURE_THRESHOLDS, MIN_OCCLUSION_FRACTION
12
+
13
+ sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
14
+ from utils import (
15
+ cosine_similarity, robust_min, robust_max,
16
+ load_video_frames, load_masks_npz, load_dino_embeddings,
17
+ load_dismo_embeddings, load_vlm_predictions, load_tracks_npz, scale_metric,
18
+ )
19
+
20
+
21
+ def object_consistency(dino_path, masks_path=None):
22
+ """Robust-min temporal DINO consistency across all objects.
23
+
24
+ Per object: cosine similarity of each valid frame's embedding to the first
25
+ valid frame. Frames where the visible object area drops below
26
+ MIN_OCCLUSION_FRACTION of its frame-0 area are excluded (matching
27
+ causal-bench's occlusion masking). Returns robust min of the per-object
28
+ means.
29
+ """
30
+ embeddings, validities = load_dino_embeddings(dino_path)
31
+ if embeddings is None:
32
+ return float("nan")
33
+
34
+ occ_fracs = None
35
+ if masks_path is not None and os.path.isfile(masks_path):
36
+ masks = load_masks_npz(masks_path) # (N_obj, T, H, W)
37
+ counts = masks.reshape(masks.shape[0], masks.shape[1], -1).sum(axis=2).astype(np.float32)
38
+ first = counts[:, 0:1]
39
+ with np.errstate(invalid="ignore", divide="ignore"):
40
+ occ_fracs = np.where(first > 0, counts / first, 0.0).clip(0.0, 1.0) # (N_obj, T)
41
+
42
+ consistencies = []
43
+ for i, (emb, valid) in enumerate(zip(embeddings, validities)):
44
+ if occ_fracs is not None and i < occ_fracs.shape[0]:
45
+ occ_valid = occ_fracs[i, :emb.shape[0]] >= MIN_OCCLUSION_FRACTION
46
+ valid = (valid & occ_valid) if valid is not None else occ_valid
47
+ idx = np.where(valid)[0] if valid is not None else np.arange(len(emb))
48
+ if len(idx) == 0:
49
+ continue
50
+ ref = emb[idx[0]:idx[0] + 1]
51
+ sims = cosine_similarity(emb[idx], np.repeat(ref, len(idx), axis=0))
52
+ consistencies.append(float(np.mean(sims)))
53
+ return robust_min(consistencies) if consistencies else float("nan")
54
+
55
+
56
+ def dismo_similarity(dismo_path, gt_dismo_path):
57
+ """Robust-min per-frame cosine similarity between generated and GT DisMo embeddings."""
58
+ gen_emb = load_dismo_embeddings(dismo_path)
59
+ gt_emb = load_dismo_embeddings(gt_dismo_path)
60
+ n = min(len(gen_emb), len(gt_emb))
61
+ if n == 0:
62
+ return float("nan")
63
+ return robust_min(cosine_similarity(gen_emb[:n], gt_emb[:n]))
64
+
65
+
66
+ def chamfer_distance(output_dir, masks_path=None):
67
+ """Robust-max per-frame Chamfer distance (each frame vs frame 0), over all objects.
68
+
69
+ For each obj{i}/sam3D/mesh/ directory, aligns every mesh to the first mesh
70
+ using the best axis-aligned 90° rotation + uniform scale (RANSAC-style),
71
+ then computes symmetric Chamfer distance. Frames where any object's visible
72
+ area drops below MIN_OCCLUSION_FRACTION of its frame-0 area are excluded
73
+ (matching causal-bench's occlusion masking). Returns robust max over all
74
+ per-frame distances across all objects (worst-case shape change).
75
+
76
+ PLY filenames encode the source video frame index as a zero-padded integer
77
+ (e.g. ``000000010.ply`` = frame 10), which is used to look up the occlusion
78
+ fraction in the full-resolution mask array.
79
+ """
80
+ try:
81
+ import trimesh
82
+ except ImportError:
83
+ print("trimesh not available; skipping Chamfer distance.")
84
+ return float("nan")
85
+
86
+ _ROTS = [
87
+ np.linalg.matrix_power(base, k).astype(np.float32)
88
+ for base in (
89
+ np.array([[0., -1., 0.], [1., 0., 0.], [0., 0., 1.]], dtype=np.float32),
90
+ np.array([[1., 0., 0.], [0., 0., -1.], [0., 1., 0.]], dtype=np.float32),
91
+ np.array([[0., 0., 1.], [0., 1., 0.], [-1., 0., 0.]], dtype=np.float32),
92
+ )
93
+ for k in range(4)
94
+ ]
95
+
96
+ def _load_verts(path):
97
+ try:
98
+ return np.asarray(trimesh.load(str(path), process=False, force="mesh").vertices,
99
+ dtype=np.float32)
100
+ except Exception:
101
+ return None
102
+
103
+ def _chamfer(a, b):
104
+ d_ab, _ = cKDTree(b).query(a, workers=-1)
105
+ d_ba, _ = cKDTree(a).query(b, workers=-1)
106
+ return float(np.mean(d_ab ** 2) + np.mean(d_ba ** 2))
107
+
108
+ def _align_and_chamfer(ref, verts):
109
+ """Best-fit axis-aligned rotation + scale, then Chamfer distance."""
110
+ rng = np.random.default_rng(0)
111
+ c_ref = ref - ref.mean(axis=0)
112
+ c_vert = verts - verts.mean(axis=0)
113
+ n_sc = min(500, len(c_ref), len(c_vert))
114
+ a_sc = c_ref [rng.choice(len(c_ref), n_sc, replace=False)]
115
+ b_sc = c_vert[rng.choice(len(c_vert), n_sc, replace=False)]
116
+ rms_a = float(np.sqrt(np.mean(np.sum(c_ref ** 2, axis=1))))
117
+ rms_b = float(np.sqrt(np.mean(np.sum(c_vert ** 2, axis=1))))
118
+ scale = float(np.clip(rms_a / rms_b, 0.1, 10.0)) if rms_b > 1e-10 else 1.0
119
+ best_cd, best_R = np.inf, np.eye(3, dtype=np.float32)
120
+ for R in _ROTS:
121
+ bt = scale * (b_sc @ R.T)
122
+ d1, _ = cKDTree(a_sc).query(bt, workers=-1)
123
+ d2, _ = cKDTree(bt).query(a_sc, workers=-1)
124
+ cd = float(np.mean(d1 ** 2) + np.mean(d2 ** 2))
125
+ if cd < best_cd:
126
+ best_cd, best_R = cd, R
127
+ aligned = (scale * c_vert @ best_R.T + ref.mean(axis=0)).astype(np.float32)
128
+ return _chamfer(ref, aligned)
129
+
130
+ # Occlusion fractions: (N_obj, T), a frame is valid when ALL objects are visible enough
131
+ occ_fracs = None
132
+ if masks_path is not None and os.path.isfile(masks_path):
133
+ masks = load_masks_npz(masks_path)
134
+ counts = masks.reshape(masks.shape[0], masks.shape[1], -1).sum(axis=2).astype(np.float32)
135
+ first = counts[:, 0:1]
136
+ with np.errstate(invalid="ignore", divide="ignore"):
137
+ occ_fracs = np.where(first > 0, counts / first, 0.0).clip(0.0, 1.0) # (N_obj, T)
138
+
139
+ def _frame_visible(stem):
140
+ """Return True if all objects are sufficiently visible at this video frame."""
141
+ if occ_fracs is None:
142
+ return True
143
+ try:
144
+ frame_idx = int(stem)
145
+ except ValueError:
146
+ return True
147
+ if frame_idx >= occ_fracs.shape[1]:
148
+ return True
149
+ return bool(np.all(occ_fracs[:, frame_idx] >= MIN_OCCLUSION_FRACTION))
150
+
151
+ all_distances = []
152
+ obj_idx = 0
153
+ while True:
154
+ mesh_dir = Path(output_dir) / "sam3D" / f"obj{obj_idx}" / "sam3D" / "mesh"
155
+ if not mesh_dir.is_dir():
156
+ break
157
+ ply_files = sorted(f for f in os.listdir(mesh_dir) if f.endswith(".ply"))
158
+ ply_files = [f for f in ply_files if _frame_visible(Path(f).stem)]
159
+ verts_list = [_load_verts(mesh_dir / f) for f in ply_files]
160
+ ref_verts = next((v for v in verts_list if v is not None), None)
161
+ if ref_verts is not None:
162
+ for verts in verts_list:
163
+ if verts is not None and verts is not ref_verts:
164
+ all_distances.append(_align_and_chamfer(ref_verts, verts))
165
+ obj_idx += 1
166
+
167
+ return robust_max(all_distances) if all_distances else float("nan")
168
+
169
+
170
+ def background_mse(video_path, masks_path):
171
+ """Robust-max per-frame background MSE vs frame 0, normalized to [0, 1].
172
+
173
+ Background region: pixels belonging to no object in frame 0.
174
+ """
175
+ frames = load_video_frames(video_path)
176
+ masks = load_masks_npz(masks_path) # (N_obj, T, H, W) bool
177
+ T, H, W = frames.shape[:3]
178
+
179
+ if masks.shape[2] != H or masks.shape[3] != W:
180
+ from skimage.transform import resize as sk_resize
181
+ resized = np.zeros((masks.shape[0], T, H, W), dtype=bool)
182
+ for i in range(masks.shape[0]):
183
+ for t in range(T):
184
+ resized[i, t] = sk_resize(masks[i, t].astype(float), (H, W), order=0) > 0.5
185
+ masks = resized
186
+
187
+ obj_union = masks.any(axis=0) # (T, H, W)
188
+ bg0 = ~obj_union[0] # background pixels in frame 0
189
+ ref = frames[0].astype(np.float32) / 255.0
190
+
191
+ mse_per_frame = []
192
+ for t in range(1, T):
193
+ region = bg0 & ~obj_union[t]
194
+ if region.sum() == 0:
195
+ continue
196
+ ft = frames[t].astype(np.float32) / 255.0
197
+ mse_per_frame.append(float(np.mean((ft - ref)[region] ** 2)))
198
+
199
+ return robust_max(mse_per_frame) if mse_per_frame else float("nan")
200
+
201
+
202
+ def vlm_task_performance(vlm_path):
203
+ """Return the VLM positive fraction from vlm_predictions.json."""
204
+ data = load_vlm_predictions(vlm_path)
205
+ val = data.get("positive_fraction")
206
+ return float(val) if val is not None and np.isfinite(val) else float("nan")
207
+
208
+
209
+ def disappearance_fraction(masks_path, tracks_path, edge_margin_frac=0.05):
210
+ """Fraction of tracked objects that permanently vanish inside the frame.
211
+
212
+ Occlusion is detected from segmentation masks: for each object, finds the
213
+ earliest frame where it becomes permanently invisible (zero mask pixels for
214
+ all remaining frames). The centroid at that frame is taken from CoTracker
215
+ per-object tracks (tracks_obj{i} in tracks.npz). If the centroid is not
216
+ near any border, the object is counted as a mid-frame disappearance.
217
+
218
+ Returns 0.0 when no objects permanently vanish inside the frame, or nan if
219
+ required files are missing.
220
+
221
+ edge_margin_frac : fraction of each frame dimension used as the
222
+ edge-proximity threshold (default 0.05, matching causal-bench).
223
+ """
224
+ masks = load_masks_npz(masks_path) # (N_obj, T, H, W) bool
225
+ N, T, H, W = masks.shape
226
+ margin_x = edge_margin_frac * W
227
+ margin_y = edge_margin_frac * H
228
+
229
+ tracks_list, vis_list = load_tracks_npz(tracks_path)
230
+ if tracks_list is None:
231
+ return float("nan")
232
+
233
+ n_evaluated = 0
234
+ n_disappeared = 0
235
+
236
+ for obj_idx in range(min(N, len(tracks_list))):
237
+ occ = masks[obj_idx].any(axis=(1, 2)) # (T,) — True when object has any visible pixel
238
+
239
+ # Skip objects already invisible at frame 0 or visible throughout
240
+ if not occ[0] or occ.all():
241
+ continue
242
+
243
+ # Earliest frame where the object is permanently invisible
244
+ t_gone = None
245
+ for t in range(T):
246
+ if not occ[t] and not occ[t:].any():
247
+ t_gone = t
248
+ break
249
+ if t_gone is None:
250
+ continue
251
+
252
+ n_evaluated += 1
253
+
254
+ tr = tracks_list[obj_idx] # (T_tr, Ni, 2) — columns: x, y
255
+ vi = vis_list[obj_idx] # (T_tr, Ni)
256
+ T_tr = tr.shape[0]
257
+
258
+ # Find the last frame with any visible track point up to t_gone
259
+ last_vis_t = None
260
+ for t in range(min(t_gone, T_tr - 1), -1, -1):
261
+ if vi[t].any():
262
+ last_vis_t = t
263
+ break
264
+
265
+ if last_vis_t is None:
266
+ # Tracker never saw this object — treat as mid-frame disappearance
267
+ n_disappeared += 1
268
+ continue
269
+
270
+ # Centroid from track positions at t_gone (matches causal-bench)
271
+ pts = tr[min(t_gone, T_tr - 1)] # (Ni, 2)
272
+ cx = float(np.mean(pts[:, 0]))
273
+ cy = float(np.mean(pts[:, 1]))
274
+
275
+ at_edge = (
276
+ cx < margin_x
277
+ or cx > W - margin_x
278
+ or cy < margin_y
279
+ or cy > H - margin_y
280
+ )
281
+ if not at_edge:
282
+ n_disappeared += 1
283
+
284
+ return float(n_disappeared / n_evaluated) if n_evaluated > 0 else 0.0
285
+
286
+
287
+ def compute_success(metrics, thresholds=None):
288
+ """Return True if every threshold criterion is satisfied; NaN values fail."""
289
+ if thresholds is None:
290
+ thresholds = FAILURE_THRESHOLDS
291
+ for name, (direction, bound) in thresholds.items():
292
+ val = metrics.get(name)
293
+ if val is None or not np.isfinite(val):
294
+ return False
295
+ if direction == "min" and val < bound:
296
+ return False
297
+ if direction == "max" and val > bound:
298
+ return False
299
+ disp = metrics.get("disappearance_fraction")
300
+ if disp is None or not np.isfinite(disp) or disp > 0.1:
301
+ return False
302
+ return True
303
+
304
+
305
+ def compute_all(video_path, ref_dir, output_dir):
306
+ """Compute all metrics for one evaluated video.
307
+
308
+ Returns a dict with raw metric values, scaled values, and a success flag.
309
+ """
310
+ dino_path = os.path.join(output_dir, "dino_embeddings.npz")
311
+ dismo_path = os.path.join(output_dir, "dismo_embeddings.npz")
312
+ gt_dismo = os.path.join(output_dir, "gt_dismo_embeddings.npz")
313
+ masks_path = os.path.join(output_dir, "segmentation_masks.npz")
314
+ vlm_path = os.path.join(output_dir, "vlm_predictions.json")
315
+ tracks_path = os.path.join(output_dir, "tracks.npz")
316
+
317
+ raw = {}
318
+ raw["object_consistency"] = (object_consistency(dino_path, masks_path)
319
+ if os.path.isfile(dino_path) else float("nan"))
320
+ raw["motion_similarity"] = (dismo_similarity(dismo_path, gt_dismo)
321
+ if os.path.isfile(dismo_path) and os.path.isfile(gt_dismo)
322
+ else float("nan"))
323
+ raw["mean_chamfer_distance"] = chamfer_distance(output_dir, masks_path)
324
+ raw["bg_mse"] = (background_mse(video_path, masks_path)
325
+ if os.path.isfile(masks_path) else float("nan"))
326
+ raw["vlm_positive_fraction"] = (vlm_task_performance(vlm_path)
327
+ if os.path.isfile(vlm_path) else float("nan"))
328
+ raw["disappearance_fraction"] = (disappearance_fraction(masks_path, tracks_path)
329
+ if os.path.isfile(masks_path) and os.path.isfile(tracks_path)
330
+ else float("nan"))
331
+ raw["success"] = compute_success(raw)
332
+
333
+ _no_scale = {"success", "disappearance_fraction"}
334
+ scaled = {f"{k}_scaled": scale_metric(k, v)
335
+ for k, v in raw.items() if k not in _no_scale}
336
+ return {**raw, **scaled}
337
+
338
+
339
+ def save_metrics(metrics, out_path):
340
+ os.makedirs(os.path.dirname(os.path.abspath(out_path)), exist_ok=True)
341
+ with open(out_path, "w") as f:
342
+ json.dump(metrics, f, indent=2)
343
+
344
+
345
+ def main():
346
+ parser = argparse.ArgumentParser(description="Compute evaluation metrics from predictions.")
347
+ parser.add_argument("--video", required=True, help="Generated .mp4 file")
348
+ parser.add_argument("--ref", required=True, help="Reference dataset directory")
349
+ parser.add_argument("--output", required=True, help="Predictions output directory")
350
+ parser.add_argument("--metrics", default=None, help="Output .json path (default: output/metrics.json)")
351
+ args = parser.parse_args()
352
+
353
+ out_path = args.metrics or os.path.join(args.output, "metrics.json")
354
+ metrics = compute_all(args.video, args.ref, args.output)
355
+ save_metrics(metrics, out_path)
356
+
357
+ for name in ("object_consistency", "motion_similarity",
358
+ "mean_chamfer_distance", "bg_mse", "vlm_positive_fraction",
359
+ "disappearance_fraction"):
360
+ val = metrics[name]
361
+ print(f" {name:<25} {val:.4f}" if np.isfinite(val) else f" {name:<25} nan")
362
+ print(f" {'success':<25} {metrics['success']}")
363
+ print(f"Metrics saved → {out_path}")
364
+
365
+
366
+ if __name__ == "__main__":
367
+ main()
video_gen_14d/third_party/CRONOS-benchmark/metrics/utils.py ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import os
3
+ import sys
4
+
5
+ import numpy as np
6
+ import imageio.v3 as iio
7
+
8
+ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
9
+ from config import METRIC_RANGES, METRIC_DECAY
10
+
11
+
12
+ # ── Math helpers ──────────────────────────────────────────────────────────────
13
+
14
+ def cosine_similarity(a, b):
15
+ """Per-row cosine similarity between (T, D) arrays. Returns (T,) float."""
16
+ a_n = a / (np.linalg.norm(a, axis=1, keepdims=True) + 1e-8)
17
+ b_n = b / (np.linalg.norm(b, axis=1, keepdims=True) + 1e-8)
18
+ return np.sum(a_n * b_n, axis=1)
19
+
20
+
21
+ def robust_min(values, fraction=0.05):
22
+ """Mean of the lowest `fraction` of finite values. Returns NaN if empty."""
23
+ arr = np.asarray(values, dtype=float)
24
+ arr = arr[np.isfinite(arr)]
25
+ if arr.size == 0:
26
+ return float("nan")
27
+ k = max(1, int(np.ceil(arr.size * fraction)))
28
+ return float(np.mean(np.partition(arr, k - 1)[:k]))
29
+
30
+
31
+ def robust_max(values, fraction=0.05):
32
+ """Mean of the highest `fraction` of finite values. Returns NaN if empty."""
33
+ arr = np.asarray(values, dtype=float)
34
+ arr = arr[np.isfinite(arr)]
35
+ if arr.size == 0:
36
+ return float("nan")
37
+ k = max(1, int(np.ceil(arr.size * fraction)))
38
+ return float(np.mean(np.partition(arr, -k)[-k:]))
39
+
40
+
41
+ # ── Loaders ───────────────────────────────────────────────────────────────────
42
+
43
+ def load_video_frames(path):
44
+ """Load video as (T, H, W, 3) uint8 array."""
45
+ frames = iio.imread(path)
46
+ if frames.ndim == 4 and frames.shape[-1] == 4:
47
+ frames = frames[..., :3]
48
+ return frames
49
+
50
+
51
+ def load_masks_npz(path):
52
+ """Load segmentation_masks.npz. Returns (N_obj, T, H, W) bool array."""
53
+ return np.load(path)["masks"].astype(bool)
54
+
55
+
56
+ def load_dino_embeddings(path):
57
+ """Load dino_embeddings.npz. Returns (embeddings_list, validities_list)."""
58
+ if not os.path.isfile(path):
59
+ return None, None
60
+ npz = np.load(path)
61
+ embeddings, validities = [], []
62
+ i = 0
63
+ while f"emb_obj{i}" in npz:
64
+ embeddings.append(npz[f"emb_obj{i}"])
65
+ vkey = f"valid_obj{i}"
66
+ validities.append(npz[vkey] if vkey in npz else None)
67
+ i += 1
68
+ return (embeddings, validities) if embeddings else (None, None)
69
+
70
+
71
+ def load_dismo_embeddings(path):
72
+ """Load dismo_embeddings.npz. Returns (T, D) float array."""
73
+ return np.load(path)["embeddings"].astype(float)
74
+
75
+
76
+ def load_vlm_predictions(path):
77
+ """Load vlm_predictions.json. Returns dict."""
78
+ with open(path) as f:
79
+ return json.load(f)
80
+
81
+
82
+ def load_tracks_npz(path):
83
+ """Load tracks.npz written by run_cotracker.py.
84
+
85
+ Returns (tracks_list, vis_list) where each element is a per-object array:
86
+ tracks_list[i] : (T, Ni, 2) float — x, y coordinates
87
+ vis_list[i] : (T, Ni) bool — CoTracker visibility flag
88
+ Returns (None, None) if the file is absent or contains no per-object keys.
89
+ """
90
+ if not os.path.isfile(path):
91
+ return None, None
92
+ npz = np.load(path)
93
+ tracks_list, vis_list = [], []
94
+ i = 0
95
+ while f"tracks_obj{i}" in npz:
96
+ tracks_list.append(npz[f"tracks_obj{i}"])
97
+ vis_list.append(npz[f"visibility_obj{i}"])
98
+ i += 1
99
+ return (tracks_list, vis_list) if tracks_list else (None, None)
100
+
101
+
102
+ # ── Normalization ─────────────────────────────────────────────────────────────
103
+
104
+ def scale_metric(name, value):
105
+ """Normalize a raw metric to [0, 1].
106
+
107
+ Linear range from METRIC_RANGES; exponential decay exp(-λ·v) from
108
+ METRIC_DECAY for metrics where lower raw value is better.
109
+ Returns NaN for unknown or non-finite inputs.
110
+ """
111
+ if not np.isfinite(value):
112
+ return float("nan")
113
+ if name not in METRIC_RANGES:
114
+ return float("nan")
115
+ rng = METRIC_RANGES[name]
116
+ if rng is not None:
117
+ lo, hi = rng
118
+ return float(np.clip((value - lo) / (hi - lo + 1e-8), 0.0, 1.0))
119
+ lam = METRIC_DECAY.get(name, 1.0)
120
+ return float(np.exp(-lam * value))
video_gen_14d/third_party/CRONOS-benchmark/requirements-cronos.txt ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # CRONOS evaluation environment — all scripts except run_sam3d.py
2
+ # Requires PyTorch 2.5.1+cu124 pre-installed (via conda or setup_cronos.sh).
3
+ # Install after PyTorch; do NOT include torch/torchvision here.
4
+
5
+ # ── Video / image I/O ──────────────────────────────────────────────────────────
6
+ imageio>=2.37.0
7
+ imageio-ffmpeg
8
+
9
+ # ── Array / vision ─────────────────────────────────────────────────────────────
10
+ numpy>=1.26,<2
11
+ scikit-image>=0.23
12
+ scikit-learn
13
+ pillow
14
+ opencv-python-headless
15
+ trimesh
16
+ pyyaml
17
+
18
+ # ── SAM3 core deps (SAM3 package itself: pip install -e <SAM3_MODEL_PATH>) ───
19
+ timm>=1.0.17
20
+ ftfy==6.1.1
21
+ regex
22
+ iopath>=0.1.10
23
+ tqdm
24
+ huggingface_hub
25
+ decord
26
+ pycocotools
27
+
28
+ # ── CoTracker3 / DINOv2 (loaded via torch.hub) ────────────────────────────────
29
+ einops
30
+ omegaconf
31
+ matplotlib
32
+
33
+ # ── DisMo (loaded via torch.hub) ──────────────────────────────────────────────
34
+ jaxtyping
35
+ transformers>=4.45.0,<5.0
36
+ diffusers>=0.30.0
37
+ tokenizers
38
+ peft>=0.10.0
39
+ sentencepiece
40
+ bitsandbytes>=0.46.0
41
+ protobuf
42
+ fire
43
+
44
+ # ── Qwen3-VL (via Transformers) ───────────────────────────────────────────────
45
+ # qwen-vl-utils: pip install -e <models/Qwen3-VL/qwen-vl-utils>
46
+ accelerate
47
+ av
video_gen_14d/third_party/CRONOS-benchmark/scripts/generate_prompt.py ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import os
3
+ import sys
4
+
5
+ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
6
+ from config import OBJECT_NAMES, OBJECT_MATERIALS, SURFACE_DICT, EXTRA_ELEMENTS
7
+
8
+
9
+ def get_exp_description(event, scene, object_name, material_desc, surface, view):
10
+ """Build the event-specific part of the generation prompt."""
11
+ movement = "rolling"
12
+
13
+ if event == "fall":
14
+ return (f"The video shows a {view} view of a {material_desc} {object_name} "
15
+ f"smoothly {movement} across a {surface} in a {scene}. "
16
+ f"When the {object_name} reaches the edge, it falls off the {surface} "
17
+ f"and vertically descends until it hits the ground. "
18
+ f"The object maintains its shape and does not break during the fall.")
19
+
20
+ elif event == "collision":
21
+ extra = EXTRA_ELEMENTS["collision"][scene]
22
+ return (f"The video shows a {view} view of a {material_desc} {object_name} "
23
+ f"smoothly {movement} across a {surface}, colliding with a {extra} "
24
+ f"on a {scene}. "
25
+ f"The objects react to the collision but preserve their rigidity "
26
+ f"and do not break.")
27
+
28
+ elif event == "occlusion":
29
+ extra = EXTRA_ELEMENTS["occlusion"][scene]
30
+ return (f"The video shows a {view} view of a {material_desc} {object_name} "
31
+ f"smoothly {movement} and passing behind a {extra} on a {surface} "
32
+ f"in a {scene}. "
33
+ f"The {object_name} becomes temporarily occluded by the {extra} "
34
+ f"before reappearing. "
35
+ f"The {extra} remains stationary throughout the sequence.")
36
+
37
+ raise ValueError(f"Unknown event: {event!r}")
38
+
39
+
40
+ _SUFFIX = (
41
+ "Everything on the video follows the natural behaviour of solid objects "
42
+ "in a physical environment. Objects do not fly, morph or disappear. "
43
+ "No new elements appear on the scene. "
44
+ "The background is static. Fixed camera view, no camera movement."
45
+ )
46
+
47
+
48
+ def get_prompt(event, scene, obj, appearance, view, generic_object=False):
49
+ """Build the generation prompt for one CRONOS experiment.
50
+
51
+ Parameters
52
+ ----------
53
+ event : "fall" | "collision" | "occlusion"
54
+ scene : "kitchen" | "house" | "apartment" | "garden" | "pool"
55
+ obj : object key from OBJECT_NAMES (e.g. "TennisBall")
56
+ appearance : material variant, e.g. "material0", "material1", "material2"
57
+ view : camera view string, e.g. "front", "side", "top", "close"
58
+ generic_object : if True, replace the specific object name with "object"
59
+ """
60
+ object_name = "object" if generic_object else OBJECT_NAMES[obj]
61
+ material_desc = OBJECT_MATERIALS[obj][int(appearance[-1])]
62
+ surface = SURFACE_DICT[event][scene]
63
+
64
+ description = get_exp_description(event, scene, object_name, material_desc, surface, view)
65
+ return description + " " + _SUFFIX
66
+
67
+
68
+ def main():
69
+ parser = argparse.ArgumentParser(
70
+ description="Generate a text prompt for a CRONOS experiment.",
71
+ )
72
+ parser.add_argument("--event", required=True,
73
+ choices=["fall", "collision", "occlusion"])
74
+ parser.add_argument("--scene", required=True,
75
+ choices=["kitchen", "house", "apartment", "garden", "pool"])
76
+ parser.add_argument("--object", required=True, choices=list(OBJECT_NAMES.keys()))
77
+ parser.add_argument("--appearance", required=True,
78
+ help="Material variant, e.g. material0, material1, material2")
79
+ parser.add_argument("--view", required=True,
80
+ help="Camera view, e.g. front, side, top, close")
81
+ parser.add_argument("--generic-object", action="store_true",
82
+ help="Use 'object' instead of the specific object name")
83
+ parser.add_argument("--output", default=None,
84
+ help="Write prompt to this file instead of stdout")
85
+ args = parser.parse_args()
86
+
87
+ prompt = get_prompt(
88
+ event=args.event,
89
+ scene=args.scene,
90
+ obj=args.object,
91
+ appearance=args.appearance,
92
+ view=args.view,
93
+ generic_object=args.generic_object,
94
+ )
95
+
96
+ if args.output:
97
+ os.makedirs(os.path.dirname(os.path.abspath(args.output)), exist_ok=True)
98
+ with open(args.output, "w") as f:
99
+ f.write(prompt + "\n")
100
+ print(f"Prompt saved → {args.output}")
101
+ else:
102
+ print(prompt)
103
+
104
+
105
+ if __name__ == "__main__":
106
+ main()
video_gen_14d/third_party/CRONOS-benchmark/scripts/run_cotracker.py ADDED
@@ -0,0 +1,109 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import os
3
+ import sys
4
+
5
+
6
+ import imageio.v3 as iio
7
+
8
+ import numpy as np
9
+ import torch
10
+ from skimage.transform import resize
11
+
12
+ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
13
+ from config import COTRACKER_HUB, COTRACKER_GRID_SIZE
14
+
15
+
16
+ def load_model(device):
17
+ model = torch.hub.load(*COTRACKER_HUB).to(device)
18
+ return model.eval()
19
+
20
+
21
+ def _split_tracks_by_object(tracks, visibility, mask):
22
+ """Split (T, N, 2) tracks into per-object lists using first-frame mask positions."""
23
+ n_objects = mask.any(axis=(0, 1)).sum()
24
+ ix = np.clip(np.round(tracks[0, :, 0]).astype(int), 0, mask.shape[1] - 1)
25
+ iy = np.clip(np.round(tracks[0, :, 1]).astype(int), 0, mask.shape[0] - 1)
26
+ per_obj_tracks, per_obj_vis = [], []
27
+ for i in range(n_objects):
28
+ sel = mask[:, :, i][iy, ix]
29
+ per_obj_tracks.append(tracks[:, sel])
30
+ per_obj_vis.append(visibility[:, sel])
31
+ return per_obj_tracks, per_obj_vis
32
+
33
+
34
+ def compute_predictions(model, video_frames, mask, device):
35
+ """
36
+ Args:
37
+ video_frames: (T, H, W, 3) uint8 ndarray
38
+ mask: (H, W, N_obj) bool ndarray — first-frame mask
39
+ Returns:
40
+ tracks (T, N, 2), visibility (T, N),
41
+ per_obj_tracks list[(T, Ni, 2)], per_obj_vis list[(T, Ni)]
42
+ """
43
+ H, W = video_frames.shape[1:3]
44
+ if mask.shape[:2] != (H, W):
45
+ mask = resize(mask.astype(float), (H, W), order=0,
46
+ preserve_range=True, anti_aliasing=False) > 0.5
47
+
48
+ combined = torch.from_numpy(mask.any(axis=-1)).float().to(device)[None, None]
49
+ video = torch.from_numpy(video_frames).permute(0, 3, 1, 2).unsqueeze(0).float().to(device)
50
+
51
+ with torch.no_grad():
52
+ raw_tracks, raw_vis = model(video, grid_size=COTRACKER_GRID_SIZE, segm_mask=combined)
53
+
54
+ tracks = raw_tracks.squeeze().cpu().numpy()
55
+ visibility = raw_vis.squeeze().cpu().numpy()
56
+ per_obj_tracks, per_obj_vis = _split_tracks_by_object(tracks, visibility, mask)
57
+ return tracks, visibility, per_obj_tracks, per_obj_vis
58
+
59
+
60
+ def save_predictions(out_dir, tracks, visibility, per_obj_tracks, per_obj_vis):
61
+ os.makedirs(out_dir, exist_ok=True)
62
+ save_dict = {"tracks": tracks, "visibility": visibility}
63
+ for i, (t, v) in enumerate(zip(per_obj_tracks, per_obj_vis)):
64
+ save_dict[f"tracks_obj{i}"] = t
65
+ save_dict[f"visibility_obj{i}"] = v
66
+ np.savez_compressed(os.path.join(out_dir, "tracks.npz"), **save_dict)
67
+
68
+
69
+ def _load_mask(path):
70
+ """Load mask file and return (H, W, N_obj) bool array."""
71
+ suffix = os.path.splitext(path)[1].lower()
72
+ if suffix in (".jpg", ".jpeg", ".png"):
73
+ img = iio.imread(path)
74
+ if img.ndim == 2:
75
+ return img[:, :, None] > 0
76
+ # Multi-channel: each channel is one object
77
+ return img > 0
78
+ data = np.load(path)
79
+ mask = data[data.files[0]] if hasattr(data, "files") else data
80
+ if mask.ndim == 2:
81
+ mask = mask[:, :, None]
82
+ elif mask.ndim == 4 and mask.shape[-1] <= 10: # (T, H, W, N_obj) → take frame 0
83
+ mask = mask[0]
84
+ elif mask.ndim == 4: # (N_obj, T, H, W) → take t=0, transpose
85
+ mask = mask[:, 0].transpose(1, 2, 0)
86
+ return mask > 0.5
87
+
88
+
89
+ def main():
90
+ parser = argparse.ArgumentParser(description="Run CoTracker on a video.")
91
+ parser.add_argument("--video", required=True, help="Input .mp4 file")
92
+ parser.add_argument("--mask", required=True, help="First-frame mask (.npy/.npz, H×W×N_obj)")
93
+ parser.add_argument("--output", required=True, help="Output directory for tracks.npz")
94
+ args = parser.parse_args()
95
+
96
+ frames = iio.imread(args.video)
97
+ if frames.ndim == 4 and frames.shape[-1] == 4:
98
+ frames = frames[..., :3]
99
+
100
+ mask = _load_mask(args.mask)
101
+ device = "cuda" if torch.cuda.is_available() else "cpu"
102
+ model = load_model(device)
103
+ results = compute_predictions(model, frames, mask, device)
104
+ save_predictions(args.output, *results)
105
+ print(f"Saved tracks → {args.output}/tracks.npz")
106
+
107
+
108
+ if __name__ == "__main__":
109
+ main()
video_gen_14d/third_party/CRONOS-benchmark/scripts/run_dino.py ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import argparse
2
+ import os
3
+ import sys
4
+
5
+ import numpy as np
6
+ import torch
7
+ from torchvision import transforms
8
+
9
+ sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
10
+ from config import DINO_HUB, DINO_MIN_MASK_SIZE
11
+
12
+
13
+ def load_model(device):
14
+ model = torch.hub.load(*DINO_HUB).to(device).eval()
15
+ preprocess = transforms.Compose([
16
+ transforms.Resize(256, interpolation=transforms.InterpolationMode.BICUBIC),
17
+ transforms.CenterCrop(224),
18
+ transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
19
+ ])
20
+ return model, preprocess
21
+
22
+
23
+ def _embed_frames(frames, model, preprocess, device):
24
+ """Embed a list of H×W×3 uint8 arrays with DINOv2."""
25
+ try:
26
+ t = preprocess(
27
+ torch.from_numpy(np.stack(frames)).permute(0, 3, 1, 2).float() / 255.0
28
+ ).to(device)
29
+ with torch.no_grad():
30
+ return model(t).cpu().numpy()
31
+ except Exception:
32
+ embs = []
33
+ for f in frames:
34
+ t = preprocess(
35
+ torch.from_numpy(f).permute(2, 0, 1).unsqueeze(0).float().to(device) / 255.0
36
+ )
37
+ with torch.no_grad():
38
+ embs.append(model(t))
39
+ return torch.cat(embs).cpu().numpy()
40
+
41
+
42
+ def _mask_validity(mask):
43
+ """Return (T,) bool: True where mask bounding box ≥ DINO_MIN_MASK_SIZE in both dims."""
44
+ valid = np.zeros(len(mask), dtype=bool)
45
+ for t, m in enumerate(mask):
46
+ ys, xs = np.where(m)
47
+ if (len(ys) and ys.max() - ys.min() >= DINO_MIN_MASK_SIZE
48
+ and xs.max() - xs.min() >= DINO_MIN_MASK_SIZE):
49
+ valid[t] = True
50
+ return valid
51
+
52
+
53
+ def _crop_and_mask(frames, mask):
54
+ """Zero background and crop to bounding box. Returns list of H'×W'×3 arrays."""
55
+ out = []
56
+ for f, m in zip(frames, mask):
57
+ ys, xs = np.where(m)
58
+ if len(ys) == 0:
59
+ out.append(f)
60
+ continue
61
+ f = np.where(m[:, :, None], f, 0)
62
+ out.append(f[ys.min():ys.max() + 1, xs.min():xs.max() + 1])
63
+ return out
64
+
65
+
66
+ def compute_predictions(model, preprocess, video_frames, masks_list, device):
67
+ """
68
+ Args:
69
+ video_frames: (T, H, W, 3) uint8 ndarray
70
+ masks_list: list of (T, H, W) bool ndarrays — one per object
71
+ Returns:
72
+ dict with keys emb_obj{i} (T, D) and valid_obj{i} (T,) per object
73
+ """
74
+ T = min(video_frames.shape[0], *(m.shape[0] for m in masks_list))
75
+ frames = video_frames[:T]
76
+ results = {}
77
+ for i, mask in enumerate(masks_list):
78
+ masked = _crop_and_mask(frames, mask[:T])
79
+ results[f"emb_obj{i}"] = _embed_frames(masked, model, preprocess, device)
80
+ results[f"valid_obj{i}"] = _mask_validity(mask[:T])
81
+ return results
82
+
83
+
84
+ def save_predictions(predictions, out_path):
85
+ os.makedirs(os.path.dirname(os.path.abspath(out_path)), exist_ok=True)
86
+ np.savez(out_path, **predictions)
87
+
88
+
89
+ def _load_masks(path):
90
+ """Load segmentation_masks.npz → list of (T, H, W) bool arrays, one per object."""
91
+ masks = np.load(path)["masks"] # (N_obj, T, H, W)
92
+ return [masks[i] > 0.5 for i in range(masks.shape[0])]
93
+
94
+
95
+ def main():
96
+ parser = argparse.ArgumentParser(description="Compute DINOv2 embeddings per object.")
97
+ parser.add_argument("--video", required=True, help="Input .mp4 file")
98
+ parser.add_argument("--mask", required=True,
99
+ help="Segmentation masks (.npz with key 'masks', shape N_obj×T×H×W)")
100
+ parser.add_argument("--output", required=True, help="Output .npz path (e.g. dino_embeddings.npz)")
101
+ args = parser.parse_args()
102
+
103
+ import imageio.v3 as iio
104
+ frames = iio.imread(args.video)
105
+ if frames.ndim == 4 and frames.shape[-1] == 4:
106
+ frames = frames[..., :3]
107
+
108
+ masks_list = _load_masks(args.mask)
109
+ device = "cuda" if torch.cuda.is_available() else "cpu"
110
+ model, preprocess = load_model(device)
111
+ predictions = compute_predictions(model, preprocess, frames, masks_list, device)
112
+ save_predictions(predictions, args.output)
113
+ print(f"Saved embeddings ({len(masks_list)} object(s)) → {args.output}")
114
+
115
+
116
+ if __name__ == "__main__":
117
+ main()