martinwholtmon / IT3920-2024-Master-MSIT

Master project for MSIT 2024 - Towards Efficient Human Action Recognition: The Role of Keyframe Selection in Video Processing
MIT License
0 stars 0 forks source link

Add deepspeed profiler and update model complexity calculation #110

Closed martinwholtmon closed 1 week ago

martinwholtmon commented 1 week ago

This pull request adds the deepspeed profiler to the project and updates the flops_counter.py file to calculate model complexity using the deepspeed profiler. Previously, only ptflops and calflops were used for model complexity calculation. With this update, the deepspeed profiler provides additional insights into the model's FLOPs, MACs, and parameters. This enhances the accuracy of the model complexity estimation by using multiple tools to calculate FLOPS