Skip to content

Commit

Permalink
Minor fixes to the install experience for the sim library (#115)
Browse files Browse the repository at this point in the history
* add issacgym folder to gitignore

* add missing pip requirements. onnxruntime>=1.19.2 is needed to read
examples/walking_pro.onnx

* temp patch for download assets. we need to host these files somewhere they can be downloaded via CLI

* revert commit "temp patch for download assets. we need to host these files somewhere they can be downloaded via CLI"

* helpful print statements

* add h5 ouput path as cmd arg w sensible defaults, and add timestamp to the h5 output filename

* Revert "add h5 ouput path as cmd arg w sensible defaults, and add timestamp to the h5 output filename"

This reverts commit 2c48d0b.

* add h5 file extension to gitignore

* ad exact version of each package
  • Loading branch information
alik-git authored Nov 20, 2024
1 parent 616e5fd commit cb11596
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ out*/
# Training artifacts
wandb/
runs/
isaacgym/
*.h5
30 changes: 25 additions & 5 deletions sim/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
# requirements-dev.txt

black
darglint
black==24.8.0
darglint==1.8.1
h5py==3.11.0
imageio==2.35.1
matplotlib==3.3.4
mediapy==1.2.2
mujoco==3.2.3
mujoco_python_viewer==0.1.4
numpy==1.24.4
onnx==1.15.0
onnxruntime==1.19.2
pandas==1.4.4
Pillow==11.0.0
poselib==2.0.4
pygame==2.6.1
python-dotenv==1.0.1
ruamel.base==1.0.0
scipy==1.14.1
setuptools==75.1.0
torch==2.4.1
tqdm==4.67.0
wandb==0.18.7
mypy==1.10.0
pytest
ruff
isort
pytest==8.3.3
ruff==0.7.4
isort==5.13.2
16 changes: 16 additions & 0 deletions sim/scripts/download_assets.sh
Original file line number Diff line number Diff line change
@@ -1,29 +1,45 @@
#!/bin/zsh

echo "If any of the downloads fail, you can manually download the assets and place them in the respective directories."

# Stompymini
echo
echo "Downloading Stompymini assets..."
gdown --id 1Ah92CTN63M2h4uKPLf8eXkX2H9Bg3Kji
unzip meshes.zip -d sim/resources/stompymini/
rm meshes.zip

# Stompypro
echo
echo "Downloading Stompypro assets..."
gdown --folder https://drive.google.com/drive/folders/1-iIqy8j4gF6JeuMc_MjxkRe4vSZl8Ozp -O sim/resources/stompypro/

# Xbot
echo
echo "Downloading Xbot assets..."
gdown --id 1tpl95OdUhg9VL88FhKWMReY4qtLHHKoh
tar -xzvf meshes.zip -C sim/resources/xbot/
rm meshes.zip

# Dora
echo
echo "Downloading Dora assets..."
gdown --folder https://drive.google.com/drive/folders/1tQiMtOwGg3PGo9AygX3sj6X_HBpnW2S_ -O sim/resources/dora/

# G1
echo
echo "Downloading G1 assets..."
gdown --folder https://drive.google.com/drive/folders/1OxYcIJpeih89NY5auRayxCXpndrRnLJx -O sim/resources/g1/

# H1_2
echo
echo "Downloading H1_2 assets..."
gdown --id 19ih7zG6Ky8xJVJD5M1th2hmqtxaNiZyh
tar -xzvf meshes.zip -C sim/resources/h1_2/
rm meshes.zip

# Stompymicro
echo
echo "Downloading Stompymicro assets..."
gdown --folder https://drive.google.com/drive/folders/1C_v0FKoc6um0tUK2f1e6cWXtfvuc-xsD -O sim/resources/stompymicro/

0 comments on commit cb11596

Please sign in to comment.