-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
AttributeError: 'list' object has no attribute 'device'
#11
Comments
|
Got same error in detect.py |
@Dragos-Stan provides a temporal solution. To inference yolov9 models, we need follow Currently, re-parametwrization part is under construction. |
It works! |
#11 (comment) should be corrected.
|
So, the correct one is as follows, right?
|
I followed yr ways, it worked with yolov9-c and yolov9-e.
worked with gelan-c.pt and gelan-e.pt. |
Following this discussion, I opened a PR with a (probably temporal) fix. It makes |
I am getting the same error and fixed the general.py file as here discussions main...noorkhokhar99:yolov9:patch-1 |
@SkalskiP Your fix is working for me for a yolov9-c model. Haven't tested ELAN. Is this a better fix than @Dragos-Stan 's given it works for either architecture?
|
Hi @mkrupczak3 👋🏻 My fix should work with both GELAN and YOLOv9 architectures. Take a look here. I use it to run both models. |
@SkalskiP I found your fix applies to |
@mkrupczak3 what's wrong with validation? I've done it yesterday and it works for me. |
Altering just |
thanks |
|
thanks,its work |
following discussion on WongKinYiu#11
Use |
While trying to run
detect.py
I encountered an error.command:
error:
reproducible example
https://colab.research.google.com/drive/1hq-hORpv8pHjwjBz-slPUuKfpXyTXSEg?usp=sharing
The text was updated successfully, but these errors were encountered: