Пример #1
0
 def make_dqn_agent(self, env, q_func, opt, explorer, rbuf, gpu):
     return PAL(q_func,
                opt,
                rbuf,
                gpu=gpu,
                gamma=0.9,
                explorer=explorer,
                replay_start_size=100,
                target_update_interval=100)
Пример #2
0
 def make_dqn_agent(self, env, q_func, opt, explorer, rbuf, gpu):
     return PAL(
         q_func, opt, rbuf, gpu=gpu, gamma=0.9, explorer=explorer,
         replay_start_size=100, target_update_frequency=100,
         episodic_update=True)