Download mind3d_trellis2/code/mapper/scripts/run_cfg2.sh from jamie33/926: direct link, hf CLI and curl.
- Browser
- Download file 632 Bytes
-
https://huggingface.co/datasets/jamie33/926/resolve/main/mind3d_trellis2/code/mapper/scripts/run_cfg2.sh
- Command line
-
hf download hf://datasets/jamie33/926/mind3d_trellis2/code/mapper/scripts/run_cfg2.sh
-
curl -L -o run_cfg2.sh https://huggingface.co/datasets/jamie33/926/resolve/main/mind3d_trellis2/code/mapper/scripts/run_cfg2.sh
632 Bytes
| source /home/hubin/venvs/trellis/bin/activate | |
| cd /home/hubin/trellis_work | |
| O=outputs/cfg | |
| for c in 30 50; 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 30 50; 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 CFG2_DONE | |