PaddlePaddle / X2Paddle

Deep learning model converter for PaddlePaddle. (『飞桨』深度学习模型转换工具)
http://www.paddlepaddle.org/
Apache License 2.0
740 stars 165 forks source link

FaceNet(Inception Resnet V1 model)can't be converted from onnx to paddle! #634

Open rolfma19 opened 3 years ago

rolfma19 commented 3 years ago
/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/setuptools/depends.py:2: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
  import imp
paddle.__version__ = 2.1.0
Now translating model from onnx to paddle.
model ir_version: 6, op version: 9
shape inferencing ...
shape inferenced.
Now, onnx2paddle support convert onnx model opset_verison [9],opset_verison of your onnx model is 9, automatically treated as op_set: 9.

========= 1 OPs are not supported yet ===========
========== ReduceL2 ============
Traceback (most recent call last):
  File "/opt/conda/envs/python35-paddle120-env/bin/x2paddle", line 11, in <module>
    load_entry_point('x2paddle==1.0.1', 'console_scripts', 'x2paddle')()
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.0.1-py3.7.egg/x2paddle/convert.py", line 264, in main
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.0.1-py3.7.egg/x2paddle/convert.py", line 172, in onnx2paddle
  File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.0.1-py3.7.egg/x2paddle/op_mapper/dygraph/onnx2paddle/onnx_op_mapper.py", line 32, in __init__
Exception: Model is not supported yet.
wjj19950828 commented 3 years ago

您好,麻烦提供一下ONNX模型吧

rolfma19 commented 3 years ago

您好,麻烦提供一下ONNX模型吧 模型见如下链接,期待您的回复! 链接:https://pan.baidu.com/s/10PVy_5I2G0wpTIj_v-iZfQ 提取码:s32s

wjj19950828 commented 3 years ago

麻烦直接提供一下onnx模型吧,不要rar压缩

rolfma19 commented 3 years ago

麻烦直接提供一下onnx模型吧,不要rar压缩

已修改格式,期待您的回复,谢谢! 链接:https://pan.baidu.com/s/1QJXSvHYavI8y3XHzOY53xQ 提取码:813p