paper-with-me

Papers

Toward Accurate Post-Training Quantization for Image Super Resolution

2023-01-01 · CVPR 2023 1 · Zhijun Tu, Jie Hu, Hanting Chen, Yunhe Wang

Model quantization is a crucial step for deploying super resolution (SR) networks on mobile devices. However, existing works focus on quantization-aware training, which requires complete dataset and expensive computational overhead. In this paper, we study post-training quantization(PTQ) for image super resolution using only a few unlabeled calibration images. As the SR model aims to maintain the texture and color information of input images, the distribution of activations are long-tailed, asymmetric and highly dynamic compared with classification models. To this end, we introduce the density-based dual clipping to cut off the outliers based on analyzing the asymmetric bounds of activations. Moreover, we present a novel pixel aware calibration method with the supervision of the full-precision model to accommodate the highly dynamic range of different samples. Extensive experiments demonstrate that the proposed method significantly outperforms existing PTQ algorithms on various models and datasets. For instance, we get a 2.091 dB increase on Urban100 benchmark when quantizing EDSRx4 to 4-bit with 100 unlabeled images. Our code is available at both https://github.com/huawei-noah/Efficient-Computing/tree/master/Quantization/PTQ4SR and https://gitee.com/mindspore/models/tree/master/research/cv/PTQ4SR.

📄 PDF Abstract BibTeX

Code (2)

huawei-noah/Efficient-Computing 공식 구현 pytorch
code-implementation1/Code6/tree/main/PTQ4SR mindspore

Tasks

Image Super-ResolutionQuantizationSuper-Resolution

Methods 이 논문이 사용한 방법론

AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…

Similar Papers 제목 키워드 기반

Post-training Quantization for Text-to-Image Diffusion Models with Progressive Calibration and Activation Relaxing

2023-11-10 · Siao Tang, Xin Wang, Hong Chen, Chaoyu Guan 외

High computational overhead is a troublesome problem for diffusion models. Recent studies have leveraged post-training quantization (PTQ) to compress diffusion models. However, most of them only focus on unconditional mo…

Quantization

Post-Training Piecewise Linear Quantization for Deep Neural Networks

2020-01-31 · ECCV 2020 8 · Jun Fang, Ali Shafiee, Hamzah Abdel-Aziz, David Thorsley 외

Quantization plays an important role in the energy-efficient deployment of deep neural networks on resource-limited devices. Post-training quantization is highly desirable since it does not require retraining or access t…

image-classificationImage Classificationobject-detectionObject Detection+2

Towards Accurate Post-training Quantization for Diffusion Models

2023-05-30 · CVPR 2024 1 · Changyuan Wang, Ziwei Wang, Xiuwei Xu, Yansong Tang 외

In this paper, we propose an accurate data-free post-training quantization framework of diffusion models (ADP-DM) for efficient image generation. Conventional data-free quantization methods learn shared quantization func…

Data Free QuantizationImage GenerationQuantization

Towards Accurate Post-training Network Quantization via Bit-Split and Stitching

2020-01-01 · ICML 2020 1 · Peisong Wang, Qiang Chen, Xiangyu He, Jian Cheng

Network quantization is essential for deploying deep models to IoT devices due to the high efficiency, no matter on special hardware like TPU or general hardware like CPU and GPU. Most existing quantization approaches re…

CPUGPUimage-classificationImage Classification+5

An Underexplored Dilemma between Confidence and Calibration in Quantized Neural Networks

2021-11-10 · NeurIPS Workshop ICBINB 2021 12 · Guoxuan Xia, Sangwon Ha, Tiago Azevedo, Partha Maji

Modern convolutional neural networks (CNNs) are known to be overconfident in terms of their calibration on unseen input data. That is to say, they are more confident than they are accurate. This is undesirable if the pro…

Decision MakingQuantization