v2.0.15 - Enable trilinear mode calculation in Upsample (#87)
🌟 Summary
This release introduces support for trilinear upsampling in model profiling, alongside several workflow and documentation improvements for better usability, security, and contributor experience. 🚀
📊 Key Changes
- Trilinear Upsample Support: Added calculation for trilinear mode in the Upsample layer, enabling accurate profiling of models that use 3D upsampling. 🧊
- Workflow Enhancements:
- Improved GitHub Actions workflows for code formatting, labeling, and security permissions. 🔒
- Automated Contributor License Agreement (CLA) checks for all pull requests to ensure compliance. 🤝
- Documentation Updates: Expanded and clarified README and benchmarking documentation for easier onboarding and better understanding of MACs vs. FLOPs. 📚
🎯 Purpose & Impact
- Broader Model Support: With trilinear upsampling now profiled, users working on 3D models (such as medical imaging or volumetric data) get more accurate computational metrics, making THOP more versatile. 🩻
- Smoother Contributions: Automated CLA checks and improved workflow automation make it easier and safer for new contributors to participate, while maintainers benefit from streamlined processes.
- Better Transparency & Usability: Enhanced documentation and clearer workflow permissions help both new and experienced users understand and use the tool more effectively, while also improving repository security and compliance.
Overall, this update makes THOP more robust, user-friendly, and ready for a wider range of deep learning projects! 🌐✨
What's Changed
- Ultralytics Refactor https://ultralytics.com/actions by @pderrenger in #83
- Ultralytics Refactor https://ultralytics.com/actions by @pderrenger in #84
- Add Permissions to Ultralytics Actions
format.ymlby @glenn-jocher in #85 - Potential fix for code scanning alert no. 1: Workflow does not contain permissions by @glenn-jocher in #86
- Create cla.yml by @glenn-jocher in #88
- Update cla.yml by @glenn-jocher in #89
- Enable trilinear mode calculation in Upsample by @FrzMtrsprt in #87
New Contributors
- @FrzMtrsprt made their first contribution in #87
Full Changelog: v2.0.14...v2.0.15