Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.31 KB

README.md

File metadata and controls

44 lines (35 loc) · 1.31 KB

Low-Rank Modular Reinforcement Learning via Muscle Synergy

This repository is the official implementation of Low-Rank Modular Reinforcement Learning via Muscle Synergy.

Setup

pip install -r requirements.txt

Training

python main.py 
--custom_xml environments/humanoids 
--actor_type transformer 
--critic_type transformer 
--grad_clipping_value 0.1 
--attention_layers 3 
--attention_heads 2 
--lr 0.0001 
--transformer_norm 1 
--attention_hidden_size 256 
--condition_decoder 1
--label SOLAR
--save_buffer 1
--save_freq 100000
--start_timesteps 2000
--enable_synergy_obs 1\
--enable_synergy_act 1\
--synergy_action_dim 1\
--d_model 1\

We were using Sacred and WandB for experiment management. You can disable WandB by setting --enable_wandb 0.

To train other environments, change the --custom_xml to hoppers, walkers, walker_humanoids_hopper.

Acknowledgement