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

Docker GPU pip install opencv-python<4.6.0.66 #8164

Merged
merged 11 commits into from
Jun 9, 2022
Merged

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jun 9, 2022

Resolves AttributeError: partially initialized module 'cv2' has no attribute '_registerMatType' (most likely due to a circular import) with cv2 4.6.0.66

🛠️ PR Summary

Made with ❤️ by Ultralytics Actions

🌟 Summary

Improvement of the YOLOv5 Docker image by specifying OpenCV version.

📊 Key Changes

  • Added explicit OpenCV Python version requirement in the Dockerfile.

🎯 Purpose & Impact

  • 🚀 Ensures compatibility: By fixing the OpenCV version, potential compatibility issues with future releases are pre-empted.
  • 🔧 More stable builds: This can help in maintaining more stable builds for YOLOv5 Docker images.
  • 💡 User confidence: Users can be confident that the Docker image will work out-of-the-box without version conflicts.

@glenn-jocher glenn-jocher self-assigned this Jun 9, 2022
@glenn-jocher glenn-jocher merged commit 6adc53b into master Jun 9, 2022
@glenn-jocher glenn-jocher deleted the test/docker branch June 9, 2022 20:45
tdhooghe pushed a commit to tdhooghe/yolov5 that referenced this pull request Jun 10, 2022
* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update

* Update
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.

None yet

1 participant