File size: 496 Bytes
dc07ea5 | 1 2 3 4 5 6 7 8 9 10 11 | #!/bin/bash
# L2 official-blood sweep, dual shard; grid_density=256 (certified: reproduces released data to 0.00-0.02%/particle)
cd /home/qiuyid/neurok/experiments/idea1/design4
S=$1; GPU=$2
for i in $(seq 1 40); do
grep -aq "SWEEP DONE" sweep_l2m0_s$S.log 2>/dev/null && break
PYTHONPATH=/dev/shm/genesis_dataset CUDA_VISIBLE_DEVICES=$GPU $HOME/miniconda3/envs/neurok/bin/python -u gen_masiv_official.py SWEEP 0 $S 30 >> sweep_l2m0_s$S.log 2>&1
sleep 5
done
echo "SWEEP shard$S LOOP DONE"
|