Skip to content
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

rknn.build 接口只能使用3通道输入的模型吗 #356

Open
CCC-SUN-sys opened this issue Mar 4, 2025 · 1 comment
Open

rknn.build 接口只能使用3通道输入的模型吗 #356

CCC-SUN-sys opened this issue Mar 4, 2025 · 1 comment

Comments

@CCC-SUN-sys
Copy link

E build: The channel of r_shape [1, 24, 128, 128] must be 3!
I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.3.0
I Quantizating : 0%| | 0/1794 [00:00<?, ?it/s]
E build: Traceback (most recent call last):
File "rknn/api/rknn_log.py", line 344, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
File "rknn/api/rknn_base.py", line 1971, in rknn.api.rknn_base.RKNNBase.build
File "rknn/api/rknn_base.py", line 175, in rknn.api.rknn_base.RKNNBase._quantize
File "rknn/api/quantizer.py", line 1417, in rknn.api.quantizer.Quantizer.run
File "rknn/api/quantizer.py", line 899, in rknn.api.quantizer.Quantizer._get_layer_range
File "rknn/api/rknn_utils.py", line 282, in rknn.api.rknn_utils.get_input_img
File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: The channel of r_shape [1, 24, 128, 128] must be 3!

@IDEALIST-MAKER
Copy link

请问,这是什么问题,解决了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants