tdeboissiere / DeepLearningImplementations

Implementation of recent Deep Learning papers
MIT License
1.81k stars 652 forks source link

DenseNet NB axis error #61

Closed chaoyan1037 closed 6 years ago

chaoyan1037 commented 6 years ago

The current DenseNet implementation makes the axis parameter of BatchNormalization function 1. However, this parameter should be decided by the data format, thus channel first or channel last.

I fixed this error by querying the data format first. Then pass the concatenate axis as a parameter to the function.

tdeboissiere commented 6 years ago

Fixed in #62, thanks