Closed ouxiand closed 5 months ago
you can set the shape of the model to static shape
Input/Output has been set to 512,but there were some errors: root@6ddf679dd88b:/examples# python onnx2rknn.py W init: rknn-toolkit2 version: 1.6.0+81f21f4d W config: Please make sure the model can be dynamic when enable 'config.dynamic_input'! W config: The 'dynamic_input' function has been enabled, the MaxShape is dynamic_input[0] = [[1, 3, 512, 512]]! The following functions are subject to the MaxShape:
@ouxiand were you able to solve this? if so, how?
Cannot use NPU model, can only use CPU, slow speed, currently no better solution.
Same problem with simple model from torchhub model zoo
anyone found the solution?
anyone found the solution?
You should write an implementation of the NonZero operation. The documentation contains a description of how to do this.
anyone found the solution?
You should write an implementation of the NonZero operation. The documentation contains a description of how to do this.
which documentation you refered to, could you please provide it?
Hello, Thank you for sharing such a great project!
May I ask how to convert onnx into an rknn model?I want to run this lightglue onnx model on rknn npu.
However, rknn does not support dynamic calls and has no idea at all.
Who knows how to solve it?