mikel-brostrom/Yolov7_StrongSORT_OSNet

stride.is_cuda: AttributeError: 'numpy.ndarray' object has no attribute 'is_cuda'

monchomark123 opened this issue · 1 comments

Search before asking

  • I have searched the Yolov7_StrongSORT_OSNet issues and found no similar bug report.

Question

Hello! can't find this issue anywhere,
I use yolov5 strong sort with no issues, and wanted to try v7.
Installed torch that works in v5 with my GPU:
pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu116

Then I installed the requirements with no problems.

Then trying to run track from webcam:
if stride.is_cuda:
AttributeError: 'numpy.ndarray' object has no attribute 'is_cuda'
terminate called without an active exception

Any help will be very appreciated,

Regards,
Pablo

👋 Hello, this issue has been automatically marked as stale because it has not had recent activity. Please note it will be closed if no further activity occurs.
Feel free to inform us of any other issues you discover or feature requests that come to mind in the future. Pull Requests (PRs) are also always welcomed!