Explorar el Código

update asr_task.sh

liqian hace 1 año
padre
commit
ca4cee78c8
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      asr_task.sh

+ 2 - 1
asr_task.sh

@@ -2,6 +2,7 @@ cd /data/aigc-test
 
 source activate whisper
 
-python asr_task.py
+CUDA_VISIBLE_DEVICES=0 python asr_task.py 0 > /data/aigc-test/logs/asr_task_0.log 2>&1 &
+CUDA_VISIBLE_DEVICES=1 python asr_task.py 1 > /data/aigc-test/logs/asr_task_1.log 2>&1
 
 conda deactivate