FangSen9000 Claude commited on
Commit
a4367be
·
1 Parent(s): 7554553

Update batch inference script to run parallel jobs with man/woman reference images

Browse files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

One-to-All-Animation/video-generation/run_batch.sh CHANGED
@@ -7,11 +7,24 @@ cd "$(dirname "$0")"
7
 
8
  #cd /research/cbim/vast/sf895/code/StableSigner/One-to-All-Animation/video-generation
9
  #conda activate one-to-all
10
- CUDA_VISIBLE_DEVICES=0 python inference_1.3b.py --pose_video HELLO_GOOD_MORNING_20251215_142658_openpose_style.mp4 --ref_image square1.png
11
- CUDA_VISIBLE_DEVICES=1 python inference_1.3b.py --pose_video HELLO_WORLD_20251215_142017_openpose_style.mp4 --ref_image square2.png
12
- CUDA_VISIBLE_DEVICES=2 python inference_1.3b.py --pose_video I_GO_SCHOOL_LATER_20251215_142204_openpose_style.mp4 --ref_image square3.png
13
- CUDA_VISIBLE_DEVICES=3 python inference_1.3b.py --pose_video I_NEED_HELP_PLEASE_20251215_142045_openpose_style.mp4 --ref_image square4.png
14
- CUDA_VISIBLE_DEVICES=4 python inference_1.3b.py --pose_video TODAY_WEATHER_NICE_20251215_142126_openpose_style.mp4 --ref_image square5.png
15
- CUDA_VISIBLE_DEVICES=5 python inference_1.3b.py --pose_video WEHRE_IS_MY_CAT_20251215_142307_openpose_style.mp4 --ref_image square6.png
16
- CUDA_VISIBLE_DEVICES=6 python inference_1.3b.py --pose_video TODAY_WEATHER_NICE_20251215_142126_openpose_style.mp4 --ref_image square2.png
17
- CUDA_VISIBLE_DEVICES=7 python inference_1.3b.py --pose_video I_GO_SCHOOL_LATER_20251215_142204_openpose_style.mp4 --ref_image square8.png
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  #cd /research/cbim/vast/sf895/code/StableSigner/One-to-All-Animation/video-generation
9
  #conda activate one-to-all
10
+
11
+ #CUDA_VISIBLE_DEVICES=0 python inference_1.3b.py --pose_video HELLO_GOOD_MORNING_20251215_142658_openpose_style.mp4 --ref_image square1.png &
12
+ #CUDA_VISIBLE_DEVICES=1 python inference_1.3b.py --pose_video HELLO_WORLD_20251215_142017_openpose_style.mp4 --ref_image square2.png &
13
+ #CUDA_VISIBLE_DEVICES=2 python inference_1.3b.py --pose_video I_GO_SCHOOL_LATER_20251215_142204_openpose_style.mp4 --ref_image square3.png &
14
+ #CUDA_VISIBLE_DEVICES=3 python inference_1.3b.py --pose_video I_NEED_HELP_PLEASE_20251215_142045_openpose_style.mp4 --ref_image square4.png &
15
+ #CUDA_VISIBLE_DEVICES=4 python inference_1.3b.py --pose_video TODAY_WEATHER_NICE_20251215_142126_openpose_style.mp4 --ref_image square5.png &
16
+ #CUDA_VISIBLE_DEVICES=5 python inference_1.3b.py --pose_video WEHRE_IS_MY_CAT_20251215_142307_openpose_style.mp4 --ref_image square6.png &
17
+ #CUDA_VISIBLE_DEVICES=6 python inference_1.3b.py --pose_video TODAY_WEATHER_NICE_20251215_142126_openpose_style.mp4 --ref_image square2.png &
18
+ #CUDA_VISIBLE_DEVICES=7 python inference_1.3b.py --pose_video I_GO_SCHOOL_LATER_20251215_142204_openpose_style.mp4 --ref_image square8.png &
19
+ CUDA_VISIBLE_DEVICES=1 python inference_1.3b.py --pose_video HELLO_GOOD_MORNING_20251215_142658_openpose_style.mp4 --ref_image man.jpg &
20
+ CUDA_VISIBLE_DEVICES=2 python inference_1.3b.py --pose_video HELLO_WORLD_20251215_142017_openpose_style.mp4 --ref_image man.jpg &
21
+ CUDA_VISIBLE_DEVICES=3 python inference_1.3b.py --pose_video I_GO_SCHOOL_LATER_20251215_142204_openpose_style.mp4 --ref_image man.jpg &
22
+ CUDA_VISIBLE_DEVICES=4 python inference_1.3b.py --pose_video I_NEED_HELP_PLEASE_20251215_142045_openpose_style.mp4 --ref_image man.jpg &
23
+ CUDA_VISIBLE_DEVICES=5 python inference_1.3b.py --pose_video TODAY_WEATHER_NICE_20251215_142126_openpose_style.mp4 --ref_image woman.jpg &
24
+ CUDA_VISIBLE_DEVICES=6 python inference_1.3b.py --pose_video WEHRE_IS_MY_CAT_20251215_142307_openpose_style.mp4 --ref_image woman.jpg &
25
+ CUDA_VISIBLE_DEVICES=7 python inference_1.3b.py --pose_video I_GO_SCHOOL_LATER_20251215_142204_openpose_style.mp4 --ref_image woman.jpg &
26
+
27
+ # 等待所有后台任务完成
28
+ wait
29
+
30
+ echo "✅ 所有任务完成!"