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


)

\n

b_conv1 = bias_variable([24
)

\n \n

h_conv1 = tf.nn.relu(conv2d(x_image W_conv1 2) + b_conv1)

\n \n

#second convolutional layer

\n

W_conv2 = weight_variable([5 5 24 36
)

\n

b_conv2 = bias_variable([36
)

\n \n

h_conv2 = tf.nn.relu(conv2d(h_conv1 W_conv2 2) + b_conv2)

\n \n

#third convolutional layer

\n

W_conv3 = weight_variable([5 5 36 48
)

\n

b_conv3 = bias_variable([48
)

\n \n

h_conv3 = tf.nn.relu(conv2d(h_conv2 W_conv3 2) + b_conv3)

\n \n

#fourth convolutional layer

\n

W_conv4 = weight_variable([3 3 48 64

推荐阅读