Comments (1)
After the Tick-Tock phase, the gate is set to zero, but the filter is still preserved. To get the pruned network, you need to "melt" those useless filters. You can save the pruned model after "melt".
gate-decorator-pruning/run/vgg16/vgg16_prune_demo.py
Lines 115 to 118 in 4f87596
from gate-decorator-pruning.
Related Issues (20)
- 如果我的网络最后一层是卷积层,我应该怎么去修改Conv2dObserver中的代码呢?谢谢 HOT 1
- please reply issue#8 HOT 1
- Sparse Structure Selection (ECCV 2018) HOT 1
- 关于Conv2dObserver里out_mask的疑问 HOT 3
- AttributeError: 'Resnet50' object has no attribute 'classifier' HOT 3
- TypeError: Object of type 'Config' is not JSON serializable HOT 6
- if no bn layer in vgg16, can gate decorator pruning work properly?can you give an example? HOT 3
- Why is the pruning not working on Multi-GPU?
- what is Meltable. observe is doing
- About the code of model training on CUB,where can I find it ? HOT 1
- Resnet50 for Imagenet HOT 3
- Any idea to apply this to a object detection model
- Can you provide the pruned resnet50 model HOT 1
- convolution layer with cardinality HOT 4
- Question about backward hook
- 怎么正确加载剪枝完的pth模型呢
- 如果我的输出是多个,并且是我自己定义的函数,我应该怎么修改呢?
- MACs vs. Flops HOT 2
- question HOT 4
- 最后一层是卷积层,该如何去操作?谢谢
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 gate-decorator-pruning.