Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added explanation for 128x64 slide window #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,11 @@ def get_detect_model():

# Fourth layer
W_fc1 = weight_variable([8 * 32 * 128, 2048])
"""
variable conv_layer has 3 maxpools added previously,they are 2x2, 2x1, 2x2 = 8x4,
so 8x32 in this layer equals to use a 64x128(matrix read by opencv is height/width)
window at input image,
"""
W_conv1 = tf.reshape(W_fc1, [8, 32, 128, 2048])
b_fc1 = bias_variable([2048])
h_conv1 = tf.nn.relu(conv2d(conv_layer, W_conv1,
Expand Down