提交 35eb66c3 编写于 作者: M Mark Ma

add progress bar display

上级 4fde6c88
...@@ -23,9 +23,11 @@ import paddle.fluid as fluid ...@@ -23,9 +23,11 @@ import paddle.fluid as fluid
from inception import InceptionV3 from inception import InceptionV3
from paddle.fluid.dygraph.base import to_variable from paddle.fluid.dygraph.base import to_variable
try:
def tqdm(x): from tqdm import tqdm
return x except:
def tqdm(x):
return x
""" based on https://github.com/mit-han-lab/gan-compression/blob/master/metric/fid_score.py """ based on https://github.com/mit-han-lab/gan-compression/blob/master/metric/fid_score.py
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册