Comments (1)
I met a similar error:
--> Building model
D fold_constant ...
E build: Catch exception when building RKNN model!
E build: Traceback (most recent call last):
E build: File "rknn/api/rknn_base.py", line 1977, in rknn.api.rknn_base.RKNNBase.build
E build: File "rknn/api/graph_optimizer.py", line 859, in rknn.api.graph_optimizer.GraphOptimizer.fold_constant
E build: File "rknn/api/session.py", line 34, in rknn.api.session.Session.init
E build: File "rknn/api/session.py", line 130, in rknn.api.session.Session.sess_build
E build: File "/home/an/miniconda3/envs/toolkit2_1.6/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 419, in init
E build: self._create_inference_session(providers, provider_options, disabled_optimizers)
E build: File "/home/an/miniconda3/envs/toolkit2_1.6/lib/python3.8/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 462, in _create_inference_session
E build: sess = C.InferenceSession(session_options, self._model_bytes, False, self._read_config_from_model)
E build: onnxruntime.capi.onnxruntime_pybind11_state.InvalidGraph: [ONNXRuntimeError] : 10 : INVALID_GRAPH : This is an invalid model. In Node, ("/Mark", Mark, "mmdeploy", -1) : ("/Concat_12_output_0": tensor(float),) -> ("/Mark_output_0": tensor(float),) , Error No opset import for domain 'mmdeploy'
W If you can't handle this error, please try updating to the latest version of the toolkit2 and runtime from:
https://console.zbox.filez.com/l/I00fc3 (Pwd: rknn) Path: RKNPU2_SDK / 2.X.X / develop /
If the error still exists in the latest version, please collect the corresponding error logs and the model,
convert script, and input data that can reproduce the problem, and then submit an issue on:
https://redmine.rock-chips.com (Please consult our sales or FAE for the redmine account)
Build model failed。
Anybody can solve the question?
from mmdeploy.
Related Issues (20)
- [Bug] Parameters Codebase config
- [Bug]
- [Bug] support rtmdet-ins for ascend backend
- [Bug] run device is wrong
- Does MMDeploy support mmaction2 (skeleton: posec3d with slowonly_r50_8xb32-u48-240e_k400-keypoint)?
- [Bug] Tried to run the example in the mmdeploy tutorial but failed HOT 3
- Unable to install mmdeploy/tensorrt on H100 : Unsupported SM: 0x900 [Bug]
- Support for TensorRT 10.0 [Feature] HOT 1
- YOLOX to Onnx failed RuntimeError: Only tuples, lists and Variables are supported as JIT inputs/outputs.
- How to convert a Segmenter model? HOT 1
- [Bug] win11 No module named 'distutils'
- [Bug] mmpretrain预训练模型转ncnn int8的时候报错!
- issue deploying libra-retinanet to onnx due to BFP neck component
- rtmpose mmpose demo里的image_demo和inference_demo效果区别怎么这么大?
- [Bug] 使用瑞芯微rk3588部署mmpose模型报错
- When object detection returns a large number of detection boxes, drawing boxes is very time-consuming. Is there any method[Feature]
- A problem occurred when I tried to use C++ to deploy TensorRT+cuda under windows. Device "cuda" not found.
- [Bug] The serialized model is larger than the 2GiB limit imposed by the protobuf library
- [Bug] NYI: Named tensors are not supported with the tracer HOT 2
- [Bug] SDK Inference Using ONNX-GPU: Segmentation fault (core dumped)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mmdeploy.