提交 8c2d98c4 编写于 作者: J jiangjiajun

remove Chinese words

上级 95a7824c
#coding:utf-8
# Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved. # Copyright (c) 2019 PaddlePaddle Authors. All Rights Reserved.
# #
# Licensed under the Apache License, Version 2.0 (the "License" # Licensed under the Apache License, Version 2.0 (the "License"
...@@ -243,17 +242,12 @@ class TFDecoder(object): ...@@ -243,17 +242,12 @@ class TFDecoder(object):
if need_define_shape > 0: if need_define_shape > 0:
if need_define_shape == 1: if need_define_shape == 1:
print("无法获取到输入结点\"{}\"的shape".format(layer.name))
print("Unknown shape for input tensor[tensor name: \"{}\"]". print("Unknown shape for input tensor[tensor name: \"{}\"]".
format(layer.name)) format(layer.name))
else: else:
print(
"输入结点\"{}\"的shape为{},但我们现仅支持batch维为不定长,所以需要你重新设定shape".
format(layer.name, shape))
print( print(
"\nShape[now is {}] for input tensor[tensor name: \"{}\"] not support yet" "\nShape[now is {}] for input tensor[tensor name: \"{}\"] not support yet"
.format(shape, layer.name)) .format(shape, layer.name))
print("需要你手动在下面输入对应这个输入结点的shape:)")
print( print(
"Use your keyboard type the shape of input tensor below :)") "Use your keyboard type the shape of input tensor below :)")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册