提交 1cd5b311 编写于 作者: L lijianshe02

add dygraph fid score computation

上级 ca9ff7e6
......@@ -51,8 +51,8 @@ def main():
batch_size = args.batch_size
with fluid.dygraph.guard():
fid_value = calculate_fid_given_paths(paths, inference_model_path, 1,
True, 2048)
fid_value = calculate_fid_given_paths(paths, inference_model_path,
batch_size, args.use_gpu, 2048)
print('FID: ', fid_value)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册