Skip to content

Commit 5e9b0d5

Browse files
missing make_vec
1 parent 7b9f9a9 commit 5e9b0d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ import metaworld
9898

9999
seed = 42
100100

101-
envs = gym.make('Meta-World/MT50', vector_strategy='sync', seed=seed) # this returns a Synchronous Vector Environment with 50 environments
101+
envs = gym.make_vec('Meta-World/MT50', vector_strategy='sync', seed=seed) # this returns a Synchronous Vector Environment with 50 environments
102102

103103
obs, info = envs.reset() # reset all 50 environments
104104

@@ -108,7 +108,7 @@ obs, reward, truncate, terminate, info = envs.step(a) # step all 50 environments
108108
```
109109

110110
```python
111-
envs = gym.make('Meta-World/MT50', vector_strategy='async', seed=seed) # this returns an Asynchronous Vector Environment with 50 environments
111+
envs = gym.make_vec('Meta-World/MT50', vector_strategy='async', seed=seed) # this returns an Asynchronous Vector Environment with 50 environments
112112
```
113113

114114

0 commit comments

Comments
 (0)