-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dino #987
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/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 INFO:root:paddle.__version__ = 2.4.0 /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/onnx/mapping.py:25: DeprecationWarning:
np.objectis a deprecated alias for the builtin
object. To silence this warning, use
objectby itself. Doing this will not modify any behavior and is safe. Deprecated in NumPy 1.20; for more details and guidance: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations int(TensorProto.STRING): np.dtype(np.object) INFO:root:Now translating model from onnx to paddle. model ir_version: 6, op version: 10 Shape inferencing ... /opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.4.1-py3.7.egg/x2paddle/decoder/onnx_shape_inference.py:510: DeprecationWarning: np.asscalar(a) is deprecated since NumPy v1.16, use a.item() instead new_v = int(np.asscalar(v)) Shape inferenced. Now, onnx2paddle support convert onnx model opset_verison [7, 8, 9, 10, 11, 12, 13, 14, 15], opset_verison of your onnx model is 10. Total nodes: 799 Nodes converting ... Converting node 1166 ... Nodes converted. INFO:root:Model optimizing ... Traceback (most recent call last): File "/opt/conda/envs/python35-paddle120-env/bin/x2paddle", line 11, in <module> load_entry_point('x2paddle==1.4.1', 'console_scripts', 'x2paddle')() File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.4.1-py3.7.egg/x2paddle/convert.py", line 497, in main enable_onnx_checker=args.enable_onnx_checker) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.4.1-py3.7.egg/x2paddle/convert.py", line 309, in onnx2paddle graph_opt.optimize(mapper.paddle_graph) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.4.1-py3.7.egg/x2paddle/optimizer/optimizer.py", line 59, in optimize pass_.apply(graph) File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.4.1-py3.7.egg/x2paddle/optimizer/fusion/onnx_layernorm_fuse_pass.py", line 29, in apply fuser.operate(graph, match_kind="edge") File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.4.1-py3.7.egg/x2paddle/optimizer/pattern_matcher.py", line 341, in operate graph.build() File "/opt/conda/envs/python35-paddle120-env/lib/python3.7/site-packages/x2paddle-1.4.1-py3.7.egg/x2paddle/core/program.py", line 180, in build v) AssertionError: Couldn't find x2paddle_184 in previous layers, the layers should be make by topological sort
dino 模型转化
The text was updated successfully, but these errors were encountered: