-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
313 additions
and
237 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,4 @@ numpy==1.21.6 | |
open3d | ||
kinpy | ||
transformers | ||
astroid<3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,153 @@ | ||
Reinforcement learning class | ||
----------------------------- | ||
|
||
The following are examples of reinforcement learning methods for robot learning. | ||
The following are examples of reinforcement learning methods for robot learning. | ||
|
||
.. tabs:: | ||
|
||
|
||
.. tab:: OpenAI Gym | ||
|
||
.. tabs:: | ||
|
||
.. tab:: Pendulum | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
python examples/learning_rl/example_GymTasks_RofuncRL.py --task=Gym_Pendulum-v1 --agent=[ppo|a2c|td3|sac] | ||
.. tab:: CartPole | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
python examples/learning_rl/example_GymTasks_RofuncRL.py --task=Gym_CartPole-v1 --agent=[ppo|a2c|td3|sac] | ||
.. tab:: Acrobot | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
python examples/learning_rl/example_GymTasks_RofuncRL.py --task=Gym_Acrobot-v1 --agent=[ppo|a2c|td3|sac] | ||
.. tab:: IsaacGym | ||
|
||
.. tabs:: | ||
|
||
.. tab:: Ant | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
python examples/learning_rl/example_Ant_RofuncRL.py --agent=[ppo|a2c|td3|sac] | ||
'''Inference with pre-trained model in model zoo''' | ||
python examples/learning_rl/example_Ant_RofuncRL.py --agent=ppo --inference | ||
.. tab:: CURICabinet | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
python examples/learning_rl/example_CURICabinet_RofuncRL.py --agent=ppo | ||
'''Inference with pre-trained model in model zoo''' | ||
python examples/learning_rl/example_CURICabinet_RofuncRL.py --agent=ppo --inference | ||
.. tab:: D4RL | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
# Hopper | ||
python examples/learning_rl/example_D4RL_RofuncRL.py --task=Hopper --agent=dtrans | ||
# Walker2d | ||
python examples/learning_rl/example_D4RL_RofuncRL.py --task=Walker2d --agent=dtrans | ||
# HalfCheetah | ||
python examples/learning_rl/example_D4RL_RofuncRL.py --task=HalfCheetah --agent=dtrans | ||
# Reacher2d | ||
python examples/learning_rl/example_D4RL_RofuncRL.py --task=Reacher2d --agent=dtrans | ||
.. tab:: FrankaCabinet | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
python examples/learning_rl/example_FrankaCabinet_RofuncRL.py --agent=ppo | ||
'''Inference with pre-trained model in model zoo''' | ||
python examples/learning_rl/example_FrankaCabinet_RofuncRL.py --agent=ppo --inference | ||
.. tab:: Humanoid | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
python examples/learning_rl/example_Humanoid_RofuncRL.py --agent=ppo | ||
'''Inference with pre-trained model in model zoo''' | ||
python examples/learning_rl/example_Humanoid_RofuncRL.py --agent=ppo --inference | ||
.. tab:: HumanoidAMP | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
# Backflip | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_backflip --agent=amp | ||
# Walk | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_walk --agent=amp | ||
# Run | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_run --agent=amp | ||
# Dance | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_dance --agent=amp | ||
# Hop | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_hop --agent=amp | ||
'''Inference with pre-trained model in model zoo''' | ||
# Backflip | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_backflip --agent=amp --inference | ||
# Walk | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_walk --agent=amp --inference | ||
# Run | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_run --agent=amp --inference | ||
# Dance | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_dance --agent=amp --inference | ||
# Hop | ||
python examples/learning_rl/example_HumanoidAMP_RofuncRL.py --task=HumanoidAMP_hop --agent=amp --inference | ||
.. tab:: HumanoidASE | ||
|
||
.. code-block:: shell | ||
'''Training''' | ||
# Getup | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEGetupSwordShield --agent=ase | ||
# Getup with perturbation | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEPerturbSwordShield --agent=ase | ||
# Heading | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEHeadingSwordShield --agent=ase | ||
# Reach | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEReachSwordShield --agent=ase | ||
# Location | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASELocationSwordShield --agent=ase | ||
# Strike | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEStrikeSwordShield --agent=ase | ||
'''Inference with pre-trained model in model zoo''' | ||
# Getup | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEGetupSwordShield --agent=ase --inference | ||
# Getup with perturbation | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEPerturbSwordShield --agent=ase --inference | ||
# Heading | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEHeadingSwordShield --agent=ase --inference | ||
# Reach | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEReachSwordShield --agent=ase --inference | ||
# Location | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASELocationSwordShield --agent=ase --inference | ||
# Strike | ||
python examples/learning_rl/example_HumanoidASE_RofuncRL.py --task=HumanoidASEStrikeSwordShield --agent=ase --inference | ||
.. tab:: OmniIsaacGym |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
""" | ||
Ant (RofuncRL) | ||
AntOmni (RofuncRL) | ||
=========================== | ||
Ant RL using RofuncRL | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.