Skip to content

Commit 4720935

Browse files
authored
Update yolo_tf.py
1 parent 0d047f4 commit 4720935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ObjectDetections/yolo/yolo_tf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def _conv_layer(self, x, id, num_filters, filter_size, stride):
131131
weight = tf.Variable(tf.truncated_normal([filter_size, filter_size,
132132
in_channels, num_filters], stddev=0.1))
133133
bias = tf.Variable(tf.zeros([num_filters,]))
134-
# padding, note: not using padding="VALID"
134+
# padding, note: not using padding="SAME"
135135
pad_size = filter_size // 2
136136
pad_mat = np.array([[0, 0], [pad_size, pad_size], [pad_size, pad_size], [0, 0]])
137137
x_pad = tf.pad(x, pad_mat)

0 commit comments

Comments
 (0)