|
Download examples/quick_start.md from Tinghong-Ye22/code-Psi0-yth-v17: direct link, hf CLI and curl.
- Browser
- Download file 1.24 kB
-
https://huggingface.co/Tinghong-Ye22/code-Psi0-yth-v17/resolve/main/examples/quick_start.md
- Command line
-
hf download hf://Tinghong-Ye22/code-Psi0-yth-v17/examples/quick_start.md
-
curl -L -o quick_start.md https://huggingface.co/Tinghong-Ye22/code-Psi0-yth-v17/resolve/main/examples/quick_start.md
1.24 kB
Fully test everything on brand new env
- Install nix first via
sh <(curl --proto '=https' --tlsv1.2 -L https://nixos.org/nix/install) --daemon git clone git@github.com:songlin/psigit submodule update --init --recursive- pull git lfs for AMO
cd third_party/SIMPLE
git submodule foreach --recursive 'git lfs install --local || true'
git submodule foreach --recursive 'git lfs pull || true'
- go back to the psi dir,
nix developto enter dev shell - setup env
uv venv .venv-psi --python 3.10
source .venv-psi/bin/activate
GIT_LFS_SKIP_SMUDGE=1 uv sync --all-groups --index-strategy unsafe-best-match --active
cp .env.sample .env
- check training:
bash scripts/train/psi0/finetune-simple-psi0.sh G1WholebodyBendPick-v0-psi0 bend-pick - check deployment:
bash scripts/deploy/serve_psi0_simple.sh <ckpt_run_dir> <ckpt_steps> - check eval:
python examples/simple/simple_eval.py \
--run-dir <ckpt_run_dir> \
--ckpt-step 40000 \
--data-dir <data_dir, e.g. ./data/simple/G1WholebodyBendPick-v0-psi0> \
--env-id simple/G1WholebodyBendPick-v0 \
--num-episodes 1 \
--save-video
- check datagen in SIMPLE:
cd third_party/SIMPLE
./scripts/tests/check_datagen.sh