Comments (5)
Hi, does the prune_low_magnitude function work with the depthwise_conv2d layers in mobilenet? I can only seem to get pruning results for just the normal conv2d layer.
from model-optimization.
A late update that instead of opensourcing it under this Github repo, we'll be integrating with TensorFlow Official Models. We'll update when it's ready to look at and use.
from model-optimization.
@faportillo : pruning supports the depthwise_conv2d layers, but doesn't actually prune them by default (see https://github.com/tensorflow/model-optimization/blob/master/tensorflow_model_optimization/python/core/sparsity/keras/prune_registry.py#L44).
In the future, for a feature request like this, please make comments only regarding the progress / scope / needs of the feature request. A question on how pruning handles mobilenet in general is better suited in a separate thread. Thanks!
from model-optimization.
Hi,
Currently trying to prune Mobilenet V2 model for classification. Can you point to the integrated training script that you used to get the results ?
from model-optimization.
Hi @liyunlu0618 , can you update recent status? Feel free to close this
from model-optimization.
Related Issues (20)
- batch norm layer quantization error HOT 2
- 16x8 Quantization fails for RNN model - Max and min for dynamic tensors should be recorded during calibration HOT 4
- float16 quantization runs out of memory for LSTM model HOT 3
- float16 quantization runs out of memory for LSTM model HOT 1
- Add a default PruningPolicy that filters out any layers not supported by the API HOT 1
- Add batch norm to default_n_bit_quantize_registry and default_8_bit_quantize_registry HOT 2
- Quant aware training in tensorflow model optimization HOT 4
- [COLAB] No module named 'tensorflow_model_optimization' HOT 1
- Module Import Error HOT 2
- A error about quantization aware training HOT 2
- MobileNetV3 QAT TFLite Conversion Issue HOT 4
- Error in MovingAverageQuantizer with per_axis=True due to missing parameters in _add_range_weights
- strange behavior when quantizing a model. HOT 2
- Support for Recurrent layers for Quantization Aware Training. HOT 1
- Can't use TFMOT version 0.8.0 due to missing dependency HOT 1
- Any plans to support keras3? HOT 3
- Cannot use Quantize layer and use abstract class and methods HOT 1
- Custom layer with Concat afterwards causes an error during QAT modeling HOT 3
- Failed quantization of dilated convolution layers: tensorflow or tensorflow-model-optimization bug?
- Per-tensor QAT model Conv2d+BN+relu folding issue
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 model-optimization.