Skip to content

Commit

Permalink
Added dependencies-fix instruction (#74)
Browse files Browse the repository at this point in the history
* Added dependencies-fix instruction

* Added requirements

* Removed no longer needed manual dep install

* Added cuda-nvrtc line to install-third-party-external from and removed from readme

* Ran `make format` for black formatting
  • Loading branch information
henri123lemoine authored Sep 21, 2024
1 parent 2f4a8de commit dab6fd8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ install-third-party:
@cd third_party/isaacgym/python/ && pip install --verbose -e .

install-third-party-external:
@conda install -y nvidia/label/cuda-12.0.0::cuda-nvrtc
@cd ${ISAACGYM_PATH}/python/ && pip install --verbose -e .

build-ext:
Expand Down
2 changes: 1 addition & 1 deletion sim/algo/ppo/on_policy_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
from typing import Callable, Optional

import torch
import wandb
from torch.utils.tensorboard import SummaryWriter

import wandb
from sim.algo.ppo.actor_critic import ActorCritic
from sim.algo.ppo.ppo import PPO
from sim.algo.vec_env import VecEnv
Expand Down
1 change: 0 additions & 1 deletion sim/envs/humanoids/stompymini_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class asset(LeggedRobotCfg.asset):
name = "stompymini"
file = str(robot_urdf_path(name))


foot_name = ["RS_01_Stator", "RS_01_Stator_2"]
knee_name = ["RS_04_Rotor_7", "RS_04_Rotor_8"]

Expand Down
1 change: 0 additions & 1 deletion sim/envs/humanoids/xbot_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ class asset(LeggedRobotCfg.asset):
name = "xbot"
file = str(robot_urdf_path(name))


foot_name = "ankle_roll"
knee_name = "knee"

Expand Down
6 changes: 5 additions & 1 deletion sim/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,8 @@ mediapy
torch
python-dotenv
h5py
gdown
gdown
matplotlib==3.3.4
numpy==1.19.5
wandb
tensorboard

0 comments on commit dab6fd8

Please sign in to comment.