File size: 835 Bytes
3a4b440 |
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 44 45 46 |
general_cfg:
algo_name: DQN
collect_traj: false
device: cpu
env_name: gym
load_checkpoint: false
load_model_step: best
load_path: Train_single_CartPole-v1_DQN_20230515-211721
max_episode: 150
max_step: 200
mode: train
model_save_fre: 500
mp_backend: ray
n_learners: 2
n_workers: 10
online_eval: true
online_eval_episode: 10
seed: 1
share_buffer: true
algo_cfg:
batch_size: 64
buffer_size: 100000
buffer_type: REPLAY_QUE
epsilon_decay: 500
epsilon_end: 0.01
epsilon_start: 0.95
gamma: 0.95
lr: 0.0001
target_update: 4
value_layers:
- activation: relu
layer_dim:
- 256
layer_type: linear
- activation: relu
layer_dim:
- 256
layer_type: linear
env_cfg:
id: CartPole-v1
ignore_params:
- wrapper
- ignore_params
render_mode: null
wrapper: null
|