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

How to set frame per second to accelerate the learning? #209

Closed
GoingMyWay opened this issue Jun 22, 2017 · 4 comments
Closed

How to set frame per second to accelerate the learning? #209

GoingMyWay opened this issue Jun 22, 2017 · 4 comments
Labels

Comments

@GoingMyWay
Copy link

GoingMyWay commented Jun 22, 2017

Hi, I don't know if the question has been asked. How can I set the frame per second? Are any APIs provided in ViZDoom?

I found fps.py in examples, however there is no code on this issue. Thank you!

@mihahauke
Copy link
Collaborator

set_ticrate

@mwydmuch
Copy link
Member

For clarity: set_ticrate allows to speed up or slow down game in ASYNC modes (see ticrate.py example), because Doom's logic is tic depended, so there is no way to change framerate without affecting ingame time (only possibility is to skip frames and interpolate actions - skip argument in make_action is responsible for this).

@mihahauke
Copy link
Collaborator

I assumed that it was obvious would make no sense in SYNC mode.

@mwydmuch
Copy link
Member

mwydmuch commented Jul 5, 2017

We've improved performance with Python's threading, so now the A3C-like methods should learn faster.

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

No branches or pull requests

3 participants