File size: 461 Bytes
7c61ee6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | source /home/hubin/venvs/trellis/bin/activate
cd /home/hubin/trellis_work
D=$(ls -d outputs/clsfirst/*/)
for w in 0 1 2 3; do
CUDA_VISIBLE_DEVICES=$((w%2)) python gen_from_tokens.py --variant_dirs $D --shard $w --num_shards 4 > outputs/clsfirst/gen_w$w.log 2>&1 &
done
wait
for d in $D; do
OMP_NUM_THREADS=8 OPENBLAS_NUM_THREADS=8 MKL_NUM_THREADS=8 python eval_shape.py --gen_dir $d/meshes --out $d/metrics.json > $d/eval.log 2>&1 &
done
wait
echo CLS_DONE
|