Download misc/fix_envs7.sh from AIGeeksGroup/PhysicalWM: direct link, hf CLI and curl.
- Browser
- Download file 2.41 kB
-
https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/misc/fix_envs7.sh
- Command line
-
hf download hf://datasets/AIGeeksGroup/PhysicalWM/misc/fix_envs7.sh
-
curl -L -o fix_envs7.sh https://huggingface.co/datasets/AIGeeksGroup/PhysicalWM/resolve/main/misc/fix_envs7.sh
2.41 kB
| set -uo pipefail | |
| source ~/miniconda3/etc/profile.d/conda.sh | |
| export TMPDIR=$HOME/jiayin/tmp PIP_CACHE_DIR=$HOME/jiayin/pipcache | |
| T=$HOME/jiayin/tmp/ovow_exts | |
| 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 pybind11 | |
| pip install kaolin==0.18.0 -f https://nvidia-kaolin.s3.us-east-2.amazonaws.com/torch-2.4.1_cu121.html && echo KAOLIN_OK | |
| pip install --no-deps pytorch3d -f https://dl.fbaipublicfiles.com/pytorch3d/packaging/wheels/py311_cu121_pyt241/download.html && echo P3D_OK || pip install --no-build-isolation git+https://github.com/facebookresearch/pytorch3d.git | |
| pip install --no-build-isolation git+https://github.com/JeffreyXiang/diffoctreerast.git && echo DOR_OK | |
| pip install --no-build-isolation git+https://github.com/EasternJournalist/utils3d.git | |
| [ -d $T/mip-splatting ] || git clone https://github.com/autonomousvision/mip-splatting.git $T/mip-splatting | |
| pip install --no-build-isolation $T/mip-splatting/submodules/diff-gaussian-rasterization/ && echo DGR_OK | |
| pip install --no-build-isolation $T/mip-splatting/submodules/simple-knn/ && echo SK_OK | |
| for p in Amodal3R fpose fpose/fpose/bundlesdf/mycuda SpaTrackerV2 trellis DA3 SAM2-in-video; do pip install -e engine/oneposeviagen/$p --no-build-isolation || echo FAIL_$p; done | |
| pip install flash-attn --no-build-isolation || echo FAIL_flashattn | |
| pip install --no-build-isolation git+https://github.com/JeffreyXiang/CuMesh.git || echo FAIL_cumesh | |
| [ -d $T/nvdiffrec ] || git clone -b renderutils https://github.com/JeffreyXiang/nvdiffrec.git $T/nvdiffrec | |
| pip install --no-build-isolation $T/nvdiffrec || echo FAIL_nvdiffrec | |
| pip install --no-build-isolation -e engine/oneposeviagen/TRELLIS2/o-voxel || echo FAIL_ovoxel | |
| 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 pybind11 | |
| pip show mesh_processor >/dev/null 2>&1 || pip install -e third_party/Motion324/scripts/hy3dgen/texgen/differentiable_renderer --no-build-isolation && echo DR_OK | |
| pip show custom_rasterizer >/dev/null 2>&1 || pip install -e third_party/Motion324/scripts/hy3dgen/texgen/custom_rasterizer --no-build-isolation && echo RASTER_OK | |
| conda deactivate | |
| echo SEVEN_DONE | |