File size: 5,737 Bytes
ccb908b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
47
48
49
50
51
52
53
54
55
56
2023-05-16 11:53:05 - SimpleLog - INFO: - General Configs:
2023-05-16 11:53:05 - SimpleLog - INFO: - ================================================================================
2023-05-16 11:53:05 - SimpleLog - INFO: -         Name        	       Value        	        Type        
2023-05-16 11:53:05 - SimpleLog - INFO: -       env_name      	        gym         	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -      algo_name      	     DoubleDQN      	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -         mode        	        test        	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -        device       	        cpu         	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -         seed        	         1          	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -     max_episode     	         10         	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -       max_step      	        200         	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -     collect_traj    	         0          	   <class 'bool'>   
2023-05-16 11:53:05 - SimpleLog - INFO: -      mp_backend     	       single       	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -      n_workers      	         2          	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -     online_eval     	         1          	   <class 'bool'>   
2023-05-16 11:53:05 - SimpleLog - INFO: - online_eval_episode 	         10         	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -    model_save_fre   	        500         	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -   load_checkpoint   	         1          	   <class 'bool'>   
2023-05-16 11:53:05 - SimpleLog - INFO: -      load_path      	Train_single_CartPole-v1_DoubleDQN_20230516-114540	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -   load_model_step   	        best        	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: - ================================================================================
2023-05-16 11:53:05 - SimpleLog - INFO: - Algo Configs:
2023-05-16 11:53:05 - SimpleLog - INFO: - ================================================================================
2023-05-16 11:53:05 - SimpleLog - INFO: -         Name        	       Value        	        Type        
2023-05-16 11:53:05 - SimpleLog - INFO: -    epsilon_start    	        0.95        	  <class 'float'>   
2023-05-16 11:53:05 - SimpleLog - INFO: -     epsilon_end     	        0.01        	  <class 'float'>   
2023-05-16 11:53:05 - SimpleLog - INFO: -    epsilon_decay    	        500         	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -        gamma        	        0.99        	  <class 'float'>   
2023-05-16 11:53:05 - SimpleLog - INFO: -          lr         	       0.0001       	  <class 'float'>   
2023-05-16 11:53:05 - SimpleLog - INFO: -     buffer_size     	       100000       	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -      batch_size     	         64         	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -    target_update    	         4          	   <class 'int'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -     value_layers    	[{'layer_type': 'linear', 'layer_dim': [256], 'activation': 'relu'}, {'layer_type': 'linear', 'layer_dim': [256], 'activation': 'relu'}]	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -     buffer_type     	     REPLAY_QUE     	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: - ================================================================================
2023-05-16 11:53:05 - SimpleLog - INFO: - Env Configs:
2023-05-16 11:53:05 - SimpleLog - INFO: - ================================================================================
2023-05-16 11:53:05 - SimpleLog - INFO: -         Name        	       Value        	        Type        
2023-05-16 11:53:05 - SimpleLog - INFO: -          id         	    CartPole-v1     	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -     render_mode     	        None        	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -       wrapper       	        None        	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: -    ignore_params    	['wrapper', 'ignore_params']	   <class 'str'>    
2023-05-16 11:53:05 - SimpleLog - INFO: - ================================================================================
2023-05-16 11:53:05 - SimpleLog - INFO: - obs_space: Box([-4.8000002e+00 -3.4028235e+38 -4.1887903e-01 -3.4028235e+38], [4.8000002e+00 3.4028235e+38 4.1887903e-01 3.4028235e+38], (4,), float32), n_actions: Discrete(2)
2023-05-16 11:53:05 - SimpleLog - INFO: - Start testing!
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 0, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 1, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 2, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 3, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 4, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 5, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 6, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 7, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 8, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - episode: 9, ep_reward: 200.0, ep_step: 200
2023-05-16 11:53:05 - SimpleLog - INFO: - Finish testing! total time consumed: 0.24s