Datasets:
Download codes/reconstruction/setup_environment.sh from shuinb/SP-TransientBench: direct link, hf CLI and curl.
- Browser
- Download file 569 Bytes
-
https://huggingface.co/datasets/shuinb/SP-TransientBench/resolve/main/codes/reconstruction/setup_environment.sh
- Command line
-
hf download hf://datasets/shuinb/SP-TransientBench/codes/reconstruction/setup_environment.sh
-
curl -L -o setup_environment.sh https://huggingface.co/datasets/shuinb/SP-TransientBench/resolve/main/codes/reconstruction/setup_environment.sh
569 Bytes
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| python3.12 -m venv experiments/.venv | |
| source experiments/.venv/bin/activate | |
| pip install --upgrade pip setuptools wheel | |
| pip install torch==2.9.1 torchvision==0.24.1 torchaudio==2.9.1 --index-url https://download.pytorch.org/whl/cu128 | |
| pip install -r requirements-reproduction.txt | |
| pip install torch-scatter==2.1.2 --no-build-isolation --no-binary torch-scatter | |
| tar -xzf dependencies/tiny-cuda-nn.tar.gz -C dependencies | |
| pip install ./dependencies/tiny-cuda-nn/bindings/torch --no-build-isolation | |
| python relocate.py | |