def test_basic_rl_graph_manager_with_cartpole_dqn():
    tf.reset_default_graph()
    from rl_coach.presets.CartPole_DQN import graph_manager
    assert graph_manager
    graph_manager.create_graph(
        task_parameters=TaskParameters(framework_type=Frameworks.tensorflow,
                                       experiment_path="./experiments/test"))
def test_basic_rl_graph_manager_with_lab_acer():
    tf.reset_default_graph()
    from rl_coach.presets.Lab_nav_maze_static_01_ACER import graph_manager
    assert graph_manager
    graph_manager.create_graph(
        task_parameters=TaskParameters(framework_type=Frameworks.tensorflow,
                                       experiment_path="./experiments/test"))
示例#3
0
def test_basic_rl_graph_manager_with_pong_nec():
    tf.reset_default_graph()
    from rl_coach.presets.Atari_NEC import graph_manager
    assert graph_manager
    graph_manager.env_params.level = "PongDeterministic-v4"
    graph_manager.create_graph(task_parameters=TaskParameters(
        framework_type="tensorflow", experiment_path="./experiments/test"))
def test_basic_rl_graph_manager_with_cartpole_dqn_and_repeated_checkpoint_restore(
):
    tf.reset_default_graph()
    from rl_coach.presets.CartPole_DQN import graph_manager
    assert graph_manager
    graph_manager.create_graph(
        task_parameters=TaskParameters(framework_type=Frameworks.tensorflow,
                                       experiment_path="./experiments/test",
                                       apply_stop_condition=True))