ialhashim / DenseDepth

High Quality Monocular Depth Estimation via Transfer Learning
https://arxiv.org/abs/1812.11941
GNU General Public License v3.0
1.58k stars 354 forks source link

Quantization #201

Open Geojab opened 2 years ago

Geojab commented 2 years ago

Hi, I was wondering if you had attempted to complete full integer quantization on this model. I am currently attempting to run the model on an EdgeTPU to improve performance but am struggling with the quantization. Do you have any tips on how this can be achieved? I am currently following the TF guide (https://www.tensorflow.org/lite/performance/post_training_integer_quant) but when I try to parse the representative_data_gen the memory overflows.

Thanks in advance for any help.