jamie33's picture
Restore mind3d_trellis2 (docs, code, results, renders, paper)
7c61ee6 verified
Raw History Blame Contribute Delete
635 Bytes
source /home/hubin/venvs/trellis/bin/activate
cd /home/hubin/trellis_work
O=outputs/cfg
for c in 3 12 20; do
d=$O/ridge_k64_rescaled_cfg$c; mkdir -p $d
ln -sf /home/hubin/trellis_work/outputs/ridge/ridge_k64_rescaled/tokens.npy $d/tokens.npy
for w in 0 1; do
CUDA_VISIBLE_DEVICES=$w python gen_from_tokens.py --variant_dirs $d --cfg $c --shard $w --num_shards 2 > $d/gen_w$w.log 2>&1 &
done
done
wait
for c in 3 12 20; do
d=$O/ridge_k64_rescaled_cfg$c
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 CFG_DONE