Comments (11)
Global avgpool input height/width support > 128 now for new version 1.2.0, but still should < 343
from rknn-toolkit2.
Thank you so much for your update. I tried it and it looks like it's making a big progress on my test model. However, this time got stuck at "Fatal: Meet unsupported operator: Sqrt(name="Sqrt_941")."
The error messages as below:
(rknn2) paul@tensor:~/pytorch/AdaBins$ python rk3566onnx.py
right after import torch....
W __init__: rknn-toolkit2 version: 1.2.0-f7bb160f
--> config model
done
--> Loading model: ./rknn_models/model_3566.onnx
done
--> Building model
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
W build: Global Average Pool input height/width > 343, which is not suppoted!
Analysing : 0%| | 0/
Analysing : 34%|███████████████▉ | 262/770 [00:00
Analysing : 52%|████████████████████████▍ | 400/770 [00:00
Analysing : 65%|██████████████████████████████▎ | 497/770 [00:00
Analysing : 77%|████████████████████████████████████▊ | 590/770 [00:0
Analysing : 100%|███████████████████████████████████████████████| 770/770 [00:00<00:00, 1067.81it/s]
I RKNN: librknnc version: 1.2.0 (b162fe95e@2022-01-14T14:12:38)
D RKNN: [11:23:26.989] RKNN is invoked
Fatal: Meet unsupported operator: Sqrt(name="Sqrt_941").
It seems that it cannot build because rknn does not support "Sqrt" operator.
Please advise how to fix this issue. Thanks a lot.
from rknn-toolkit2.
Sqrt is not supported temporarily
from rknn-toolkit2.
Do we know when Sqrt well be supported? Thank you.
from rknn-toolkit2.
Do we know when Sqrt well be supported? Thank you.
Sqrt may be supported on next format release version as soon.
If you need Sqrt in LayerNorm, maybe next version will open graph-optimization for it.
from rknn-toolkit2.
I upgrade to the latest version 1.3.0 and indeed the Sqrt error is gone! Thank you very much.
But now I encounter the following error:
Fatal: Meet unsupported operator: CumSum(name="CumSum_1274").
When would the CumSum operator would be supported? or What command I can change in my code to avoid this unsupported error?
Thanks a lot for your help.
from rknn-toolkit2.
This op(CumSum) is not in develop plan. I suggest you change you graph with other operators which had supported.
from rknn-toolkit2.
I upgrade to the latest version 1.3.0 and indeed the Sqrt error is gone! Thank you very much.
But now I encounter the following error:
Fatal: Meet unsupported operator: CumSum(name="CumSum_1274").
When would the CumSum operator would be supported? or What command I can change in my code to avoid this unsupported error?
Thanks a lot for your help.
meet the same question
I rknn building ...
I RKNN: librknnc version: 1.3.0 (c193be371@2022-05-04T20:23:58)
D RKNN: [10:47:53.678] RKNN is invoked
Fatal: Meet unsupported operator: Sqrt(name="Sqrt_51").
to:rockchip
sqrt not supportin rknn2 1.3version,please add the op in it next version
from rknn-toolkit2.
After I replace torch.cumsum with equivalent python code in my model, now it encounters a new unsupported operator:
Fatal: Meet unsupported operator: ScatterND(name="ScatterND_1308").
So are we going to add "ScatterND" op soon?
Thank you.
from rknn-toolkit2.
Temporarily not. Maybe Sqrt will support quicker.
from rknn-toolkit2.
Or, you can cut the model into 2 pieces, and execute this op by cpu.
from rknn-toolkit2.
Related Issues (20)
- RKNN不支持 GatherND HOT 1
- RK3588使用yoloV8的P2-P4层导出的模型,推理不准确
- [rknn result error] rknn result cannot aligned to onnx result
- Issue with Initializing Runtime Environment on Ubuntu PC
- rknntoolkits2.0.0导出yoloworld模型,量化的过程报错
- 请问这是什么问题?
- 离谱,python logging内部变量被你们框架修改了 HOT 2
- Multi-batch support?
- onnx转rknn中出现 Reshape OP is not supported HOT 1
- Problem in conversion of a STGCN++ .onnx model to .rknn model for RK3588 HOT 1
- 初始化环境失败:Invalid RKNN model version 6 HOT 2
- whisper or transformer model onnx2rknn and inference HOT 1
- 在使用rknn 量化 GlobalAveragePool层时报错 应该怎样解决 HOT 4
- Meet unsupported src layout for normalize: 2
- E RKNN: [17:19:34.670] failed to submit!, op id: 1, op name: Conv:/model.0/conv/Conv, flags: 0x1, task start: 0, task number: 30, run task counter: 0, int status: 0, please try updating to the latest version of the toolkit2 and runtime from: https://console.zbox.filez.com/l/I00fc3 (PWD: rknn) HOT 8
- ONNX转RKNN模型时出现了非法指令内核已转储(Illegal instruction - core dumped) HOT 1
- 如何进行rknn的fp16和onnx模型?
- Error NonZero(/rpn/NonZero) when importing faster rcnn from torchvision.models
- yolov5s在RKNN3588上以FP16推理时的精度问题
- Does RK3588 Support INT4 Model Inference on NPU?
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 rknn-toolkit2.