Comments (7)
It's just that it works better.
from yolov5_prune.
You should conduct sufficient sparse training to ensure that there are many BN coefficients that tend to 0, so that this problem will not occur.
from yolov5_prune.
- What is the criterion of being sufficient?
- And although the map goes up steadily, l1 regularization can reverse the current sparsity calculation? Thank you for your reply
from yolov5_prune.
2.I don't quite understand what this problem is.
from yolov5_prune.
- I'm sorry, but where can I look that picture? Does it save every epoch?
- During sparse training, my mAP rose stably from 0.5 to 0.65, for 20 epochs. Then, even if I increase the epoch, it becomes a saturation in the present, so isn't there much difference in BN sparsity Compared to 20 epochs, ?
from yolov5_prune.
- As you can see from your Tensorboard, this picture represents the distribution of the BN coefficient.
- Strangely, when I carry out sparse training, the mAP will drop. I guess your sparseness coefficient is too small to achieve the effect of sparse training. If the sparsity training is successful, it can be seen that most of the BN coefficients in the distribution map tend to 0. So the longer you train, the more coefficients tend to 0.
from yolov5_prune.
@uyzhang Thank you for your quick answerI
'll give it a try and tell you
In addition, BN bias also does l1 regualization in this repo, and then 10 times... Is there a reason why the origin paper only does the scaling factor?
from yolov5_prune.
Related Issues (11)
- coco-hand and coco basic training command difference HOT 3
- Facing issue to convert pruned model to tflite model
- error
- question about sparsity training gpu memory HOT 2
- 稀疏训练epoch设置的更大,在同样的剪枝率下剪枝的结果反而更差! HOT 3
- YOLOv5m6,l6这些模型也可以用这个代码剪枝吗 HOT 1
- Can't get attribute 'DetectionModel' on <module 'models.yolo' from '/content/yolov5/yolov5_prune/models/yolo.py'> HOT 1
- yolo.py中parse_pruned_model 获取每层剩余通道数疑问
- 剪枝报错stride[1,1] HOT 1
- Pruned model not able to detect object in image HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yolov5_prune.