--- title: Raspberry pi tensorflow 最佳化 tags: Raspberry Pi --- # Raspberry pi tensorflow 最佳化 轉換 tflite 要用最新的 tf-nightly [prebuild tflite](https://github.com/PINTO0309/TensorflowLite-bin) [model zoo](https://github.com/PINTO0309/PINTO_model_zoo) 解釋為什麼 int8 量化後速度反而變慢 https://github.com/tensorflow/tensorflow/issues/21698#issuecomment-414764709 resnet50 (int8) + efficentdetB0 (int8) threads 4 每次花費約1.3秒 efficentdetB0的部分花0.9秒(900ms) EifficentDet(EfficientNet-L0) 花費0.547秒(549ms) efficientnet-lite0(301,301)運作花費0.29秒(290ms)