The code used in this blog post was modified from an open source project, and it is not suitable for students with poor foundation.
This article mainly explains how to use the code, and takes you hand in hand to realize the pruning operation of the YOLOv5 model.
Article directory
0. Environment preparation
Terminal type:
pip install -r requirements.txt -i https