未验证 提交 ba5f2754 编写于 作者: J Jason 提交者: GitHub

Merge pull request #191 from mamingjie-China/develop-1.6

Develop 1.6
......@@ -14,7 +14,7 @@ X2Paddle在之前的开发过程中,对比了PaddlePaddle与主流框架上的
## 环境依赖
python == 2.7 | python >= 3.5
paddlepaddle >= 1.5.0
paddlepaddle >= 1.6.1
**按需安装以下依赖**
tensorflow : tensorflow == 1.14.0
......
......@@ -390,7 +390,7 @@ class TFDecoder(object):
compare12 = (results[1] == results[2])
compare = compare01 & compare12
index = numpy.argwhere(compare==False).flatten()
index = numpy.argwhere(compare == False).flatten()
results[0][index] = -1
return results[0].tolist()
......@@ -421,6 +421,6 @@ class TFDecoder(object):
return shape[0].tolist()
compare = compare01 & compare12
index = numpy.argwhere(compare==False).flatten()
index = numpy.argwhere(compare == False).flatten()
shapes[0][index] = -1
return shapes[0].tolist()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册