Download misc/fix_envs5.sh from AIGeeksGroup/PhysicalWM: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/misc/fix_envs5.sh
- Command line
-
hf download hf://datasets/AIGeeksGroup/PhysicalWM/misc/fix_envs5.sh
-
curl -L -o fix_envs5.sh https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/misc/fix_envs5.sh
1.18 kB
| set -uo pipefail | |
| source ~/miniconda3/etc/profile.d/conda.sh | |
| export TMPDIR=$HOME/jiayin/tmp PIP_CACHE_DIR=$HOME/jiayin/pipcache | |
| export CCPLUG=1 | |
| CUDA_CCCL=$HOME/jiayin/cuda121/targets/x86_64-linux/include/cccl | |
| cd ~/jiayin/OVOW | |
| echo '=== opg ===' | |
| conda activate ovow-opg | |
| export CUDA_HOME=$HOME/jiayin/cuda121 PATH=$HOME/jiayin/cuda121/bin:$PATH CPATH=$HOME/jiayin/cuda121/include:${CPATH:-} | |
| pip install ninja | |
| pip install diso --no-build-isolation && echo DISO_OK | |
| pip install -r environment/requirements-opg.txt | |
| bash environment/build_cuda_exts.sh | |
| for p in Amodal3R fpose fpose/fpose/bundlesdf/mycuda SpaTrackerV2 trellis DA3 SAM2-in-video; do pip install -e engine/oneposeviagen/$p; done | |
| conda deactivate | |
| echo '=== motion ===' | |
| conda activate ovow-motion | |
| export CUDA_HOME=$HOME/jiayin/cuda124 PATH=$HOME/jiayin/cuda124/bin:$PATH CPATH=$HOME/jiayin/cuda124/include:${CPATH:-} | |
| pip install ninja | |
| pip install diso --no-build-isolation 2>&1 | tail -1 | |
| pip install -e third_party/Motion324/scripts/hy3dgen/texgen/custom_rasterizer --no-build-isolation && echo RASTER_OK | |
| pip install -r $HOME/jiayin/tmp/req-motion-nm.txt 2>&1 | tail -3 | |
| conda deactivate | |
| echo DONE_ALL | |