代码详解:轻巧!低廉!为自动驾驶汽车实施端到端学习( 七 )


)

\n

b_conv4 = bias_variable([64
)

\n \n

h_conv4 = tf.nn.relu(conv2d(h_conv3 W_conv4 1) + b_conv4)

\n \n

#fifth convolutional layer

\n

W_conv5 = weight_variable([3 3 64 64
)

\n

b_conv5 = bias_variable([64
)

\n \n

h_conv5 = tf.nn.relu(conv2d(h_conv4 W_conv5 1) + b_conv5)

\n \n

#FCL 1

\n

W_fc1 = weight_variable([1152 1164
)

\n

b_fc1 = bias_variable([1164
)

\n \n

h_conv5_flat = tf.reshape(h_conv5 [-1 1152
)

\n

h_fc1 = tf.nn.relu(tf.matmul(h_conv5_flat W_fc1) + b_fc1)

\n \n

keep_prob = tf.placeholder(tf.float32)

推荐阅读