Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

回合结束后没有reset环境 #2

Open
HaoooWang opened this issue Apr 17, 2022 · 2 comments
Open

回合结束后没有reset环境 #2

HaoooWang opened this issue Apr 17, 2022 · 2 comments

Comments

@HaoooWang
Copy link

RT,runner在训练的时候,如果环境给出了done,runner没有进行reset,在某些环境中可能会导致不收敛

@Dash1234-2
Copy link

RT,runner在训练的时候,如果环境给出了done,runner没有进行reset,在某些环境中可能会导致不收敛
你好,请问这个reset加在哪里呀,能详细说明下吗

@k-of-w
Copy link

k-of-w commented Oct 7, 2023

在env_runner.py中的这行obs, rewards, dones, infos = self.envs.step(actions_env),里面会对done=True时进行reset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants