Skip to content

Commit

Permalink
Merge branch 'master' of github.com:ccnmaastricht/dexterous-robot-hand
Browse files Browse the repository at this point in the history
  • Loading branch information
weidler committed Mar 25, 2023
2 parents 71813c8 + 54648f6 commit 77f4a83
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ from angorapy.common.wrappers import make_env
from angorapy.models import get_model_builder
from angorapy.agent.ppo_agent import PPOAgent

env = make_env("LunarLanderContinuous-v2")
model_builder = get_model_builder("simple", "ffn")
agent = PPOAgent(model_builder, env)
agent.drill(100, 10, 512)
env = make_env("ReachAbsolute-v0")
model_builder = get_model_builder("shadow", "lstm")
agent = PPOAgent(model_builder, env, workers=24)
agent.drill(n=100, epochs=10, batch_size=512)
```

For more details, consult the [examples](examples).
Expand Down

0 comments on commit 77f4a83

Please sign in to comment.