Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Updating Layer Name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvinTeichmann committed Jun 2, 2016
1 parent 9f2fda6 commit 646a1c7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions fcn32_vgg.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,12 @@ def build(self, rgb, train=False, num_classes=20, random_init_fc8=False,

self.pred = tf.argmax(self.score_fr, dimension=3)

self.up = self._upscore_layer(self.score_fr, shape=tf.shape(bgr),
num_classes=num_classes, debug=debug,
name='up', ksize=64, stride=32)
self.upscore = self._upscore_layer(self.score_fr, shape=tf.shape(bgr),
num_classes=num_classes,
debug=debug,
name='up', ksize=64, stride=32)

self.pred_up = tf.argmax(self.up, dimension=3)
self.pred_up = tf.argmax(self.upscore, dimension=3)

def _max_pool(self, bottom, name, debug):
pool = tf.nn.max_pool(bottom, ksize=[1, 2, 2, 1], strides=[1, 2, 2, 1],
Expand Down

0 comments on commit 646a1c7

Please sign in to comment.