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)
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)