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

Revert protobuf<=3.20.1 #8742

Merged
merged 1 commit into from
Jul 27, 2022
Merged

Revert protobuf<=3.20.1 #8742

merged 1 commit into from
Jul 27, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Jul 27, 2022

Resolve #8012 (again)

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Adjustment of protobuf version requirements for better compatibility.

πŸ“Š Key Changes

  • Modified the required protobuf version in requirements.txt from <4.21.3 to <=3.20.1.

🎯 Purpose & Impact

  • πŸ›  This change aims to address compatibility issues highlighted in issue Cant start training: TypeError: Descriptors cannot not be created directly.Β #8012.
  • πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» Users can expect more stable installations and fewer conflicts with this specific dependency when setting up YOLOv5.
  • πŸ”„ Ensuring a specific version of protobuf may prevent potential bugs that could arise from newer, untested versions.

@glenn-jocher glenn-jocher merged commit 3e85863 into master Jul 27, 2022
@glenn-jocher glenn-jocher deleted the glenn-jocher-patch-1 branch July 27, 2022 15:27
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
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.

Cant start training: TypeError: Descriptors cannot not be created directly.
1 participant