We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Okay, I think i found a solution for this one. You have to change line where process_mask function is called. So inside segment/predict.py change:
masks = process_mask(proto[i], det[:, 6:], det[:, :4], im.shape[2:], upsample=True) # HWC
into:
masks = process_mask(proto[2].squeeze(0), det[:, 6:], det[:, :4], im.shape[2:], upsample=True) # HWC
That fixed the problem for me.
Originally posted by @wojhok in #219 (comment)
The text was updated successfully, but these errors were encountered:
Thanks it's working fine now
Sorry, something went wrong.
i have tried the Instance Segmentation with yolov9 and i've also faced with the error : AttributeError: 'list' object has no attribute 'shape'.
This solution worked for me after dealing with this issue for hours. Thank you so much
No branches or pull requests
into:
That fixed the problem for me.
Originally posted by @wojhok in #219 (comment)
The text was updated successfully, but these errors were encountered: