model-optimization icon indicating copy to clipboard operation
model-optimization copied to clipboard

A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.

Results 228 model-optimization issues
Sort by recently updated
recently updated
newest added

Internal change

technique:qat

**System information** - TensorFlow version (you are using): 2.9.1 - Are you willing to contribute it (Yes/No): Yes **Motivation** Instead of assuming that the initial and final sparsity are uniform...

feature request

**System information** - TensorFlow version (you are using): tensorflow 2.9.1 - Are you willing to contribute it (Yes/No): No **Motivation** The input and resource need interface for customer layer quantization,...

feature request

**Describe the bug** Hello, I want to do full 8-bit quantization(input, weight all 8-bit) to the network with a bilinear upsampling layer. The fake QAT result in validation set is...

bug

I have one subclass A, which contains another subclass B inside it. I find subclass B in fact didn't get quanted. class A (): self.layers=[] self.layers.append(Dense) self.layers.append(class B) class A_quant(A):...

bug

Hi there **Describe the bug** I used [Convert TF Object Detection API model to TFLite](https://colab.research.google.com/github/tensorflow/models/blob/master/research/object_detection/colab_tutorials/convert_odt_model_to_TFLite.ipynb) and tried to modify it, so it is fully int 8 quantized. [Here](https://colab.research.google.com/drive/1XuWniYM6q_0Uffp6SqSC5GUoS4Bd78RM?usp=sharing) is my...

bug

**System information** - `Ubuntu 16.04` - TensorFlow version (you are using): Tried both `2.3.0` and `tf-nightly`(`==2.5.0-dev20210223`) - Are you willing to contribute it (Yes/No): I have tried, but to no...

feature request

I have two model, which is mobilenetv1 for classification. the first model, it's download from google: https://storage.googleapis.com/download.tensorflow.org/models/tflite/mobilenet_v1_224_android_quant_2017_11_08.zip the second model, it's ctreat by myself, I make its layers same to...

**Describe the bug** Please download the scripts to reproduce from : https://drive.google.com/drive/folders/15cajAZ9sAZ2Uyix8sDVSYku6QCqDCec7?usp=sharing Command to run : python sample_qat.py. I have a simple model with input layer and a depthwise conv2d...

bug

**Describe the bug** I have a simple model with input layer and a `SeparableConv2D` layer (note that this issue also happens with `Conv2DTranspose`). I'm quantizing this model by adding `quantize_and_dequantize_v2`...

bug