926 / mind3d_trellis2 /code /mapper /scripts /run_clsfirst_gen.sh
jamie33's picture
Restore mind3d_trellis2 (docs, code, results, renders, paper)
7c61ee6 verified
Raw History Blame Contribute Delete
461 Bytes
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