Description
Thank you for this excellent implementation of your CVPR 2020 paper! The repository has been very useful for the crowd detection community.
Issue
The current codebase was developed with older PyTorch versions (around PyTorch 1.x era based on the last update in 2021). As PyTorch has evolved significantly with 2.0+ releases introducing features like torch.compile() and optimized memory management, users may encounter compatibility issues or miss optimization opportunities.
Suggested Improvements
- Update dependencies documentation: Add a section specifying tested PyTorch versions and CUDA compatibility
- Migration guide: Provide guidance for users wanting to use PyTorch 2.0+ features
- Compatibility notes: Document any known breaking changes or deprecated APIs
- Optional optimizations: Suggest how to leverage PyTorch 2.0's
torch.compile() for potential speed improvements
Benefits
- Helps new users avoid version compatibility issues
- Extends the useful life of this valuable research code
- Enables community to leverage modern PyTorch optimizations
- Reduces duplicate issues about dependency conflicts
Example Structure
A simple addition to README.md:
### Tested Environments
- PyTorch 1.x: Fully tested (original implementation)
- PyTorch 2.0+: Community reported working with minor adjustments
Thank you for considering this enhancement!
Description
Thank you for this excellent implementation of your CVPR 2020 paper! The repository has been very useful for the crowd detection community.
Issue
The current codebase was developed with older PyTorch versions (around PyTorch 1.x era based on the last update in 2021). As PyTorch has evolved significantly with 2.0+ releases introducing features like
torch.compile()and optimized memory management, users may encounter compatibility issues or miss optimization opportunities.Suggested Improvements
torch.compile()for potential speed improvementsBenefits
Example Structure
A simple addition to README.md:
Thank you for considering this enhancement!