From 7ebb7d131078bd8357aeddf23fd68414d1593612 Mon Sep 17 00:00:00 2001 From: Glenn Jocher Date: Mon, 18 Nov 2019 10:15:17 -0800 Subject: [PATCH] updates --- models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.py b/models.py index ff3138af..37c272e0 100755 --- a/models.py +++ b/models.py @@ -115,7 +115,7 @@ def create_modules(module_defs, img_size, arc): class Swish(nn.Module): def __init__(self): - super(Swish, self).__init__() + super().__init__() def forward(self, x): return x.mul_(torch.sigmoid(x))