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

Have you encountered the following problem? #1

Closed
turingvideosjp opened this issue Feb 29, 2024 · 2 comments
Closed

Have you encountered the following problem? #1

turingvideosjp opened this issue Feb 29, 2024 · 2 comments

Comments

@turingvideosjp
Copy link

File "/alg_vepfs/private/xxxxx/yolov9/utils/general.py", line 905, in non_max_suppression
device = prediction.device
AttributeError: 'list' object has no attribute 'device'

@spacewalk01
Copy link
Owner

spacewalk01 commented Feb 29, 2024

Yes. I've fixed it by changing it like following:

prediction = prediction[0][1] # select only inference output

@spacewalk01
Copy link
Owner

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