mmdetection
mmdetection copied to clipboard
fix: update requirements with version pins and add opencv-python
Description
This PR updates the requirements files with version pins and adds missing dependencies to improve installation reliability and consistency.
Changes
- Added version pins to all dependencies in
requirements/runtime.txt - Added
opencv-pythonto runtime requirements as it's commonly used - Added version pins to all dependencies in
requirements/optional.txt
Benefits
- Prevents dependency conflicts
- Makes the installation process more reliable
- Ensures consistent behavior across different environments
- Makes it easier for new contributors to set up their development environment
Testing
The changes have been tested by:
- Verifying all version pins are valid and available on PyPI
- Ensuring the added dependencies are compatible with the existing codebase
Hey 👋 We've updated 7 core repos (MMDetection, MMSegmentation, and others) to work with the latest PyTorch and made them production-ready for our AI platform.
We're committed to maintaining these repos going forward and encourage you to contribute features through pull requests.
Check them out if you need PyTorch (or other) compatibility: https://github.com/VBTI-development —feedback welcome!
This includes updating versions of most dependencies.