FangSen9000 commited on
Commit
c0acb32
·
1 Parent(s): 8f5c273

Add env and new README

Browse files
README.md CHANGED
@@ -1,199 +1,82 @@
1
  # Intro
2
 
3
- The entire project is divided into two parts: `text_or_gloss2pose` and `pose2video`. "Pose" here refers to the skeleton pose video after drawing.
4
 
5
- - In the gloss2pose section (`Expected 4 seconds / one video`), I first used the DWpose tool to extract the npz format pose information for each word video frame by frame, and then merged each frame's npz into a large npz file. That is to say, we know the consecutive poses corresponding to each word. These consecutive poses are stored in the merged npz file. (We can also use deep learning models to generate these poses, but for commercial-level accuracy, this original data Dict method will be much more accurate.)
 
 
6
 
7
- - In the pose2video section (`Expected 6 minutes / one video`), we render the visualized poses of the skeletons generated by each word. I used the ControlNext-SVD model for this.
8
 
9
- # For Users
10
 
11
- 1. cd StableSigner
12
- 2. conda env create -f env/environment02_controlnext.yml
13
- 3. run `conda activate controlnext`
14
- 4. run `pip install -r env/requirements02_controlnext.txt`
15
-
16
- first, change `good morning afternoon`, and run:
17
-
18
- ```python
19
- python gloss2pose.py --gloss "good morning afternoon" --scale-y 1.4 --scale-x 1.3 --npz-interpolation 20 --width 512 --height 768 --fps 30 --hide-torso-lines true --ref-image-path ref_img_dict/01.jpeg
20
-
21
- or
22
-
23
- python gloss2pose.py --gloss "where is my cat" --scale-y 1.5 --scale-x 1.5 --npz-interpolation 20 --width 512 --height 512 --fps 30 --hide-torso-lines false --draw-style openpose
24
- ```
25
-
26
- second, change `generated_pose_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_160832.mp4` & `ref_img_dict/03.jpeg`, and run:
27
-
28
- ```python
29
- CUDA_VISIBLE_DEVICES=0 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
30
- --pretrained_model_name_or_path stabilityai/stable-video-diffusion-img2vid-xt-1-1 \
31
- --output_dir generated_sign_video \
32
- --max_frame_num 240 \
33
- --guidance_scale 3 \
34
- --batch_frames 24 \
35
- --sample_stride 2 \
36
- --overlap 4 \
37
- --height 768 \
38
- --width 512 \
39
- --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
40
- --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
41
- --pose_video_path generated_pose_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_160832.mp4 \
42
- --ref_image_path ref_img_dict/03.jpeg \
43
- --precision fp16 \
44
- --decode_chunk_size 2 \
45
- --enable_geglu_optimization \
46
- --enable_xformers
47
  ```
48
 
49
- **Note:** In fact, I haven't installed xformer and haven't conducted a comprehensive test of it. If not installed, it will not affect the normal operation.
50
-
51
- **Note:** It seems that the first time using pose2vid will result in poor quality and speed, and some kind of warm-up is necessary.
52
-
53
- **Note:** I have tried running two stages with a resolution of `512*512`, but it seems that it causes instability in the background.
54
-
55
- **Note:** In some cases, `512w*768h` can cause abnormalities in the torso. In rare instances, the torso may be mistaken for a hand. This issue should be able to be resolved by hiding the torso.
56
-
57
- **BUG:** For some unknown reason, the current robustness is not as good as before (24.12 of the demos I tried were better than the current pose2video). The background is relatively prone to change, and the bottom part of the upper body is prone to become blurry. I have taken two or three improvements to solve this problem, but so far, it seems to still occur strangely and persistently. If this phenomenon continues, I am considering directly using Docker in 24.12 as a replacement. (Later, I discovered that simply using Docker did not lead to any significant improvement: Just the background and the hands became a little more stable. I felt that I needed to try to find the most stable configuration.)
58
-
59
-
60
- ## Demo Gallery
61
-
62
- <details>
63
- <summary>🎬 Click to view generated examples</summary>
64
-
65
- ### Example 1: "good morning afternoon"
66
-
67
- <div align="center">
68
- <h4>Pose Video & Final Video</h4>
69
- <video width="80%" controls>
70
- <source src="https://huggingface.co/datasets/FangSen9000/StableSigner/resolve/main/generated_sign_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_160832_combined.mp4" type="video/mp4">
71
- Your browser does not support the video tag.
72
- </video>
73
- </div>
74
 
75
- ---
76
-
77
- ### Example 2: "hello world"
78
-
79
- <div align="center">
80
- <h4>Pose Video & Final Video</h4>
81
- <video width="80%" controls>
82
- <source src="https://huggingface.co/datasets/FangSen9000/StableSigner/resolve/main/generated_sign_video/HELLO_WORLD_27184_63831_20250804_163910_combined.mp4" type="video/mp4">
83
- Your browser does not support the video tag.
84
- </video>
85
- </div>
86
-
87
- ---
88
-
89
- ### Example 3: "I will attend this dinner party"
90
-
91
- <div align="center">
92
- <h4>Pose Video & Final Video</h4>
93
- <video width="80%" controls>
94
- <source src="https://huggingface.co/datasets/FangSen9000/StableSigner/resolve/main/generated_sign_video/I_WILL_ATTEND_THIS_DINNER_PARTY_28794_63364_04007_66628_16327_41325_20250804_164010_combined.mp4" type="video/mp4">
95
- Your browser does not support the video tag.
96
- </video>
97
- </div>
98
-
99
- ---
100
-
101
- ### Example 4: "not find yet"
102
-
103
- <div align="center">
104
- <h4>Pose Video & Final Video</h4>
105
- <video width="80%" controls>
106
- <source src="https://huggingface.co/datasets/FangSen9000/StableSigner/resolve/main/generated_sign_video/NOT_FIND_YET_38868_21853_18535_20250804_164149_combined.mp4" type="video/mp4">
107
- Your browser does not support the video tag.
108
- </video>
109
- </div>
110
 
111
- ---
112
 
113
- ### Example 5: "where is my cat"
114
 
115
- <div align="center">
116
- <h4>Pose Video & Final Video</h4>
117
- <video width="80%" controls>
118
- <source src="https://huggingface.co/datasets/FangSen9000/StableSigner/resolve/main/generated_sign_video/WHERE_IS_MY_CAT_63084_57261_37469_65313_20250804_164233_combined.mp4" type="video/mp4">
119
- Your browser does not support the video tag.
120
- </video>
121
- </div>
122
 
123
- ### Note on video types:
124
- - **Pose video**: Shows the skeleton/pose generated from input text/gloss
125
- - **Final video**: The rendered sign language video with a virtual signer
126
- - **Combined view**: Side-by-side comparison of pose and final video
127
 
128
- </details>
129
- <br>
130
 
131
- # For developers
132
 
133
- 1. git clone https://huggingface.co/datasets/FangSen9000/StableSigner
134
- 2. cd StableSigner
135
 
136
- ## tutorial00 Use DWpose to preprocess the original sign language video
137
 
138
- `tools-new-2025` is a tool that can extract the original video into a npz file containing dwpose skeleton posture information (a type of skeleton posture that is almost compatible with all current pose2video models).
 
139
 
140
- 1. conda env create -f env/environment01_dwpose.yml
141
- 2. run `conda activate dwpose`
142
- 3. run `pip install -r env/requirements01_dwpose.txt`
143
- 4. put raw sign viseos, like `tools-new-2025/input/test_dataset`
144
- 5. cd `StableSigner/tools-new-2025/main`
145
- 6. run `python pipeline00_extract_split_video_to_image.py` (Default frame rate is 30fps, and the video will be automatically cropped to a square shape.)
146
- 7. run `python pipeline01_extract_dwpose_from_video.py` (It will generate files other than npz. We usually don't need them and can comment out the relevant code.)
147
- 8. run `conda deactivate`, we finish the preprocess.
148
 
149
- ## tutorial01 prepare pose dict
150
 
151
- 1. cd StableSigner
152
- 2. run `python utils/pipeline01_merge_frame_level_npz_from_video_dir.py tools-new-2025/output/test_dataset_results`
153
- 3. Place the corresponding "gloss-videoID" mapping in the pose dict
 
 
 
 
 
154
 
155
- ## tutorial02 get pose video from text input
156
 
157
- ```python
158
 
159
- # Default
160
- python gloss2pose.py --gloss "good morning afternoon" --npz-interpolation 20 --width 512 --height 768 --fps 30
 
 
161
 
162
- # Single gloss
163
- python gloss2pose.py --gloss "hello"
164
 
165
- # Multiple glosses with smoothing
166
- python gloss2pose.py --gloss "hello world" --smoothing fade --smoothing-frames 5
167
 
168
- # Custom video parameters
169
- python gloss2pose.py --gloss "good afternoon" --width 512 --height 768 --fps 30
170
- ```
171
 
172
- ## tutorial03 render pose video
173
-
174
- 1. cd StableSigner
175
- 2. conda env create -f env/environment02_controlnext.yml
176
- 3. run `conda activate controlnext`
177
- 4. run `pip install -r env/requirements02_controlnext.txt`
178
-
179
- ```python
180
- CUDA_VISIBLE_DEVICES=0 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
181
- --pretrained_model_name_or_path stabilityai/stable-video-diffusion-img2vid-xt-1-1 \
182
- --output_dir generated_sign_video \
183
- --max_frame_num 240 \
184
- --guidance_scale 3 \
185
- --batch_frames 24 \
186
- --sample_stride 2 \
187
- --overlap 4 \
188
- --height 768 \
189
- --width 512 \
190
- --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
191
- --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
192
- --pose_video_path generated_pose_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_160832.mp4 \
193
- --ref_image_path ref_img_dict/03.jpeg \
194
- --precision fp16 \
195
- --decode_chunk_size 2 \
196
- --enable_geglu_optimization \
197
- --enable_xformers
198
- ```
199
 
 
 
 
1
  # Intro
2
 
3
+ This repo has three parts:
4
 
5
+ 1) **prompt2gloss**: text prompt -> gloss sequence
6
+ 2) **gloss2pose**: gloss -> pose video (skeleton)
7
+ 3) **pose2video**: pose video -> rendered signer video (One-to-All 1.3B, with refine)
8
 
9
+ # Quickstart
10
 
11
+ ## 0) Env (one-to-all)
12
 
13
+ ```bash
14
+ cd /research/cbim/vast/sf895/code/SignerX-inference-webui/plugins/StableSigner
15
+ conda env create -f env/one-to-all.yml
16
+ conda activate one-to-all
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  ```
18
 
19
+ ## 1) prompt2gloss (optional)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
 
21
+ ```bash
22
+ python pipeline01_prompt2gloss.py --prompt "good morning afternoon"
23
+ ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
+ This prints a gloss sequence you can pass to gloss2pose.
26
 
27
+ ## 2) gloss2pose (unchanged)
28
 
29
+ ```bash
30
+ python pipeline02_gloss2pose.py --gloss "good morning afternoon" --scale-y 1.4 --scale-x 1.3 --npz-interpolation 20 --width 512 --height 768 --fps 30 --hide-torso-lines true --ref-image-path ref_img_dict/01.jpeg
 
 
 
 
 
31
 
32
+ or
 
 
 
33
 
34
+ python gloss2pose.py --gloss "where is my cat" --scale-y 1.5 --scale-x 1.5 --npz-interpolation 20 --width 512 --height 512 --fps 30 --hide-torso-lines false --draw-style openpose
35
+ ```
36
 
37
+ This creates a pose video in `generated_pose_video/`.
38
 
39
+ ## 3) pose2video + refine (One-to-All, required)
 
40
 
41
+ `pipeline03_pose2video.sh` now runs **two stages**:
42
 
43
+ - **Stage1**: direct pose2video (inference_1.3b.py)
44
+ - **Stage2**: refine/replace (infer_refine.sh) using Stage1 output
45
 
46
+ ```bash
47
+ ./pipeline03_pose2video.sh
48
+ ```
 
 
 
 
 
49
 
50
+ Defaults are inside the script. You can override by env vars:
51
 
52
+ ```bash
53
+ POSE_VIDEO=generated_pose_video/HELLO_GOOD_MORNING_20251215_142658_openpose_style.mp4 \
54
+ REF_IMAGE=ref_img_dict/man.jpg \
55
+ GPU_ID=1 \
56
+ REF_CFG=2.5 \
57
+ POSE_CFG=1.5 \
58
+ ./pipeline03_pose2video.sh
59
+ ```
60
 
61
+ # Refine-only (manual)
62
 
63
+ If you already have a video (or frames dir), run refine directly:
64
 
65
+ ```bash
66
+ cd One-to-All-Animation/video-generation
67
+ ./infer_refine.sh --input /path/to/video_or_frames_dir --ref /path/to/ref.jpg --gpu 1
68
+ ```
69
 
70
+ - If `--input` is a **frames directory**, it will auto-merge to a temp video (default fps=25).
71
+ - If `--input` is a **video file**, it uses the source FPS.
72
 
73
+ # Outputs
 
74
 
75
+ - Pose video: `generated_pose_video/*.mp4`
76
+ - Stage1 output: `generated_sign_video/YYYY-MM-DD_ref_<ref_cfg>_pose_<pose_cfg>/...mp4`
77
+ - Refine output: `generated_sign_video_refine/...mp4`
78
 
79
+ # Notes
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
 
81
+ - The One-to-All pipeline uses the `one-to-all` conda env.
82
+ - If you change `REF_CFG/POSE_CFG`, keep the same values in both stages.
env/environment01_dwpose.yml DELETED
@@ -1,13 +0,0 @@
1
- name: dwpose
2
- channels:
3
- - pytorch
4
- - conda-forge
5
- - nvidia
6
- - defaults
7
- - bioconda
8
- - anaconda
9
- dependencies:
10
- - python=3.10
11
- - av
12
- - numpy
13
- - einops
 
 
 
 
 
 
 
 
 
 
 
 
 
 
env/environment02_controlnext.yml DELETED
@@ -1,10 +0,0 @@
1
- name: controlnext
2
- channels:
3
- - pytorch
4
- - conda-forge
5
- - nvidia
6
- - defaults
7
- - bioconda
8
- - anaconda
9
- dependencies:
10
- - python=3.10
 
 
 
 
 
 
 
 
 
 
 
env/one-to-all.yml ADDED
@@ -0,0 +1,263 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: one-to-all
2
+ channels:
3
+ - bioconda
4
+ - anaconda
5
+ - nvidia
6
+ - defaults
7
+ - pytorch
8
+ - conda-forge
9
+ dependencies:
10
+ - _libgcc_mutex=0.1=main
11
+ - _openmp_mutex=5.1=1_gnu
12
+ - aom=3.9.1=hac33072_0
13
+ - blas=1.0=openblas
14
+ - bzip2=1.0.8=h5eee18b_6
15
+ - ca-certificates=2025.12.2=h06a4308_0
16
+ - cairo=1.18.4=h44eff21_0
17
+ - dav1d=1.2.1=h5eee18b_0
18
+ - expat=2.7.3=h7354ed3_4
19
+ - ffmpeg=7.1.0=gpl_he2fd91e_701
20
+ - font-ttf-dejavu-sans-mono=2.37=hab24e00_0
21
+ - font-ttf-inconsolata=3.000=h77eed37_0
22
+ - font-ttf-source-code-pro=2.038=h77eed37_0
23
+ - font-ttf-ubuntu=0.83=h77eed37_3
24
+ - fontconfig=2.15.0=h2c49b7f_0
25
+ - fonts-conda-ecosystem=1=0
26
+ - fonts-conda-forge=1=hc364b38_1
27
+ - freetype=2.14.1=ha770c72_0
28
+ - fribidi=1.0.16=hb03c661_0
29
+ - giflib=5.2.2=h5eee18b_0
30
+ - gmp=6.3.0=hac33072_2
31
+ - graphite2=1.3.14=h295c915_1
32
+ - harfbuzz=10.2.0=hdfddeaa_1
33
+ - icu=73.1=h6a678d5_0
34
+ - jpeg=9f=h5ce9db8_0
35
+ - lame=3.100=h7b6447c_0
36
+ - lcms2=2.17=heab6991_0
37
+ - ld_impl_linux-64=2.44=h153f514_2
38
+ - leptonica=1.82.0=hfdeec58_3
39
+ - lerc=4.0.0=h6a678d5_0
40
+ - libabseil=20240722.0=cxx17_hbbce691_4
41
+ - libarchive=3.8.2=h3ec8f01_0
42
+ - libass=0.17.3=hba53ac1_1
43
+ - libdeflate=1.22=h5eee18b_0
44
+ - libdrm=2.4.125=hb03c661_1
45
+ - libegl=1.7.0=ha4b6fd6_2
46
+ - libexpat=2.7.3=h7354ed3_4
47
+ - libffi=3.4.4=h6a678d5_1
48
+ - libfreetype=2.14.1=ha770c72_0
49
+ - libfreetype6=2.14.1=h73754d4_0
50
+ - libgcc=15.2.0=h69a1729_7
51
+ - libgcc-ng=15.2.0=h166f726_7
52
+ - libgfortran=15.2.0=h166f726_7
53
+ - libgfortran-ng=15.2.0=h166f726_7
54
+ - libgfortran5=15.2.0=hc633d37_7
55
+ - libgl=1.7.0=ha4b6fd6_2
56
+ - libglib=2.84.4=h77a78f3_0
57
+ - libglvnd=1.7.0=ha4b6fd6_2
58
+ - libglx=1.7.0=ha4b6fd6_2
59
+ - libgomp=15.2.0=h4751f2c_7
60
+ - libhwloc=2.12.1=default_h3d81e11_1000
61
+ - libiconv=1.18=h3b78370_2
62
+ - libnsl=2.0.0=h5eee18b_0
63
+ - libogg=1.3.5=h27cfd23_1
64
+ - libopenblas=0.3.30=h46f56fc_2
65
+ - libopenjpeg=2.5.4=hee96239_1
66
+ - libopenvino=2024.4.0=hac27bb2_2
67
+ - libopenvino-auto-batch-plugin=2024.4.0=h4d9b6c2_2
68
+ - libopenvino-auto-plugin=2024.4.0=h4d9b6c2_2
69
+ - libopenvino-hetero-plugin=2024.4.0=h3f63f65_2
70
+ - libopenvino-intel-cpu-plugin=2024.4.0=hac27bb2_2
71
+ - libopenvino-intel-gpu-plugin=2024.4.0=hac27bb2_2
72
+ - libopenvino-intel-npu-plugin=2024.4.0=hac27bb2_2
73
+ - libopenvino-ir-frontend=2024.4.0=h3f63f65_2
74
+ - libopenvino-onnx-frontend=2024.4.0=h5c8f2c3_2
75
+ - libopenvino-paddle-frontend=2024.4.0=h5c8f2c3_2
76
+ - libopenvino-pytorch-frontend=2024.4.0=h5888daf_2
77
+ - libopenvino-tensorflow-frontend=2024.4.0=h6481b9d_2
78
+ - libopenvino-tensorflow-lite-frontend=2024.4.0=h5888daf_2
79
+ - libopus=1.3.1=h5eee18b_1
80
+ - libpciaccess=0.18=hb9d3cd8_0
81
+ - libpng=1.6.50=h2ed474d_0
82
+ - libprotobuf=5.28.2=h5b01275_0
83
+ - libstdcxx=15.2.0=h39759b7_7
84
+ - libstdcxx-ng=15.2.0=hc03a8fd_7
85
+ - libtheora=1.2.0=h32ad74f_1
86
+ - libtiff=4.7.1=h029b1ac_0
87
+ - libuuid=1.41.5=h5eee18b_0
88
+ - libva=2.22.0=h4f16b4b_2
89
+ - libvorbis=1.3.7=h7b6447c_0
90
+ - libvpx=1.14.1=hac33072_0
91
+ - libwebp=1.6.0=h089d785_0
92
+ - libwebp-base=1.6.0=hb7bb969_0
93
+ - libxcb=1.17.0=h9b100fa_0
94
+ - libxml2=2.13.9=h2c43086_0
95
+ - libzlib=1.3.1=hb9d3cd8_2
96
+ - lz4-c=1.9.4=h6a678d5_1
97
+ - ncurses=6.5=h7934f7d_0
98
+ - numpy=1.26.4=py312hc213724_1
99
+ - numpy-base=1.26.4=py312hf387b04_1
100
+ - ocl-icd=2.3.3=hb9d3cd8_0
101
+ - opencl-headers=2025.06.13=h5888daf_0
102
+ - openh264=2.4.1=h59595ed_0
103
+ - openjpeg=2.5.4=h4e0627c_1
104
+ - openssl=3.6.0=h26f9b46_0
105
+ - pcre2=10.46=hf426167_0
106
+ - pip=25.3=pyhc872135_0
107
+ - pixman=0.46.4=h7934f7d_0
108
+ - pthread-stubs=0.3=h0ce48e5_1
109
+ - pugixml=1.14=h59595ed_0
110
+ - python=3.12.12=hd17a9e1_1
111
+ - readline=8.3=hc2a1206_0
112
+ - setuptools=80.9.0=py312h06a4308_0
113
+ - snappy=1.2.2=h03e3b7b_1
114
+ - sqlite=3.51.0=h2a70700_0
115
+ - svt-av1=2.2.1=h5888daf_0
116
+ - tbb=2022.3.0=h8d10470_1
117
+ - tesseract=5.2.0=hb0d2e87_3
118
+ - tk=8.6.15=h54e0aa7_0
119
+ - tzdata=2025b=h04d1e81_0
120
+ - wayland=1.23.1=h3e06ad9_0
121
+ - wayland-protocols=1.46=hd8ed1ab_0
122
+ - wheel=0.45.1=py312h06a4308_0
123
+ - x264=1!164.3095=h166bdaf_2
124
+ - x265=3.5=h924138e_3
125
+ - xorg-libx11=1.8.12=h9b100fa_1
126
+ - xorg-libxau=1.0.12=h9b100fa_0
127
+ - xorg-libxdmcp=1.1.5=h9b100fa_0
128
+ - xorg-libxext=1.3.6=h9b100fa_0
129
+ - xorg-libxfixes=6.0.2=hb03c661_0
130
+ - xorg-libxrender=0.9.12=h9b100fa_0
131
+ - xorg-xorgproto=2024.1=h5eee18b_1
132
+ - xz=5.6.4=h5eee18b_1
133
+ - zlib=1.3.1=hb9d3cd8_2
134
+ - zstd=1.5.7=hb78ec9c_6
135
+ - pip:
136
+ - absl-py==2.3.1
137
+ - accelerate==1.12.0
138
+ - annotated-types==0.7.0
139
+ - antlr4-python3-runtime==4.9.3
140
+ - asttokens==3.0.1
141
+ - attrs==25.4.0
142
+ - beautifulsoup4==4.14.3
143
+ - certifi==2025.11.12
144
+ - click==8.3.1
145
+ - colorama==0.4.6
146
+ - coloredlogs==15.0.1
147
+ - contourpy==1.3.3
148
+ - cycler==0.12.1
149
+ - decorator==5.2.1
150
+ - decord==0.6.0
151
+ - deepspeed==0.15.4
152
+ - diffsynth==2.0.4
153
+ - diffusers==0.33.0
154
+ - distvae==0.0.0b5
155
+ - einops==0.8.1
156
+ - evaluate==0.4.6
157
+ - executing==2.2.1
158
+ - flatbuffers==25.9.23
159
+ - fonttools==4.61.0
160
+ - ftfy==6.3.1
161
+ - grpcio==1.76.0
162
+ - h11==0.16.0
163
+ - hjson==3.1.0
164
+ - httpcore==1.0.9
165
+ - httpx==0.28.1
166
+ - huggingface-hub==1.4.1
167
+ - humanfriendly==10.0
168
+ - hydra-core==1.3.2
169
+ - idna==3.11
170
+ - imageio==2.37.0
171
+ - imageio-ffmpeg==0.6.0
172
+ - importlib-metadata==8.7.0
173
+ - iopath==0.1.10
174
+ - ipython==9.8.0
175
+ - ipython-pygments-lexers==1.1.1
176
+ - jedi==0.19.2
177
+ - jinja2==3.1.6
178
+ - joblib==1.5.2
179
+ - kiwisolver==1.4.9
180
+ - lightning-utilities==0.15.2
181
+ - loguru==0.7.3
182
+ - lxml==6.0.2
183
+ - markdown==3.10
184
+ - markupsafe==2.1.5
185
+ - matplotlib==3.10.8
186
+ - matplotlib-inline==0.2.1
187
+ - modelscope==1.34.0
188
+ - moviepy==2.2.1
189
+ - mpmath==1.3.0
190
+ - msgpack==1.1.2
191
+ - networkx==3.5
192
+ - ninja==1.13.0
193
+ - nltk==3.9.2
194
+ - nvidia-cublas-cu12==12.4.5.8
195
+ - nvidia-cuda-cupti-cu12==12.4.127
196
+ - nvidia-cuda-nvrtc-cu12==12.4.127
197
+ - nvidia-cuda-runtime-cu12==12.4.127
198
+ - nvidia-cudnn-cu12==9.1.0.70
199
+ - nvidia-cufft-cu12==11.2.1.3
200
+ - nvidia-curand-cu12==10.3.5.147
201
+ - nvidia-cusolver-cu12==11.6.1.9
202
+ - nvidia-cusparse-cu12==12.3.1.170
203
+ - nvidia-nccl-cu12==2.21.5
204
+ - nvidia-nvjitlink-cu12==12.4.127
205
+ - nvidia-nvtx-cu12==12.4.127
206
+ - omegaconf==2.3.0
207
+ - onnxruntime-gpu==1.23.2
208
+ - opencv-python-headless==4.8.0.74
209
+ - packaging==25.0
210
+ - pandarallel==1.6.5
211
+ - parso==0.8.5
212
+ - peft==0.10.0
213
+ - pexpect==4.9.0
214
+ - pillow==11.3.0
215
+ - portalocker==3.2.0
216
+ - proglog==0.1.12
217
+ - prompt-toolkit==3.0.52
218
+ - protobuf==6.33.2
219
+ - psutil==7.1.3
220
+ - ptyprocess==0.7.0
221
+ - pure-eval==0.2.3
222
+ - py-cpuinfo==9.0.0
223
+ - pydantic==2.12.5
224
+ - pydantic-core==2.41.5
225
+ - pygments==2.19.2
226
+ - pyparsing==3.2.5
227
+ - python-dateutil==2.9.0.post0
228
+ - python-dotenv==1.2.1
229
+ - pytorch-lightning==2.6.0
230
+ - pytz==2025.2
231
+ - pyyaml==6.0.3
232
+ - regex==2025.11.3
233
+ - rouge-score==0.1.2
234
+ - sacrebleu==2.5.1
235
+ - safetensors==0.7.0
236
+ - sam-2==1.0
237
+ - scipy==1.16.3
238
+ - sentencepiece==0.2.1
239
+ - six==1.17.0
240
+ - soupsieve==2.8
241
+ - stack-data==0.6.3
242
+ - sympy==1.13.1
243
+ - tabulate==0.9.0
244
+ - tensorboard==2.20.0
245
+ - tensorboard-data-server==0.7.2
246
+ - timm==1.0.22
247
+ - tokenizers==0.19.1
248
+ - torch==2.5.1+cu124
249
+ - torchaudio==2.5.1+cu124
250
+ - torchmetrics==1.8.2
251
+ - torchvision==0.20.1+cu124
252
+ - traitlets==5.14.3
253
+ - transformers==4.41.2
254
+ - triton==3.1.0
255
+ - typing-extensions==4.15.0
256
+ - typing-inspection==0.4.2
257
+ - urllib3==2.6.2
258
+ - wcwidth==0.2.14
259
+ - werkzeug==3.1.4
260
+ - xfuser==0.4.5
261
+ - yunchang==0.6.4
262
+ - zipp==3.23.0
263
+ prefix: /research/cbim/vast/sf895/miniforge3/envs/one-to-all
env/one-to-all_requirements.txt ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ absl-py==2.3.1
2
+ accelerate==1.12.0
3
+ aiohappyeyeballs==2.6.1
4
+ aiohttp==3.13.2
5
+ aiosignal==1.4.0
6
+ annotated-types==0.7.0
7
+ antlr4-python3-runtime==4.9.3
8
+ anyio==4.11.0
9
+ asttokens==3.0.1
10
+ attrs==25.4.0
11
+ beautifulsoup4==4.14.3
12
+ certifi==2025.11.12
13
+ charset-normalizer==3.4.4
14
+ click==8.3.1
15
+ colorama==0.4.6
16
+ coloredlogs==15.0.1
17
+ contourpy==1.3.3
18
+ cycler==0.12.1
19
+ datasets==4.4.1
20
+ decorator==5.2.1
21
+ decord==0.6.0
22
+ deepspeed==0.15.4
23
+ diffsynth==2.0.4
24
+ diffusers==0.33.0
25
+ dill==0.4.0
26
+ DistVAE==0.0.0b5
27
+ einops==0.8.1
28
+ evaluate==0.4.6
29
+ executing==2.2.1
30
+ filelock==3.18.0
31
+ flatbuffers==25.9.23
32
+ fonttools==4.61.0
33
+ frozenlist==1.8.0
34
+ fsspec==2025.10.0
35
+ ftfy==6.3.1
36
+ gdown==5.2.0
37
+ grpcio==1.76.0
38
+ h11==0.16.0
39
+ hf-xet==1.2.0
40
+ hjson==3.1.0
41
+ httpcore==1.0.9
42
+ httpx==0.28.1
43
+ huggingface_hub==0.36.2
44
+ humanfriendly==10.0
45
+ hydra-core==1.3.2
46
+ idna==3.11
47
+ imageio==2.37.0
48
+ imageio-ffmpeg==0.6.0
49
+ importlib_metadata==8.7.0
50
+ iopath==0.1.10
51
+ ipython==9.8.0
52
+ ipython_pygments_lexers==1.1.1
53
+ jedi==0.19.2
54
+ Jinja2==3.1.6
55
+ joblib==1.5.2
56
+ kiwisolver==1.4.9
57
+ lightning-utilities==0.15.2
58
+ loguru==0.7.3
59
+ lxml==6.0.2
60
+ Markdown==3.10
61
+ MarkupSafe==2.1.5
62
+ matplotlib==3.10.8
63
+ matplotlib-inline==0.2.1
64
+ modelscope==1.34.0
65
+ moviepy==2.2.1
66
+ mpmath==1.3.0
67
+ msgpack==1.1.2
68
+ multidict==6.7.0
69
+ multiprocess==0.70.18
70
+ networkx==3.5
71
+ ninja==1.13.0
72
+ nltk==3.9.2
73
+ numpy @ file:///croot/numpy_and_numpy_base_1755590845055/work/dist/numpy-1.26.4-cp312-cp312-linux_x86_64.whl#sha256=b6a17550902a1a02e1b803debb7f925a147a8c1fd483c5b82c93c976a1e6bddb
74
+ nvidia-cublas-cu12==12.4.5.8
75
+ nvidia-cuda-cupti-cu12==12.4.127
76
+ nvidia-cuda-nvrtc-cu12==12.4.127
77
+ nvidia-cuda-runtime-cu12==12.4.127
78
+ nvidia-cudnn-cu12==9.1.0.70
79
+ nvidia-cufft-cu12==11.2.1.3
80
+ nvidia-curand-cu12==10.3.5.147
81
+ nvidia-cusolver-cu12==11.6.1.9
82
+ nvidia-cusparse-cu12==12.3.1.170
83
+ nvidia-nccl-cu12==2.21.5
84
+ nvidia-nvjitlink-cu12==12.4.127
85
+ nvidia-nvtx-cu12==12.4.127
86
+ omegaconf==2.3.0
87
+ onnxruntime-gpu==1.23.2
88
+ opencv-python-headless==4.8.0.74
89
+ packaging==25.0
90
+ pandarallel==1.6.5
91
+ pandas==2.3.3
92
+ parso==0.8.5
93
+ peft==0.10.0
94
+ pexpect==4.9.0
95
+ pillow==11.3.0
96
+ portalocker==3.2.0
97
+ proglog==0.1.12
98
+ prompt_toolkit==3.0.52
99
+ propcache==0.4.1
100
+ protobuf==6.33.2
101
+ psutil==7.1.3
102
+ ptyprocess==0.7.0
103
+ pure_eval==0.2.3
104
+ py-cpuinfo==9.0.0
105
+ pyarrow==22.0.0
106
+ pydantic==2.12.5
107
+ pydantic_core==2.41.5
108
+ Pygments==2.19.2
109
+ pyparsing==3.2.5
110
+ PySocks==1.7.1
111
+ python-dateutil==2.9.0.post0
112
+ python-dotenv==1.2.1
113
+ pytorch-lightning==2.6.0
114
+ pytz==2025.2
115
+ PyYAML==6.0.3
116
+ regex==2025.11.3
117
+ requests==2.32.5
118
+ rouge_score==0.1.2
119
+ sacrebleu==2.5.1
120
+ safetensors==0.7.0
121
+ -e git+https://github.com/facebookresearch/sam2.git@0e78a118995e66bb27d78518c4bd9a3e95b4e266#egg=SAM_2
122
+ scipy==1.16.3
123
+ sentencepiece==0.2.1
124
+ setuptools==80.9.0
125
+ shellingham==1.5.4
126
+ six==1.17.0
127
+ sniffio==1.3.1
128
+ soupsieve==2.8
129
+ stack-data==0.6.3
130
+ sympy==1.13.1
131
+ tabulate==0.9.0
132
+ tensorboard==2.20.0
133
+ tensorboard-data-server==0.7.2
134
+ timm==1.0.22
135
+ tokenizers==0.19.1
136
+ torch==2.5.1+cu124
137
+ torchaudio==2.5.1+cu124
138
+ torchmetrics==1.8.2
139
+ torchvision==0.20.1+cu124
140
+ tqdm==4.67.1
141
+ traitlets==5.14.3
142
+ transformers==4.41.2
143
+ triton==3.1.0
144
+ typer-slim==0.20.0
145
+ typing-inspection==0.4.2
146
+ typing_extensions==4.15.0
147
+ tzdata==2025.2
148
+ urllib3==2.6.2
149
+ wcwidth==0.2.14
150
+ Werkzeug==3.1.4
151
+ wheel==0.45.1
152
+ xfuser==0.4.5
153
+ xxhash==3.6.0
154
+ yarl==1.22.0
155
+ yunchang==0.6.4
156
+ zipp==3.23.0
env/requirements01_dwpose.txt DELETED
@@ -1,6 +0,0 @@
1
- easy_dwpose==1.0.1
2
- ffmpeg
3
- torch
4
- torchvision
5
- einops
6
- scipy
 
 
 
 
 
 
 
env/requirements02_controlnext.txt DELETED
@@ -1,16 +0,0 @@
1
- torch
2
- torchvision
3
- moviepy==1.0.3
4
- opencv-python
5
- omegaconf
6
- onnxruntime
7
- pillow
8
- scipy
9
- matplotlib
10
- numpy
11
- transformers
12
- diffusers
13
- safetensors
14
- peft
15
- decord
16
- einops