From 8aa79b5bcb2f6d0911f135fa3bcfe2e264c61687 Mon Sep 17 00:00:00 2001 From: superstarlol999 <34463182+superstarlol999@users.noreply.github.com> Date: Sun, 31 Oct 2021 00:19:44 +0700 Subject: [PATCH] fix padding --- model.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/model.py b/model.py index 6f169a1..4340ce1 100644 --- a/model.py +++ b/model.py @@ -15,21 +15,21 @@ def __Standard_Conv(self): return models.Sequential([ Conv2D(filters= 32, kernel_size=(3,3), strides= (2,2), padding= 'valid'), BatchNormalization(), - Activation('relu') + ReLU(max_value= 6) ]) def __Depthwise_Conv(self, strides, padding): return models.Sequential([ DepthwiseConv2D(kernel_size= (3,3), strides= strides, padding= padding), BatchNormalization(), - Activation('relu') + ReLU(max_value= 6) ]) def __Pointwise_Conv(self, filters): return models.Sequential([ Conv2D(filters= int(filters * self._alpha), kernel_size= (1,1), strides= 1), BatchNormalization(), - Activation('relu') + ReLU(max_value= 6) ])