From 1db28fd961930212b85752c5786acb1a90d6679e Mon Sep 17 00:00:00 2001 From: zhaoyingli <86812880+zhaoyinglia@users.noreply.github.com> Date: Mon, 27 Sep 2021 19:16:23 +0800 Subject: [PATCH] fix adamw DeprecationWarining (#35869) (#36025) --- python/paddle/optimizer/adamw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/optimizer/adamw.py b/python/paddle/optimizer/adamw.py index 81ee0f63d2..34fb201d8c 100644 --- a/python/paddle/optimizer/adamw.py +++ b/python/paddle/optimizer/adamw.py @@ -18,7 +18,7 @@ from ..fluid import core from ..fluid import framework from ..fluid.framework import Variable from ..fluid.dygraph import base as imperative_base -from collections import Callable +from collections.abc import Callable import paddle _C_ops = core.ops -- GitLab