diff --git a/python/paddle/vision/models/googlenet.py b/python/paddle/vision/models/googlenet.py index 5af79e5f030d5..8f048b36fe65d 100644 --- a/python/paddle/vision/models/googlenet.py +++ b/python/paddle/vision/models/googlenet.py @@ -14,10 +14,9 @@ import paddle import paddle.nn as nn -import paddle.nn as nn import paddle.nn.functional as F -from paddle import ParamAttr +from paddle.fluid.param_attr import ParamAttr from paddle.nn import Conv2D, Linear, Dropout from paddle.nn import MaxPool2D, AvgPool2D from paddle.nn.initializer import Uniform