You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E RKNNAPI: __pthread_recv_msg, recv(MsgHeader) fail, -9(ERROR_PIPE) < 108!
E RKNNAPI: rknn_outputs_get, p_ctx->queue_output.size() = 0!
E accuracy_analysis: 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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
W accuracy_analysis: ===================== WARN(7) =====================
E rknn-toolkit2 version: 2.1.0+708089d1
E accuracy_analysis: 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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
During handling of the above exception, another exception occurred:
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 2796, in rknn.api.rknn_base.RKNNBase.accuracy_analysis
File "rknn/api/rknn_base.py", line 2696, in rknn.api.rknn_base.RKNNBase._runtime_dump
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.1.0+708089d1
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
During handling of the above exception, another exception occurred:
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 2796, in rknn.api.rknn_base.RKNNBase.accuracy_analysis
File "rknn/api/rknn_base.py", line 2696, in rknn.api.rknn_base.RKNNBase._runtime_dump
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "convert.py", line 160, in
rknn = ana_acc(rknn, img, secret_input)
File "convert.py", line 123, in ana_acc
inputs=[img, secret_input], target=PLATEFORM, output_dir="./bs2/snapshot"
File "/usr/local/lib/python3.6/dist-packages/rknn/api/rknn.py", line 275, in accuracy_analysis
return self.rknn_base.accuracy_analysis(inputs, output_dir, target, device_id)
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
During handling of the above exception, another exception occurred:
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 2796, in rknn.api.rknn_base.RKNNBase.accuracy_analysis
File "rknn/api/rknn_base.py", line 2696, in rknn.api.rknn_base.RKNNBase._runtime_dump
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
E RKNNAPI: __pthread_recv_msg, recv(MsgHeader) fail, -9(ERROR_PIPE) < 108!
E RKNNAPI: rknn_outputs_get, p_ctx->queue_output.size() = 0!
E accuracy_analysis: 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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
W accuracy_analysis: ===================== WARN(7) =====================
E rknn-toolkit2 version: 2.1.0+708089d1
E accuracy_analysis: 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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
During handling of the above exception, another exception occurred:
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 2796, in rknn.api.rknn_base.RKNNBase.accuracy_analysis
File "rknn/api/rknn_base.py", line 2696, in rknn.api.rknn_base.RKNNBase._runtime_dump
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
I ===================== WARN(0) =====================
E rknn-toolkit2 version: 2.1.0+708089d1
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
During handling of the above exception, another exception occurred:
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 2796, in rknn.api.rknn_base.RKNNBase.accuracy_analysis
File "rknn/api/rknn_base.py", line 2696, in rknn.api.rknn_base.RKNNBase._runtime_dump
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "convert.py", line 160, in
rknn = ana_acc(rknn, img, secret_input)
File "convert.py", line 123, in ana_acc
inputs=[img, secret_input], target=PLATEFORM, output_dir="./bs2/snapshot"
File "/usr/local/lib/python3.6/dist-packages/rknn/api/rknn.py", line 275, in accuracy_analysis
return self.rknn_base.accuracy_analysis(inputs, output_dir, target, device_id)
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
During handling of the above exception, another exception occurred:
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 2796, in rknn.api.rknn_base.RKNNBase.accuracy_analysis
File "rknn/api/rknn_base.py", line 2696, in rknn.api.rknn_base.RKNNBase._runtime_dump
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 2623, in rknn.api.rknn_base.RKNNBase.inference
File "rknn/api/rknn_runtime.py", line 572, in rknn.api.rknn_runtime.RKNNRuntime.get_outputs
Exception: E Get outputs failed, error code: RKNN_ERR_FAIL
模型转换,int8量化,设置rknn_batch_size = 2报错,
config,设置如下:
rknn.config(
mean_values=mean,
std_values=std,
target_platform=PLATEFORM,
quantized_algorithm="mmse",
optimization_level=3,
)
The text was updated successfully, but these errors were encountered: