TypeError: OpDesc() missing 1 required positional argument: 'attrs'
Created by: richlaji
[ INFO]onnx2fluid::convert:0071: loading model: baidu_903_ep39.onnx ... [ INFO]onnx2fluid::convert:0075: checking model ... [ INFO]onnx2fluid::convert:0082: using opset version: 9 [ INFO]onnx2fluid::convert:0093: model has 588 ops [ INFO]onnx2fluid::convert:0098: optimizing model ... [ DEBUG]onnx2fluid.onnx_utils::polish_model:0342: builtin optimizations to perform in ONNX: ['eliminate_deadend', 'eliminate_identity', 'eliminate_nop_dropout', 'eliminate_nop_monotone_argmax', 'eliminate_nop_pad', 'eliminate_nop_transpose', 'eliminate_unused_initializer', 'extract_constant_to_initializer', 'fuse_add_bias_into_conv', 'fuse_bn_into_conv', 'fuse_consecutive_concats', 'fuse_consecutive_log_softmax', 'fuse_consecutive_reduce_unsqueeze', 'fuse_consecutive_squeezes', 'fuse_consecutive_transposes', 'fuse_matmul_add_bias_into_gemm', 'fuse_pad_into_conv', 'fuse_transpose_into_gemm', 'lift_lexical_references', 'nop'] [ INFO]onnx2fluid::convert:0104: folder baidu_903_ep39/ cleared [ INFO]onnx2fluid::convert:0136: conversion started [ DEBUG]onnx2fluid::convert:0146: translating op op_0(op_0) ai.onnx::Shape ... [CRITICAL]onnx2fluid::convert:0163: conversion failed for: ['var_0'] -> ::Shape -> ['var_670'] Traceback (most recent call last): File "/home/zhangzexin/anaconda3/envs/paddle/bin/onnx2fluid", line 11, in load_entry_point('onnx2fluid==0.1.1', 'console_scripts', 'onnx2fluid')() File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/pkg_resources/init.py", line 489, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/pkg_resources/init.py", line 2843, in load_entry_point return ep.load() File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/pkg_resources/init.py", line 2434, in load return self.resolve() File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/pkg_resources/init.py", line 2440, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 656, in _load_unlocked File "", line 626, in _load_backward_compatible File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/onnx2fluid-0.1.1-py3.6.egg/onnx2fluid/main.py", line 121, in File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/onnx2fluid-0.1.1-py3.6.egg/onnx2fluid/cmdline.py", line 62, in main File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/onnx2fluid-0.1.1-py3.6.egg/onnx2fluid/conversion.py", line 164, in convert File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/onnx2fluid-0.1.1-py3.6.egg/onnx2fluid/conversion.py", line 159, in convert File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/onnx2fluid-0.1.1-py3.6.egg/onnx2fluid/writer.py", line 328, in emit_op File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/onnx2fluid-0.1.1-py3.6.egg/onnx2fluid/writer.py", line 232, in Op File "/home/zhangzexin/anaconda3/envs/paddle/lib/python3.6/site-packages/onnx2fluid-0.1.1-py3.6.egg/onnx2fluid/symbolic.py", line 2037, in Shape TypeError: OpDesc() missing 1 required positional argument: 'attrs'
想问一下这个可能是什么问题呢~