MarvinTeichmann / tensorflow-fcn

An Implementation of Fully Convolutional Networks in Tensorflow.
MIT License
1.1k stars 433 forks source link

The problem about fcn8_vgg.py #51

Open SmmileIU opened 6 years ago

SmmileIU commented 6 years ago

Hi Marvin,thanks for your code! I have two problems. Can you help me ? First,I want to know why you convert RGB to BGR in fcn8_vgg ? second,what's the meaning of the code as follows ( in line 123) : if use_dilated: self.pool5 = tf.batch_to_space(self.pool5, crops=pad, block_size=2) self.pool5 = tf.batch_to_space(self.pool5, crops=pad, block_size=2) self.fc7 = tf.batch_to_space(self.fc7, crops=pad, block_size=2) self.fc7 = tf.batch_to_space(self.fc7, crops=pad, block_size=2)