Toybrick

标题: Meet unsupported MaxPool attribute 'dilations'! [打印本页]

作者: gotta    时间: 2024-5-30 21:24
标题: Meet unsupported MaxPool attribute 'dilations'!
您好!
在rk3588部署yolov8的过程中,将onnx文件转换为rknn时,出现如下错误:
E RKNN: [08:42:37.957] Meet unsupported MaxPool attribute 'dilations'!

W __init__: rknn-toolkit2 version: 1.4.0-22dcfef4
--> Config model
done
--> Loading model
done
--> Building model
Analysing : 100%|███████████████████████████████████████████████| 161/161 [00:00<00:00, 2693.74it/s]
Quantizating : 100%|██████████████████████████████████████████████| 161/161 [00:08<00:00, 18.17it/s]
W build: The default input dtype of 'images' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of '318' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of 'onnx::ReduceSum_326' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of '331' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of '338' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of 'onnx::ReduceSum_346' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of '350' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of '357' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of 'onnx::ReduceSum_365' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!
W build: The default output dtype of '369' is changed from 'float32' to 'int8' in rknn model for performance!
                      Please take care of this change when deploy rknn model with Runtime API!

请问如何解决

作者: 1569063835    时间: 2024-7-10 11:53
你好,请问你的问题解决了吗?我也遇到了相同的问题
作者: jefferyzhang    时间: 2024-7-10 16:25
1. 参考官方yolov8转好的示例进行
2. drv和api版本请保持一致和最新
3. 转换时候onnx、pt等版本请严格按照rknn的文档要求搭建,太高就会有一些奇怪的属性不支持





欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3