Skip to content

Docker GPU pip install opencv-python<4.6.0.66#8164

Merged
glenn-jocher merged 11 commits intomasterfrom
test/docker
Jun 9, 2022
Merged

Docker GPU pip install opencv-python<4.6.0.66#8164
glenn-jocher merged 11 commits intomasterfrom
test/docker

Conversation

@glenn-jocher
Copy link
Copy Markdown
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.

1 participant