Skip to content

Commit

Permalink
📝 Fix README example envnames
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisFederico committed Jun 22, 2024
1 parent d7b0f4b commit e81a925
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 @@ -147,13 +147,13 @@ while not done:

```python
# Other examples of HierarchyCraft environments
from hcraft.examples import TowerHcraft, RecursiveHcraft, RandomHcraft
from hcraft.examples import TowerHcraftEnv, RecursiveHcraftEnv, RandomHcraftEnv

tower_env = TowerHcraft(height=3, width=2)
tower_env = TowerHcraftEnv(height=3, width=2)
# or tower_env = gym.make("TowerHcraft-v1", height=3, width=2)
recursive_env = RecursiveHcraft(n_items=6)
recursive_env = RecursiveHcraftEnv(n_items=6)
# or recursive_env = gym.make("RecursiveHcraft-v1", n_items=6)
random_env = RandomHcraft(n_items_per_n_inputs={0:2, 1:5, 2:10}, seed=42)
random_env = RandomHcraftEnv(n_items_per_n_inputs={0:2, 1:5, 2:10}, seed=42)
# or random_env = gym.make("RandomHcraft-v1", n_items_per_n_inputs={0:2, 1:5, 2:10}, seed=42)
```
<!-- Run MineHcraft with MaskablePPO from sb3 agent [code] -->
Expand Down

0 comments on commit e81a925

Please sign in to comment.