Skip to content

Added random seed method#4

Open
xffxff wants to merge 3 commits intograntsrb:masterfrom
xffxff:master
Open

Added random seed method#4
xffxff wants to merge 3 commits intograntsrb:masterfrom
xffxff:master

Conversation

@xffxff
Copy link

@xffxff xffxff commented Jan 10, 2019

I found that you have not implemented this method yet, so I can't create a multiprocess vectorized wrapper for multiple environments. Then I added the seed method and it works.

@xffxff xffxff closed this Jan 10, 2019
@xffxff xffxff reopened this Jan 10, 2019
@xffxff
Copy link
Author

xffxff commented Jan 10, 2019

I found that the termination signal is one step late.
image
If I run env.step(2) to let the agent go one step down, it should have got reward -1 and done=True, but termination signal is not True.
deepinscreenshot_select-area_20190110201230

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

Successfully merging this pull request may close these issues.

2 participants