提交 1203813c 编写于 作者: S SunAhong1993

docs

上级 aa4cd525
...@@ -10,7 +10,7 @@ X2Paddle在多个主流的CV模型上,测试过TensorFlow/Caffe/ONNX/PyTorch ...@@ -10,7 +10,7 @@ X2Paddle在多个主流的CV模型上,测试过TensorFlow/Caffe/ONNX/PyTorch
## 环境依赖 ## 环境依赖
python == 2.7 | python >= 3.5 python == 2.7 | python >= 3.5
paddlepaddle 2.0-rc 或者 develop paddlepaddle 2.0.0-rc1 或者 develop
**按需安装以下依赖** **按需安装以下依赖**
tensorflow : tensorflow == 1.14.0 tensorflow : tensorflow == 1.14.0
......
...@@ -283,7 +283,7 @@ class OpSet9(): ...@@ -283,7 +283,7 @@ class OpSet9():
attrs = {"align_corners": False, attrs = {"align_corners": False,
"mode": string(node.get_attr('mode', 'nearest'))} "mode": string(node.get_attr('mode', 'nearest'))}
self.paddle_graph.add_layer( self.paddle_graph.add_layer(
kernel="paddle.nn.functioanl.interpolate", kernel="paddle.nn.functional.interpolate",
inputs=inputs, inputs=inputs,
outputs=[node.name], outputs=[node.name],
**attrs) **attrs)
......
...@@ -273,7 +273,7 @@ class OpSet9(): ...@@ -273,7 +273,7 @@ class OpSet9():
attrs = {"align_corners": False, attrs = {"align_corners": False,
"mode": string(node.get_attr('mode', 'nearest'))} "mode": string(node.get_attr('mode', 'nearest'))}
self.paddle_graph.add_layer( self.paddle_graph.add_layer(
kernel="paddle.nn.functioanl.interpolate", kernel="paddle.nn.functional.interpolate",
inputs=inputs, inputs=inputs,
outputs=[node.name], outputs=[node.name],
**attrs) **attrs)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册