生成模型的时候出现cannot import name init_on_cpu的错
Created by: BaronChiao
root@fae-Z370-HD3P:/paddle/models-1.6/PaddleCV/image_classification# ./scripts/train/ResNet50.sh Traceback (most recent call last): File "train.py", line 41, in import reader File "/paddle/models-1.6/PaddleCV/image_classification/reader.py", line 24, in from utils.autoaugment import ImageNetPolicy File "/paddle/models-1.6/PaddleCV/image_classification/utils/init.py", line 14, in from .optimizer import cosine_decay, lr_warmup, cosine_decay_with_warmup, exponential_decay_with_warmup, Optimizer, create_optimizer File "/paddle/models-1.6/PaddleCV/image_classification/utils/optimizer.py", line 23, in from paddle.fluid.initializer import init_on_cpu ImportError: cannot import name init_on_cpu