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 can i change the fps when training,not only when testing? #12

Open
ouyangzhuzhu opened this issue Aug 7, 2018 · 1 comment
Open

Comments

@ouyangzhuzhu
Copy link

hI~,all:
WHEN testing ,we can set the fps by [--fps FRAMERATE] in command line,
but now i want to change the fps when training, how ?
I tried modify the vizdoom_wrapper.py and change the fps from 35 to 1000 and then modify the common_defaults.yml by changing from "display:false" to "display:true", so i can observe when training, but i can not see the image go any faster from my eyes....can u help me? Did i do the wrong modify? what can i do....3ks ,friends~~

def init(self,
config_file,
frameskip=4,
display=False,
vizdoom_async_mode=False,
smooth_display=False,
fps=35,
change to:
def init(self,
config_file,
frameskip=4,
display=False,
vizdoom_async_mode=False,
smooth_display=False,
fps=1000,

@ouyangzhuzhu
Copy link
Author

and i found that if change the threads_num in a3c_defaults.yml smaller, the image will go quiker when training, this is why?

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

1 participant