2023-04-07 16:52:08 - r - INFO: - Hyperparameters: 2023-04-07 16:52:08 - r - INFO: - ================================================================================ 2023-04-07 16:52:08 - r - INFO: - Name Value Type 2023-04-07 16:52:08 - r - INFO: - env_name CartPole-v1 2023-04-07 16:52:08 - r - INFO: - new_step_api 1 2023-04-07 16:52:08 - r - INFO: - wrapper None 2023-04-07 16:52:08 - r - INFO: - render 0 2023-04-07 16:52:08 - r - INFO: - render_mode human 2023-04-07 16:52:08 - r - INFO: - algo_name DuelingDQN 2023-04-07 16:52:08 - r - INFO: - mode test 2023-04-07 16:52:08 - r - INFO: - mp_backend ray 2023-04-07 16:52:08 - r - INFO: - seed 1 2023-04-07 16:52:08 - r - INFO: - device cpu 2023-04-07 16:52:08 - r - INFO: - train_eps 400 2023-04-07 16:52:08 - r - INFO: - test_eps 10 2023-04-07 16:52:08 - r - INFO: - eval_eps 10 2023-04-07 16:52:08 - r - INFO: - eval_per_episode 5 2023-04-07 16:52:08 - r - INFO: - max_steps 200 2023-04-07 16:52:08 - r - INFO: - load_checkpoint 1 2023-04-07 16:52:08 - r - INFO: - load_path Train_CartPole-v1_DuelingDQN_20230407-153236 2023-04-07 16:52:08 - r - INFO: - show_fig 0 2023-04-07 16:52:08 - r - INFO: - save_fig 1 2023-04-07 16:52:08 - r - INFO: - n_workers 1 2023-04-07 16:52:08 - r - INFO: - epsilon_start 0.95 2023-04-07 16:52:08 - r - INFO: - epsilon_end 0.01 2023-04-07 16:52:08 - r - INFO: - epsilon_decay 500 2023-04-07 16:52:08 - r - INFO: - gamma 0.99 2023-04-07 16:52:08 - r - INFO: - lr 0.0001 2023-04-07 16:52:08 - r - INFO: - buffer_size 100000 2023-04-07 16:52:08 - r - INFO: - batch_size 64 2023-04-07 16:52:08 - r - INFO: - target_update 4 2023-04-07 16:52:08 - r - INFO: - value_layers [{'layer_type': 'linear', 'layer_dim': ['n_states', 256], 'activation': 'relu'}, {'layer_type': 'linear', 'layer_dim': [256, 256], 'activation': 'relu'}, {'layer_type': 'linear', 'layer_dim': [256, 'n_actions'], 'activation': 'none'}] 2023-04-07 16:52:08 - r - INFO: - hidden_dim 256 2023-04-07 16:52:08 - r - INFO: - task_dir /media/disk/gsc/joyrl-offline/tasks/Test_CartPole-v1_DuelingDQN_20230407-165208 2023-04-07 16:52:08 - r - INFO: - res_dir /media/disk/gsc/joyrl-offline/tasks/Test_CartPole-v1_DuelingDQN_20230407-165208/results 2023-04-07 16:52:08 - r - INFO: - log_dir /media/disk/gsc/joyrl-offline/tasks/Test_CartPole-v1_DuelingDQN_20230407-165208/logs 2023-04-07 16:52:08 - r - INFO: - traj_dir /media/disk/gsc/joyrl-offline/tasks/Test_CartPole-v1_DuelingDQN_20230407-165208/traj 2023-04-07 16:52:08 - r - INFO: - video_dir /media/disk/gsc/joyrl-offline/tasks/Test_CartPole-v1_DuelingDQN_20230407-165208/videos 2023-04-07 16:52:08 - r - INFO: - ================================================================================ 2023-04-07 16:52:08 - r - INFO: - n_states: 4, n_actions: 2 2023-04-07 16:52:08 - r - INFO: - Start testing! 2023-04-07 16:52:08 - r - INFO: - Env: CartPole-v1, Algorithm: DuelingDQN, Device: cpu 2023-04-07 16:52:08 - r - INFO: - Episode: 1/10, Reward: 171.000, Step: 171 2023-04-07 16:52:08 - r - INFO: - Episode: 2/10, Reward: 185.000, Step: 185 2023-04-07 16:52:08 - r - INFO: - Episode: 3/10, Reward: 159.000, Step: 159 2023-04-07 16:52:08 - r - INFO: - Episode: 4/10, Reward: 155.000, Step: 155 2023-04-07 16:52:08 - r - INFO: - Episode: 5/10, Reward: 200.000, Step: 200 2023-04-07 16:52:08 - r - INFO: - Episode: 6/10, Reward: 120.000, Step: 120 2023-04-07 16:52:08 - r - INFO: - Episode: 7/10, Reward: 200.000, Step: 200 2023-04-07 16:52:08 - r - INFO: - Episode: 8/10, Reward: 187.000, Step: 187 2023-04-07 16:52:08 - r - INFO: - Episode: 9/10, Reward: 154.000, Step: 154 2023-04-07 16:52:08 - r - INFO: - Episode: 10/10, Reward: 200.000, Step: 200 2023-04-07 16:52:08 - r - INFO: - Finish testing!