diff --git a/src/model_modules/inception_model.py b/src/model_modules/inception_model.py index 11093df56a4b262f75eae7a6f7c05e6e44e1435d..c369885349a4208fd579d735a4b2da6a59542a0b 100644 --- a/src/model_modules/inception_model.py +++ b/src/model_modules/inception_model.py @@ -63,7 +63,7 @@ class InceptionModelBase: padding='same', kernel_regularizer=regularizer, name=block_name)(input_x) - tower = self.act(tower, activation, **act_settings) + # tower = self.act(tower, activation, **act_settings) else: tower = layers.Conv2D(reduction_filter, (1, 1), @@ -77,9 +77,9 @@ class InceptionModelBase: padding='same', kernel_regularizer=regularizer, name=block_name)(tower) - if batch_normalisation: - tower = self.batch_normalisation(tower, **bn_settings) - tower = self.act(tower, activation, **act_settings) + if batch_normalisation: + tower = self.batch_normalisation(tower, **bn_settings) + tower = self.act(tower, activation, **act_settings) return tower