-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
User用于标记用户问题用于标记用户问题
Description
我使用了最新的PaddlePaddle,在使用Fluid的时候发现报错
accuracy = fluid.evaluator.Accuracy(input=out, label=label)
AttributeError: 'module' object has no attribute 'Accuracy'
一步步查看才知道在 #8643 已经去掉了Accuracy,那么https://github.com/PaddlePaddle/models/blob/df8060e7022fcac12fd33a8adf098c0663d8152d/fluid/image_classification/mobilenet.py 这个例子怎办?
比如这些怎么处理
accuracy = fluid.evaluator.Accuracy(input=out, label=label)
accuracy.reset(exe)
pass_acc = accuracy.eval(exe)
Metadata
Metadata
Assignees
Labels
User用于标记用户问题用于标记用户问题