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

Merge pull request #214 from Channingss/develop

update README.md
...@@ -15,7 +15,7 @@ paddlepaddle >= 1.6.0 ...@@ -15,7 +15,7 @@ paddlepaddle >= 1.6.0
**按需安装以下依赖** **按需安装以下依赖**
tensorflow : tensorflow == 1.14.0 tensorflow : tensorflow == 1.14.0
caffe : 无 caffe : 无
onnx : onnx == 1.6.0 onnxruntime == 1.1.0 onnx : onnx == 1.6.0 onnxruntime == 1.0.0
## 安装 ## 安装
### 安装方式一(推荐) ### 安装方式一(推荐)
......
...@@ -491,8 +491,7 @@ class ONNXDecoder(object): ...@@ -491,8 +491,7 @@ class ONNXDecoder(object):
model = onnx.shape_inference.infer_shapes(model) model = onnx.shape_inference.infer_shapes(model)
if len(model.graph.value_info) < len(model.graph.node) - 1: if len(model.graph.value_info) < len(model.graph.node) - 1:
_logger.warning( _logger.warning(
'shape inference for some operators failed, ' 'During conversion of your model, some operators will be assignd node.out_shape==None, '
'those operators will be assignd node.out_shape==None, '
'refer to https://github.com/onnx/onnx/blob/master/docs/ShapeInference.md' 'refer to https://github.com/onnx/onnx/blob/master/docs/ShapeInference.md'
) )
try: try:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册