Exemple #1
0
 def test_evaluate_pong_random_agent(self):
     hparams = registry.hparams("rlmb_tiny")
     temp_dir = tf.test.get_temp_dir()
     evaluator.evaluate(hparams,
                        temp_dir,
                        temp_dir,
                        agent_type="random",
                        eval_with_learner=False)
 def test_evaluate_pong_random_agent(self):
   loop_hparams = registry.hparams("rlmb_tiny")
   planner_hparams = registry.hparams("planner_tiny")
   temp_dir = tf.test.get_temp_dir()
   evaluator.evaluate(
       loop_hparams, planner_hparams, temp_dir, temp_dir, temp_dir,
       agent_type="random", eval_with_learner=False, log_every_steps=None
   )