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

RV1126 missing in latest as well as v2.0.0 #219

Open
openedev opened this issue Nov 17, 2024 · 1 comment
Open

RV1126 missing in latest as well as v2.0.0 #219

openedev opened this issue Nov 17, 2024 · 1 comment

Comments

@openedev
Copy link

In 2.3.0

$ python convert.py yolov8n.onnx rv1126
I rknn-toolkit2 version: 2.2.0
--> Config model
E config: Invalid target_platform 'rv1126'!
I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.2.0
E config: Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.2.0
Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/build/shared/rknn_model_zoo/examples/yolov8/python/convert.py", line 45, in <module>
    rknn.config(mean_values=[[0, 0, 0]], std_values=[
  File "/home/build/conda/lib/python3.12/site-packages/rknn/api/rknn.py", line 119, in config
    return self.rknn_base.config(args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "rknn/api/rknn_log.py", line 314, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

In v2.0.0

$ python convert.py yolov8n.onnx rv1126
I rknn-toolkit2 version: 2.2.0
--> Config model
E config: Invalid target_platform 'rv1126'!
I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.2.0
E config: Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.2.0
Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/build/shared/rknn_model_zoo/examples/yolov8/python/convert.py", line 45, in <module>
    rknn.config(mean_values=[[0, 0, 0]], std_values=[
  File "/home/build/conda/lib/python3.12/site-packages/rknn/api/rknn.py", line 119, in config
    return self.rknn_base.config(args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "rknn/api/rknn_log.py", line 314, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!
@jxx-xi
Copy link

jxx-xi commented Nov 18, 2024

In 2.3.0

$ python convert.py yolov8n.onnx rv1126
I rknn-toolkit2 version: 2.2.0
--> Config model
E config: Invalid target_platform 'rv1126'!
I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.2.0
E config: Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.2.0
Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/build/shared/rknn_model_zoo/examples/yolov8/python/convert.py", line 45, in <module>
    rknn.config(mean_values=[[0, 0, 0]], std_values=[
  File "/home/build/conda/lib/python3.12/site-packages/rknn/api/rknn.py", line 119, in config
    return self.rknn_base.config(args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "rknn/api/rknn_log.py", line 314, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

In v2.0.0

$ python convert.py yolov8n.onnx rv1126
I rknn-toolkit2 version: 2.2.0
--> Config model
E config: Invalid target_platform 'rv1126'!
I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.2.0
E config: Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.2.0
Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/build/shared/rknn_model_zoo/examples/yolov8/python/convert.py", line 45, in <module>
    rknn.config(mean_values=[[0, 0, 0]], std_values=[
  File "/home/build/conda/lib/python3.12/site-packages/rknn/api/rknn.py", line 119, in config
    return self.rknn_base.config(args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "rknn/api/rknn_log.py", line 314, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Traceback (most recent call last):
  File "rknn/api/rknn_log.py", line 309, in rknn.api.rknn_log.error_catch_decorator.error_catch_wrapper
  File "rknn/api/rknn_base.py", line 881, in rknn.api.rknn_base.RKNNBase.config
  File "rknn/api/rknn_log.py", line 95, in rknn.api.rknn_log.RKNNLog.e
ValueError: Invalid target_platform 'rv1126'!

rv1126/rv1109/rk1808 belongs to rknpu1, please use rknn-toolkit1, reference link:
https://github.com/rockchip-linux/rknn-toolkit

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