Hello,me again.I run the command hailortcli fw-control identify and it worked very well.My .hef file is compiled for hailo8l.Also,I got that error running source code from github:
Error:
[HailoRT] [error] CHECK failed - max_desc_page_size given 16384 is bigger than hw max desc page size 4096
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INTERNAL_FAILURE(8)
[HailoRT] [error] CHECK_SUCCESS failed with status=HAILO_INTERNAL_FAILURE(8)
Hi,me again.I have a new error message about source code from github.How can I solve that?
Code:
resized_img = cv2.resize(frame, (INPUT_RES_H, INPUT_RES_W), interpolation = cv2.INTER_AREA)
with InferVStreams(network_group, input_vstreams_params, output_vstreams_params) as infer_pipeline:
input_data = {input_vstream_info.name: np.expand_dims(np.asarray(resized_img), axis=0).astype(np.float32)}
with network_group.activate(network_group_params):
infer_results = infer_pipeline.infer(input_data)
# create dictionary that returns layer name from tensor shape (required for postprocessing)
layer_from_shape: dict = {infer_results[key].shape:key for key in infer_results.keys()}
Error Message:
Exception has occurred: AttributeError
‘list’ object has no attribute ‘shape’
File “/home/halil/hailo_platform_venv/son.py”, line 67, in
layer_from_shape: dict = {infer_results[key].shape:key for key in infer_results.keys()}
^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/halil/hailo_platform_venv/son.py”, line 67, in
layer_from_shape: dict = {infer_results[key].shape:key for key in infer_results.keys()}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: ‘list’ object has no attribute ‘shape’