philtabor / Deep-Q-Learning-Paper-To-Code

MIT License
342 stars 145 forks source link

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

Open ghost opened 2 years ago

ghost commented 2 years ago

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.storetransition(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?