forked from muupan/dqn-in-the-caffe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pong.prototxt
71 lines (70 loc) · 1.03 KB
/
pong.prototxt
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
layers {
name: "frames_input_layer"
type: MEMORY_DATA
top: "frames"
memory_data_param {
batch_size: 10
channels: 1
height: 1
width: 640
}
}
layers {
name: "target_input_layer"
type: MEMORY_DATA
top: "target"
memory_data_param {
batch_size: 10
channels: 1
height: 1
width: 1
}
}
layers {
name: "ip1_layer"
type: INNER_PRODUCT
bottom: "frames"
top: "ip1"
inner_product_param {
num_output: 200
weight_filler {
type: "gaussian"
std: 0.01
}
}
}
layers {
name: "ip1_relu_layer"
type: RELU
bottom: "ip1"
top: "ip1"
relu_param {
negative_slope: 0.01
}
}
layers {
name: "ip2_layer"
type: INNER_PRODUCT
bottom: "ip1"
top: "log_p_values"
inner_product_param {
num_output: 1
weight_filler {
type: "gaussian"
std: 0.01
}
}
}
layer {
name: "sigmoid"
bottom: "log_p_values"
top: "p_value"
type: "Sigmoid"
}
layer {
name: "loss"
type: "SigmoidCrossEntropyLoss"
bottom: "log_p_values"
bottom: "target"
top: "loss"
}