File size: 4,577 Bytes
62e03a2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
2023-04-07 15:32:36 - r - INFO: - Hyperparameters:
2023-04-07 15:32:36 - r - INFO: - ================================================================================
2023-04-07 15:32:36 - r - INFO: -         Name        	       Value        	        Type        
2023-04-07 15:32:36 - r - INFO: -       env_name      	    CartPole-v1     	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -     new_step_api    	         1          	   <class 'bool'>   
2023-04-07 15:32:36 - r - INFO: -       wrapper       	        None        	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -        render       	         0          	   <class 'bool'>   
2023-04-07 15:32:36 - r - INFO: -     render_mode     	       human        	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -      algo_name      	     DuelingDQN     	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -         mode        	       train        	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -      mp_backend     	        ray         	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -         seed        	         1          	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -        device       	        cpu         	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -      train_eps      	        400         	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -       test_eps      	         10         	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -       eval_eps      	         10         	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -   eval_per_episode  	         5          	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -      max_steps      	        200         	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -   load_checkpoint   	         0          	   <class 'bool'>   
2023-04-07 15:32:36 - r - INFO: -      load_path      	Train_CartPole-v1_DQN_20221026-054757	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -       show_fig      	         0          	   <class 'bool'>   
2023-04-07 15:32:36 - r - INFO: -       save_fig      	         1          	   <class 'bool'>   
2023-04-07 15:32:36 - r - INFO: -      n_workers      	         2          	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -    epsilon_start    	        0.95        	  <class 'float'>   
2023-04-07 15:32:36 - r - INFO: -     epsilon_end     	        0.01        	  <class 'float'>   
2023-04-07 15:32:36 - r - INFO: -    epsilon_decay    	        500         	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -        gamma        	        0.99        	  <class 'float'>   
2023-04-07 15:32:36 - r - INFO: -          lr         	       0.0001       	  <class 'float'>   
2023-04-07 15:32:36 - r - INFO: -     buffer_size     	       100000       	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -      batch_size     	         64         	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -    target_update    	         4          	   <class 'int'>    
2023-04-07 15:32:36 - 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'}]	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -      hidden_dim     	        256         	   <class 'int'>    
2023-04-07 15:32:36 - r - INFO: -       task_dir      	/media/disk/gsc/joyrl-offline/tasks/Train_CartPole-v1_DuelingDQN_20230407-153236	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -       res_dir       	/media/disk/gsc/joyrl-offline/tasks/Train_CartPole-v1_DuelingDQN_20230407-153236/results	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -       log_dir       	/media/disk/gsc/joyrl-offline/tasks/Train_CartPole-v1_DuelingDQN_20230407-153236/logs	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -       traj_dir      	/media/disk/gsc/joyrl-offline/tasks/Train_CartPole-v1_DuelingDQN_20230407-153236/traj	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: -      video_dir      	/media/disk/gsc/joyrl-offline/tasks/Train_CartPole-v1_DuelingDQN_20230407-153236/videos	   <class 'str'>    
2023-04-07 15:32:36 - r - INFO: - ================================================================================
2023-04-07 15:32:39 - r - INFO: - n_states: 4, n_actions: 2
2023-04-07 15:32:39 - r - INFO: - Start training!
2023-04-07 15:32:39 - r - INFO: - Env: CartPole-v1, Algorithm: DuelingDQN, Device: cpu
2023-04-07 15:40:31 - r - INFO: - Finish training!