From 0bc5b54d192b28112faf62b258947d2a412bfe91 Mon Sep 17 00:00:00 2001 From: littletomatodonkey Date: Thu, 15 Jul 2021 15:19:41 +0800 Subject: [PATCH] fix opt (#1048) --- ppcls/optimizer/optimizer.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ppcls/optimizer/optimizer.py b/ppcls/optimizer/optimizer.py index 66fc5317..534108ed 100644 --- a/ppcls/optimizer/optimizer.py +++ b/ppcls/optimizer/optimizer.py @@ -119,7 +119,6 @@ class RMSProp(object): self.epsilon = epsilon self.weight_decay = weight_decay self.grad_clip = grad_clip - self.multi_precision = multi_precision def __call__(self, parameters): opt = optim.RMSProp( @@ -129,6 +128,5 @@ class RMSProp(object): epsilon=self.epsilon, weight_decay=self.weight_decay, grad_clip=self.grad_clip, - multi_precision=self.multi_precision, parameters=parameters) return opt -- GitLab