File size: 539 Bytes
f5ca707
 
 
 
 
1
2
3
4
5
6
cd ~
for g in 0 1 2 3; do cp ~/wm_groups/v2/g$g/wm.pt ~/wm_groups/v2/g$g/wm_prev.pt; cp ~/wm_groups/v2/g$g/wm.pt ~/wm_groups/v2/g$g/wm_r2.pt; cp ~/wm_groups/v2/g$g/gen10.mp4 ~/wm_groups/v2/g$g/gen10_r2.mp4;
  TPU_CHIPS_PER_PROCESS_BOUNDS=1,1,1 TPU_PROCESS_BOUNDS=1,1,1 TPU_VISIBLE_CHIPS=$g TPU_PROCESS_PORT=$((8476+g)) CLOUD_TPU_TASK_ID=0 PJRT_DEVICE=TPU GROUP=$g MAX_MIN=11 TARGET=0.03 RESUME=1 nohup ~/xla_env/bin/python ~/wm_groups/train_group2.py > ~/wm_groups/v2/stdout3_g$g.txt 2>&1 &
done
wait; echo DONE > ~/wm_groups/v2/done3.txt