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?
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?