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

Handling Input shape error while using .rknn model and Handling No detections error in the code. #242

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

manikanta5557
Copy link

Addressed the issue While using .rknn model with the given code on the rk board (evaluation board):
Exception: The input[0] need 4dims input,but 3dims input buffer feed.
Trackback:
file /yolov8-seg.py,line 315, in
boxes,classes,scores,seg_img = post_process(outputs)
file /yolov8-seg.py, line 116, in post_process
procto = input[-1]
TypeError: "NoneType" object is not subscriptable.

ALSO NO OBJECT IN INPUT ERROR:
when multiple images are fed to infer through --img-folder parameter and if any of the image does not contain object, program returns error instead of skipping it.
Managed this issue by filtering out by scores parameter and boxes parameter.

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

Successfully merging this pull request may close these issues.

1 participant