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

what if i set load_check point to true from argparser #15

Open
ghost opened this issue Feb 12, 2022 · 0 comments
Open

what if i set load_check point to true from argparser #15

ghost opened this issue Feb 12, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 12, 2022

If i set the value of load_checkpoint to True from argparser, how would the if statement work in line 95 of main.py?
if not args.load_checkpoint:
agent.store_transition(observation, action, reward, observation_, int(done))
agent.learn()
I think the agent wont be able to store the (state, action, reward, state_, done) in replay buffer and the agent wont learn either, won't it?

@ghost ghost changed the title In argument parser; load_checkpoint what if i set load_check point to true from argparser Feb 12, 2022
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

0 participants