You need to sign in or sign up before continuing.
提交 cc901a63 编写于 作者: J JiabinYang

fix representation problems

上级 ee4e2188
...@@ -116,6 +116,7 @@ def infer(use_cuda, inference_program, params_dirname=None): ...@@ -116,6 +116,7 @@ def infer(use_cuda, inference_program, params_dirname=None):
img = load_image(cur_dir + '/image/dog.png') img = load_image(cur_dir + '/image/dog.png')
# inference # inference
results = inferencer.infer({'pixel': img})
label_list = [ label_list = [
"airplane", "automobile", "bird", "cat", "deer", "dog", "frog", "horse", "airplane", "automobile", "bird", "cat", "deer", "dog", "frog", "horse",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册