Skip to content
This repository was archived by the owner on Jan 1, 2021. It is now read-only.

Commit b8a3cbb

Browse files
committed
fixed a small bug in egg
1 parent 13e8148 commit b8a3cbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assignments/style_transfer/vgg_model_sols.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _avgpool(prev_layer):
5959
Hint for choosing strides and kszie: choose what you feel appropriate
6060
"""
6161
return tf.nn.avg_pool(prev_layer, ksize=[1, 2, 2, 1], strides=[1, 2, 2, 1],
62-
padding='SAME', name='avg_pool_' + prev_layer_name)
62+
padding='SAME', name='avg_pool_')
6363

6464
def load_vgg(path, input_image):
6565
""" Load VGG into a TensorFlow model.

0 commit comments

Comments
 (0)