This is the official code for the paper "Semi-Autonomous Arm-Hand Teleoperation with Grasping Assistance", which introduces a two-stage teleoperation framework for increasing operational efficiency.
-
Download and install Isaac Gym Preview 4 from NVIDIA's website
-
Verify Isaac Gym installation:
cd isaac-gym/python/examples
python joint_monkey.py
- Clone and install this repository:
git clone https://github.com/lei00764/GALAG-DexHand
cd GALAG-DexHand
pip install -e .
python DexHandEnv/train.py task=DexCube num_envs=4096 headless=True
num_envs
: Number of parallel environments (default: 4096)headless
: Run without visualization for faster training
To test a trained model:
python DexHandEnv/train.py task=DexCube test=True num_envs=1 checkpoint=$(find $(ls -td runs/DexCube_* | head -n 1) -name "DexCube.pth")
The environment and training parameters can be customized through config files:
- Environment config:
DexHandEnv/config/task/DexCube.yaml
- Training config:
DexHandEnv/config/train/DexCubePPO.yaml
To capture training videos:
python DexHandEnv/train.py task=DexCube capture_video=True capture_video_freq=1500 capture_video_len=100
For distributed training across multiple GPUs:
torchrun --standalone --nnodes=1 --nproc_per_node=2 DexHandEnv/train.py multi_gpu=True task=DexCube
This work builds upon the Isaac Gym framework developed by NVIDIA.
If you have any questions, please contact Xiang Lei at [email protected].