FangSen9000 commited on
Commit
2066a63
·
1 Parent(s): 2a1ef7e

Add verified posture setting

Browse files
ComfyUI-ControlNeXt-SVD ADDED
@@ -0,0 +1 @@
 
 
1
+ Subproject commit 6227d71b16602c55a159316a0f72b0b4bf281e7f
README.md CHANGED
@@ -16,11 +16,11 @@ The entire project is divided into two parts: `text_or_gloss2pose` and `pose2vid
16
  first, change `good morning afternoon`, and run:
17
 
18
  ```python
19
- python text2pose.py --gloss "where is my cat" --scale-y 1.4 --scale-x 1.3 --npz-interpolation 20 --width 512 --height 768 --fps 30 --hide-torso-lines false
20
 
21
  or
22
 
23
- python text2pose.py --gloss "good morning afternoon" --npz-interpolation 20 --width 512 --height 768 --fps 30
24
  ```
25
 
26
  second, change `generated_pose_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_160832.mp4` & `ref_img_dict/03.jpeg`, and run:
@@ -190,7 +190,8 @@ CUDA_VISIBLE_DEVICES=0 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
190
  --pose_video_path generated_pose_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_160832.mp4 \
191
  --ref_image_path ref_img_dict/03.jpeg \
192
  --precision fp16 \
193
- --enable_xformers \
194
- --decode_chunk_size 2
 
195
  ```
196
 
 
16
  first, change `good morning afternoon`, and run:
17
 
18
  ```python
19
+ python text2pose.py --gloss "good morning afternoon" --scale-y 1.3 --scale-x 1.2 --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 text2pose.py --gloss "where is my cat" --scale-y 1.4 --scale-x 1.3 --npz-interpolation 20 --width 512 --height 768 --fps 30 --hide-torso-lines false
24
  ```
25
 
26
  second, change `generated_pose_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_160832.mp4` & `ref_img_dict/03.jpeg`, and run:
 
190
  --pose_video_path generated_pose_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_160832.mp4 \
191
  --ref_image_path ref_img_dict/03.jpeg \
192
  --precision fp16 \
193
+ --decode_chunk_size 2 \
194
+ --enable_geglu_optimization \
195
+ --enable_xformers
196
  ```
197
 
generated_pose_video/{WHERE_IS_MY_CAT_63084_44900_37469_65313_20250804_195315.mp4 → GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_214708.mp4} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c838110d6b0c453e18eb6b62aebeca205d5a1e7e32ddd35c042daa6e3ef7fed
3
- size 2813937
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e0d25a5c9af662adc2c417bbd9564cb71287f58ae6ef92cbdcc71dccd6ab6966
3
+ size 1668013
generated_sign_video/WHERE_IS_MY_CAT_63084_44900_37469_65313_20250804_195315.mp4 → generated_pose_video/HELLO_WORLD_27184_63831_20250804_215328.mp4 RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:771c9a92c0901a0fc897c5a2c7142954ba7dfc02cde76834b4c8e678fa532bb9
3
- size 3010816
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2ff6dbbc50441746c7d494956bc72987878f359dd5ff96c765adb51e5631becb
3
+ size 2183071
generated_sign_video/WHERE_IS_MY_CAT_63084_44900_37469_65313_20250804_195315_combined.mp4 → generated_pose_video/I_WILL_ATTEND_THIS_DINNER_PARTY_28794_63364_04007_66628_16327_41325_20250804_215724.mp4 RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:51601f233e5df4c9888351074699c398c934f7041dafb1f18e084e315fd13e86
3
- size 3590703
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad2836123b570c7aa716e4f02e447e1e004a3d439fbcc9a6e282175475d4539c
3
+ size 4409427
generated_pose_video/NOT_FIND_YET_38868_21853_18537_20250804_220326.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:912d9a76db09fe053361692239ba9644a47f144ec7832a2e38850811b9e5b652
3
+ size 2095895
generated_pose_video/NOT_FIND_YET_38868_21853_38944_20250804_223748.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23b47ae5720cb5d7ba9b5e34a63e6f31f1c136d440a6a43c9113ad8a5ff5982c
3
+ size 1340578
generated_sign_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_214708.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:11c9bec1c44c66b4e8a914f4cf3f08bdfbc0f0ed7a476c6aa73cc8129c6df552
3
+ size 1669008
generated_sign_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_214708_combined.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9601bc572dc3c58fe6bdb055b1254c580fb7f33642e3313d81b06598a349d980
3
+ size 2054929
text2pose.py CHANGED
@@ -32,6 +32,7 @@ class SignLanguageQA:
32
  def __init__(self):
33
  self.gloss_data = None
34
  self.load_json_mapping()
 
35
 
36
  def load_json_mapping(self):
37
  """Load JSON mapping file"""
@@ -209,13 +210,17 @@ class SignLanguageQA:
209
  frame_keys = [k for k in npz_data.keys() if k.startswith('frame_') and k.endswith('_bodies')]
210
  return len(frame_keys)
211
 
212
- def create_pose_frame(self, frame_data, width=480, height=480, scale_x=1.0, scale_y=1.0, hide_torso_lines=False):
213
- """Create single frame pose image with progressive scaling"""
214
  try:
215
  # Apply progressive scaling if needed
216
  if scale_x != 1.0 or scale_y != 1.0:
217
  frame_data = self.apply_progressive_scaling(frame_data, scale_x, scale_y)
218
 
 
 
 
 
219
  processed_pred = process_pose_data(frame_data, height, width)
220
 
221
  vis_img = draw_pose(
@@ -385,14 +390,136 @@ class SignLanguageQA:
385
  scaled_data['faces'] = faces
386
 
387
  return scaled_data
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
388
 
389
  def generate_video_from_glosses(self, gloss_list, output_path, fps=30, width=480, height=480,
390
  smoothing_frames=5, smoothing_method='none', npz_interpolation_frames=0,
391
- scale_x=1.0, scale_y=1.0, hide_torso_lines=False):
392
- """Generate video from gloss list with optional progressive scaling"""
393
  # Create output directory
394
  output_path.parent.mkdir(parents=True, exist_ok=True)
395
 
 
 
 
 
 
 
 
 
396
  # Collect all frames from all glosses
397
  all_pose_frames = []
398
  all_npz_data = [] # Store NPZ data for interpolation
@@ -441,7 +568,15 @@ class SignLanguageQA:
441
  for frame_num in range(start_frame, end_frame + 1):
442
  frame_data = self.get_frame_data(npz_data, frame_num)
443
  if frame_data and self.check_frame_quality(frame_data):
444
- pose_frame = self.create_pose_frame(frame_data, width, height, scale_x, scale_y, hide_torso_lines)
 
 
 
 
 
 
 
 
445
  if pose_frame is not None:
446
  gloss_frames.append(pose_frame)
447
 
@@ -511,7 +646,7 @@ class SignLanguageQA:
511
 
512
  # Create visual frame
513
  if frame_data:
514
- pose_frame = self.create_pose_frame(frame_data, width, height, scale_x, scale_y, hide_torso_lines)
515
  if pose_frame is not None:
516
  interpolated_pose_frames.append(pose_frame)
517
 
@@ -767,6 +902,8 @@ def main():
767
  help='Progressive Y-axis scaling factor (default: 1.0)')
768
  parser.add_argument('--hide-torso-lines', type=str, choices=['true', 'false'], default='false',
769
  help='Hide torso lines from neck to hips (set to black). Choices: true/false (default: false)')
 
 
770
 
771
  args = parser.parse_args()
772
 
@@ -801,7 +938,8 @@ def main():
801
  success = qa_system.generate_video_from_glosses(
802
  gloss_list, output_file, args.fps, args.width, args.height,
803
  args.smoothing_frames, args.smoothing, args.npz_interpolation,
804
- args.scale_x, args.scale_y, args.hide_torso_lines == 'true'
 
805
  )
806
 
807
  if not success:
 
32
  def __init__(self):
33
  self.gloss_data = None
34
  self.load_json_mapping()
35
+ self.detector = None # Lazy load DWpose detector when needed
36
 
37
  def load_json_mapping(self):
38
  """Load JSON mapping file"""
 
210
  frame_keys = [k for k in npz_data.keys() if k.startswith('frame_') and k.endswith('_bodies')]
211
  return len(frame_keys)
212
 
213
+ def create_pose_frame(self, frame_data, width=480, height=480, scale_x=1.0, scale_y=1.0, hide_torso_lines=False, y_offset=0):
214
+ """Create single frame pose image with progressive scaling and optional y offset"""
215
  try:
216
  # Apply progressive scaling if needed
217
  if scale_x != 1.0 or scale_y != 1.0:
218
  frame_data = self.apply_progressive_scaling(frame_data, scale_x, scale_y)
219
 
220
+ # Apply y offset if provided
221
+ if y_offset != 0:
222
+ frame_data = self.apply_y_offset(frame_data, y_offset)
223
+
224
  processed_pred = process_pose_data(frame_data, height, width)
225
 
226
  vis_img = draw_pose(
 
390
  scaled_data['faces'] = faces
391
 
392
  return scaled_data
393
+
394
+ def apply_y_offset(self, frame_data, y_offset):
395
+ """Apply vertical offset to all pose points"""
396
+ offset_data = copy.deepcopy(frame_data)
397
+
398
+ # Apply offset to bodies
399
+ if 'bodies' in offset_data and offset_data['bodies'] is not None:
400
+ offset_data['bodies'][:, 1] += y_offset
401
+
402
+ # Apply offset to hands
403
+ if 'hands' in offset_data and offset_data['hands'] is not None:
404
+ if len(offset_data['hands'].shape) == 3:
405
+ offset_data['hands'][:, :, 1] += y_offset
406
+ else:
407
+ offset_data['hands'][:, 1] += y_offset
408
+
409
+ # Apply offset to faces
410
+ if 'faces' in offset_data and offset_data['faces'] is not None:
411
+ if len(offset_data['faces'].shape) == 3:
412
+ offset_data['faces'][:, :, 1] += y_offset
413
+ else:
414
+ offset_data['faces'][:, 1] += y_offset
415
+
416
+ return offset_data
417
+
418
+ def get_reference_head_top(self, ref_image_path, width, height):
419
+ """Get the top of head position from reference image"""
420
+ try:
421
+ # Lazy load detector
422
+ if self.detector is None:
423
+ device = "cuda:0" if torch.cuda.is_available() else "cpu"
424
+ self.detector = DWposeDetector(device=device)
425
+
426
+ # Load and detect pose in reference image
427
+ ref_image = Image.open(ref_image_path).convert("RGB")
428
+
429
+ # Resize reference image to match target dimensions
430
+ ref_image = ref_image.resize((width, height), Image.LANCZOS)
431
+
432
+ # Detect pose
433
+ pose_data = self.detector(ref_image, draw_pose=False)
434
+
435
+ # Find head top from face points
436
+ if 'faces' in pose_data and pose_data['faces'] is not None and len(pose_data['faces']) > 0:
437
+ faces = pose_data['faces']
438
+ if len(faces.shape) == 3:
439
+ # Multiple faces, use first one
440
+ face_points = faces[0]
441
+ else:
442
+ face_points = faces
443
+
444
+ # Get all valid Y coordinates
445
+ y_coords = face_points[:, 1]
446
+ valid_y = y_coords[y_coords > 0]
447
+
448
+ if len(valid_y) > 0:
449
+ # Head top is the minimum Y coordinate (top of the image)
450
+ head_top_y = np.min(valid_y)
451
+ return head_top_y
452
+
453
+ # If no face found, try to use body points
454
+ if 'bodies' in pose_data and pose_data['bodies'] is not None:
455
+ bodies = pose_data['bodies']
456
+ # Look for head-related points (eyes, ears, nose)
457
+ # Indices 0=nose, 14=right eye, 15=left eye, 16=right ear, 17=left ear
458
+ head_indices = [0, 14, 15, 16, 17]
459
+ head_y_coords = []
460
+
461
+ for idx in head_indices:
462
+ if idx < len(bodies) and bodies[idx, 1] > 0:
463
+ head_y_coords.append(bodies[idx, 1])
464
+
465
+ if head_y_coords:
466
+ return min(head_y_coords)
467
+
468
+ return None
469
+
470
+ except Exception as e:
471
+ print(f"⚠️ Failed to get reference head position: {e}")
472
+ return None
473
+
474
+ def get_pose_head_top(self, frame_data):
475
+ """Get the top of head position from pose frame data"""
476
+ # Try faces first
477
+ if 'faces' in frame_data and frame_data['faces'] is not None:
478
+ faces = frame_data['faces']
479
+ if len(faces.shape) == 3:
480
+ # Multiple faces, use first one
481
+ face_points = faces[0]
482
+ else:
483
+ face_points = faces
484
+
485
+ # Get all valid Y coordinates
486
+ y_coords = face_points[:, 1]
487
+ valid_y = y_coords[y_coords > 0]
488
+
489
+ if len(valid_y) > 0:
490
+ return np.min(valid_y)
491
+
492
+ # Fall back to body points
493
+ if 'bodies' in frame_data and frame_data['bodies'] is not None:
494
+ bodies = frame_data['bodies']
495
+ # Look for head-related points
496
+ head_indices = [0, 14, 15, 16, 17] # nose, eyes, ears
497
+ head_y_coords = []
498
+
499
+ for idx in head_indices:
500
+ if idx < len(bodies) and bodies[idx, 1] > 0:
501
+ head_y_coords.append(bodies[idx, 1])
502
+
503
+ if head_y_coords:
504
+ return min(head_y_coords)
505
+
506
+ return None
507
 
508
  def generate_video_from_glosses(self, gloss_list, output_path, fps=30, width=480, height=480,
509
  smoothing_frames=5, smoothing_method='none', npz_interpolation_frames=0,
510
+ scale_x=1.0, scale_y=1.0, hide_torso_lines=False, ref_image_path=None):
511
+ """Generate video from gloss list with optional progressive scaling and head alignment"""
512
  # Create output directory
513
  output_path.parent.mkdir(parents=True, exist_ok=True)
514
 
515
+ # Get reference head position if provided
516
+ ref_head_top = None
517
+ y_offset = 0
518
+ if ref_image_path:
519
+ ref_head_top = self.get_reference_head_top(ref_image_path, width, height)
520
+ if ref_head_top is not None:
521
+ print(f"📏 Reference head top position: {ref_head_top:.2f}")
522
+
523
  # Collect all frames from all glosses
524
  all_pose_frames = []
525
  all_npz_data = [] # Store NPZ data for interpolation
 
568
  for frame_num in range(start_frame, end_frame + 1):
569
  frame_data = self.get_frame_data(npz_data, frame_num)
570
  if frame_data and self.check_frame_quality(frame_data):
571
+ # Calculate y offset for first frame if reference provided
572
+ if ref_head_top is not None and y_offset == 0 and frame_num == start_frame:
573
+ # Get head top from current pose
574
+ current_head_top = self.get_pose_head_top(frame_data)
575
+ if current_head_top is not None:
576
+ y_offset = ref_head_top - current_head_top
577
+ print(f"📐 Calculated Y offset: {y_offset:.2f}")
578
+
579
+ pose_frame = self.create_pose_frame(frame_data, width, height, scale_x, scale_y, hide_torso_lines, y_offset)
580
  if pose_frame is not None:
581
  gloss_frames.append(pose_frame)
582
 
 
646
 
647
  # Create visual frame
648
  if frame_data:
649
+ pose_frame = self.create_pose_frame(frame_data, width, height, scale_x, scale_y, hide_torso_lines, y_offset)
650
  if pose_frame is not None:
651
  interpolated_pose_frames.append(pose_frame)
652
 
 
902
  help='Progressive Y-axis scaling factor (default: 1.0)')
903
  parser.add_argument('--hide-torso-lines', type=str, choices=['true', 'false'], default='false',
904
  help='Hide torso lines from neck to hips (set to black). Choices: true/false (default: false)')
905
+ parser.add_argument('--ref-image-path', type=str, default=None,
906
+ help='Reference image path for head alignment')
907
 
908
  args = parser.parse_args()
909
 
 
938
  success = qa_system.generate_video_from_glosses(
939
  gloss_list, output_file, args.fps, args.width, args.height,
940
  args.smoothing_frames, args.smoothing, args.npz_interpolation,
941
+ args.scale_x, args.scale_y, args.hide_torso_lines == 'true',
942
+ args.ref_image_path
943
  )
944
 
945
  if not success:
useless/abandon_cmd.md CHANGED
@@ -10,13 +10,32 @@ CUDA_VISIBLE_DEVICES=0 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
10
  --width 512 \
11
  --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
12
  --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
13
- --pose_video_path generated_pose_video/HELLO_WORLD_27184_63831_20250804_163910.mp4 \
14
  --ref_image_path ref_img_dict/01.jpeg \
15
  --precision fp16 \
16
  --decode_chunk_size 2 \
17
  --enable_geglu_optimization \
18
  --enable_xformers
19
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
20
  CUDA_VISIBLE_DEVICES=1 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
21
  --pretrained_model_name_or_path stabilityai/stable-video-diffusion-img2vid-xt-1-1 \
22
  --output_dir generated_sign_video \
@@ -29,8 +48,8 @@ CUDA_VISIBLE_DEVICES=1 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
29
  --width 512 \
30
  --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
31
  --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
32
- --pose_video_path generated_pose_video/I_WILL_ATTEND_THIS_DINNER_PARTY_28794_63364_04007_66628_16327_41325_20250804_164010.mp4 \
33
- --ref_image_path ref_img_dict/02.jpeg \
34
  --precision fp16 \
35
  --decode_chunk_size 2 \
36
  --enable_geglu_optimization \
@@ -49,7 +68,7 @@ CUDA_VISIBLE_DEVICES=2 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
49
  --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
50
  --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
51
  --pose_video_path generated_pose_video/NOT_FIND_YET_38868_21853_18535_20250804_164149.mp4 \
52
- --ref_image_path ref_img_dict/dsgs_ref.jpg \
53
  --precision fp16 \
54
  --decode_chunk_size 2 \
55
  --enable_geglu_optimization \
@@ -67,7 +86,7 @@ CUDA_VISIBLE_DEVICES=3 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
67
  --width 512 \
68
  --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
69
  --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
70
- --pose_video_path generated_pose_video/WHERE_IS_MY_CAT_63084_44900_37469_65313_20250804_195315.mp4 \
71
  --ref_image_path ref_img_dict/lis_ref.jpg \
72
  --precision fp16 \
73
  --decode_chunk_size 2 \
 
10
  --width 512 \
11
  --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
12
  --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
13
+ --pose_video_path generated_pose_video/GOOD_MORNING_AFTERNOON_25073_36863_01435_20250804_214708.mp4 \
14
  --ref_image_path ref_img_dict/01.jpeg \
15
  --precision fp16 \
16
  --decode_chunk_size 2 \
17
  --enable_geglu_optimization \
18
  --enable_xformers
19
 
20
+ CUDA_VISIBLE_DEVICES=0 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
21
+ --pretrained_model_name_or_path stabilityai/stable-video-diffusion-img2vid-xt-1-1 \
22
+ --output_dir generated_sign_video \
23
+ --max_frame_num 240 \
24
+ --guidance_scale 3 \
25
+ --batch_frames 24 \
26
+ --sample_stride 2 \
27
+ --overlap 4 \
28
+ --height 768 \
29
+ --width 512 \
30
+ --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
31
+ --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
32
+ --pose_video_path generated_pose_video/HELLO_WORLD_27184_63831_20250804_215328.mp4 \
33
+ --ref_image_path ref_img_dict/04.jpeg \
34
+ --precision fp16 \
35
+ --decode_chunk_size 2 \
36
+ --enable_geglu_optimization \
37
+ --enable_xformers
38
+
39
  CUDA_VISIBLE_DEVICES=1 python ControlNeXt-SVD-v2/run_controlnext_optimized.py \
40
  --pretrained_model_name_or_path stabilityai/stable-video-diffusion-img2vid-xt-1-1 \
41
  --output_dir generated_sign_video \
 
48
  --width 512 \
49
  --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
50
  --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
51
+ --pose_video_path generated_pose_video/code/StableSigner3/I_WILL_ATTEND_THIS_DINNER_PARTY_28794_63364_04007_66628_16327_41325_20250804_215724.mp4 \
52
+ --ref_image_path ref_img_dict/03.jpeg \
53
  --precision fp16 \
54
  --decode_chunk_size 2 \
55
  --enable_geglu_optimization \
 
68
  --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
69
  --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
70
  --pose_video_path generated_pose_video/NOT_FIND_YET_38868_21853_18535_20250804_164149.mp4 \
71
+ --ref_image_path ref_img_dict/asl_ref_v.png \
72
  --precision fp16 \
73
  --decode_chunk_size 2 \
74
  --enable_geglu_optimization \
 
86
  --width 512 \
87
  --controlnext_path ControlNeXt-SVD-v2/pretrained/controlnet.bin \
88
  --unet_path ControlNeXt-SVD-v2/pretrained/unet.bin \
89
+ --pose_video_path generated_pose_video/WHERE_IS_MY_CAT_63084_66583_37469_65313_20250804_205149.mp4 \
90
  --ref_image_path ref_img_dict/lis_ref.jpg \
91
  --precision fp16 \
92
  --decode_chunk_size 2 \