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

Support PyTorch1.11 and OpenCV-4.5.5 #460

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ohashi
Copy link

@ohashi ohashi commented Sep 16, 2022

I have modfied to support PyTorch1.11 and after version. In this version, latest OpenCV-4.6.0 is not supported, but OpenCV-4.5.5 is work fine. In addtion, utils/loss.py was fixed.

I have tested the following versions of OS and softwares:

  • OS:Ubuntu 20.04
  • CUDA: 11.3/11.6
  • PyTorch ≥ 1.11

@dnsefe
Copy link

dnsefe commented Sep 28, 2022

Looks good to me, but couldn't run the demo with only these changes.
With below fix, demo runs without issues
https://github.com/ultralytics/yolov5/pull/6932/files

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

Successfully merging this pull request may close these issues.

2 participants