Skip to content

Commit f3ff5fa

Browse files
committed
update
1 parent 6cbf42d commit f3ff5fa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,10 @@ The simple use of the environment is shown as the following codes.
172172
state, global_state = env.reset()
173173
174174
for t in range(240):
175-
actions = agents.get_actions() # a vector involving all agents' actions
175+
actions = agents.get_actions(state) # a vector involving all agents' actions
176176
reward, done, info = env.step(actions)
177+
next_state = trainer.env.get_obs()
178+
state = next_state
177179
```
178180
179181
<br />

0 commit comments

Comments
 (0)