Trouble replicating 77.0% accuracy with the quantized version of EfficientNet-EdgeTPU-S

オープン
#933 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
18/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞

調査の方向性

The question concerns the preprocessing in efficientnet/preprocessing.py (the center-crop and resize to 224) and the mean/std normalization in efficientnet/main.py, both at the commit linked in the issue. Start by reading how the reference eval pipeline preprocesses ImageNet validation images, then compare it with the reporter's pipeline on a small subset of the quantized .tflite model. Done means finding which preprocessing difference accounts for the gap between 51.58% and 77.0%, or documenting the correct settings.

索引モデルが issue の本文から書いたものです。

説明

Hi,

I have been evaluating the quantized .tflite version of EfficientNet-EdgeTPU-S against the ImageNet validation set on my CPU. I have only managed to reach 51.58% accuracy and can't find why I am not seeing 77.0% accuracy.

I have found that normalizing the images by subtracting and dividing the image RGB values by the mean and standard deviation RGB values has only decreased the accuracy for the quantized version of the model. My general preprocessing approach has been cropping the image from the center and resizing the image to 224 by 224, which I got from here.

I believe that the reason for such low accuracy may be due to the preprocessing method that I am using but I am interested in receiving feedback on how to increase the accuracy when evaluating this model. Any advice?

Thank you

主要言語
Jupyter Notebook
スター
5.3k
フォーク
1.7k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

tensorflow/tpu のほかの issue

tensorflow/tpu の issue をすべて見る

似ている issue

Machine Learning の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。