-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathParameters.py
More file actions
44 lines (36 loc) · 812 Bytes
/
Copy pathParameters.py
File metadata and controls
44 lines (36 loc) · 812 Bytes
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
# This is parameter setting for all deep learning algorithms
import sys
# Import games
sys.path.append("DQN_GAMES/")
# Action Num
import pong
import dot
import dot_test
import tetris
import wormy
import breakout as game
import dodge
Gamma = 0.99
Learning_rate = 0.00025
Epsilon = 1
Final_epsilon = 0.1
Num_action = game.Return_Num_Action()
Num_replay_memory = 100000
Num_start_training = 50000
Num_training = 500000
Num_update = Num_training/100
Num_batch = 32
Num_test = 250000
Num_skipFrame = 4
Num_stackFrame = 4
Num_colorChannel = 1
Num_plot_episode = 50
GPU_fraction = 0.3
Is_train = True
Load_path = ''
img_size = 80
first_conv = [8,8,Num_colorChannel * Num_stackFrame,32]
second_conv = [4,4,32,64]
third_conv = [3,3,64,64]
first_dense = [10*10*64, 512]
second_dense = [512, Num_action]