提交 18ae1499 编写于 作者: S ShawnXuan

fix

上级 835b49dd
......@@ -42,7 +42,7 @@ def InferenceNet(images=flow.FixedTensorDef((val_batch_size, H, W, C), dtype=flo
labels=flow.FixedTensorDef((val_batch_size, ), dtype=flow.int32)):
logits = model_dict[args.model](images)
softmax = flow.nn.softmax(logits)
outputs = {"softmax":softmax, "labels": labels}
outputs = {"predictions":softmax, "labels": labels}
return outputs#(softmax, labels)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册