DrSleep / tensorflow-deeplab-resnet

DeepLab-ResNet rebuilt in TensorFlow
MIT License
1.25k stars 429 forks source link

where is the scale layer in your code? #9

Closed gaopeng-eugene closed 7 years ago

gaopeng-eugene commented 7 years ago

In the original caffe code, there are batch normalization layer and scale layer. Which is the corresponding scale layer in your tensorflow implementation. Another question, how do you deal with the padding problem in your code.

DrSleep commented 7 years ago

Both questions are more relevant to the caffe-tensorflow repository: https://github.com/ethereon/caffe-tensorflow In short, two caffe layers (BatchNorm and Scale) are merged into one TF layer. The padding option used throughout the code is 'SAME'; as TF does not allow arbitrary padding, this may also explain the differences in performance.

gaopeng-eugene commented 7 years ago

thank you