Aufgrund eines Versionsupdates wird GitLab am 01.04. zwischen 9:00 und 9:30 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to a version upgrade, GitLab won't be accessible at 01.04. between 9:00 and 9:30 a.m.

TorcsDQN.cnnt 924 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
configuration TorcsDQN {
    context : cpu

    learning_method : reinforcement
    environment : ros_interface {
        state_topic : "preprocessor_state"
        terminal_state_topic : "prepocessor_is_terminal"
        action_topic : "postprocessor_action"
        reset_topic : "torcs_reset"
    }

    reward_function : torcs.agent.dqn.reward

    num_episodes : 20000
    discount_factor : 0.999
    num_max_steps : 999999999
    training_interval : 1

    use_fix_target_network : true
    target_network_update_interval : 500

    snapshot_interval : 1000

    use_double_dqn : true

    loss : euclidean

    replay_memory : buffer{
        memory_size : 1000000
        sample_size : 32
    }

    action_selection : epsgreedy{
        epsilon : 1.0
        min_epsilon : 0.01
        epsilon_decay_method: linear
        epsilon_decay : 0.0001
    }

    optimizer : rmsprop{
        learning_rate : 0.001
    }
}