未验证 提交 99adcce9 编写于 作者: B Bin Lu 提交者: GitHub

Update mobilenet_v1.py

上级 86eb2bc6
...@@ -25,7 +25,6 @@ import math ...@@ -25,7 +25,6 @@ import math
from ppcls.arch.backbone.base.theseus_layer import TheseusLayer from ppcls.arch.backbone.base.theseus_layer import TheseusLayer
__all__ = [ __all__ = [
"MobileNetV1_x0_25", "MobileNetV1_x0_5", "MobileNetV1_x0_75", "MobileNetV1" "MobileNetV1_x0_25", "MobileNetV1_x0_5", "MobileNetV1_x0_75", "MobileNetV1"
] ]
...@@ -138,8 +137,6 @@ class MobileNet(TheseusLayer): ...@@ -138,8 +137,6 @@ class MobileNet(TheseusLayer):
class_num, class_num,
weight_attr=ParamAttr(initializer=KaimingNormal())) weight_attr=ParamAttr(initializer=KaimingNormal()))
def forward(self, x): def forward(self, x):
x = self.conv1(x) x = self.conv1(x)
x = self.blocks(x) x = self.blocks(x)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册