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

Đang mở
#933 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
18/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
machine-learning

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Jupyter Notebook
Star
5.3k
Fork
1.7k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tensorflow/tpu

Tất cả issue của tensorflow/tpu

Issue tương tự

Thêm issue về Machine Learning

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.