提交 d649bd0a 编写于 作者: D dengkaipeng

use to_list in utils.py

上级 34911032
...@@ -23,7 +23,7 @@ import paddle.fluid as fluid ...@@ -23,7 +23,7 @@ import paddle.fluid as fluid
from paddle.fluid.dygraph.base import to_variable from paddle.fluid.dygraph.base import to_variable
from hapi.metrics import * from hapi.metrics import *
from hapi.model import to_list from hapi.utils import to_list
def accuracy(pred, label, topk=(1, )): def accuracy(pred, label, topk=(1, )):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册