Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cpu not working for custom model. #422

Closed
kadirnar opened this issue Aug 4, 2022 · 0 comments · Fixed by #423
Closed

Cpu not working for custom model. #422

kadirnar opened this issue Aug 4, 2022 · 0 comments · Fixed by #423

Comments

@kadirnar
Copy link
Contributor

kadirnar commented Aug 4, 2022

Error Message:

TypeError: ('model_path is not a valid yolov7 model path: ', RuntimeError("Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU.",))

obss/sahi#544

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant