ONNX Model Zoo

openfoodfacts/crop-detection

By openfoodfacts · ↓ 7 · ♥ 0 · Updated 2024-09-27

What's in this repo

This page lists the files in openfoodfacts/crop-detection, including best.onnx.

  • 1 ONNX models (.onnx files)
  • 44 files, including 16 .jpg, 13 .png, 2 .yaml, 2 .pt, 2 .tflite, 2 .pb
  • Last updated 2024-09-27

ONNX files

File Size Download
weights/best.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README


base_model: Ultralytics/YOLOv8 license: agpl-3.0 datasets:

  • openfoodfacts/crop-detection-dataset

Crop detection

When contributors use the mobile app, they are asked to take pictures of the product, then to crop it. To assist users during the process, we create a crop-detection model desin to detect the product edges.

The base model, Yolov8n, was fine-tuned on manually annotated images extracted from the Open Food Facts database using Label Studio. The explanation about the image extraction can be found in the Product Opener documentation.

My Image

Evaluation metric:

  • mAP50_95: 0.895

Model info

tf-keras
tf-keras tflite tensorboard onnx dataset:openfoodfacts/crop-detection-dataset base_model:Ultralytics/YOLOv8 base_model:quantized:Ultralytics/YOLOv8 license:agpl-3.0 region:us
↓ 7 ♥ 0

Created: 2024-09-27

Updated: 2024-09-27

View on Hugging Face

Files (44)

.gitattributes
README.md
args.yaml
events.out.tfevents.1727424768.ip-10-192-12-149.2978.0
images/F1_curve.png
images/PR_curve.png
images/P_curve.png
images/R_curve.png
images/confusion_matrix.png
images/confusion_matrix_normalized.png
images/labels.jpg
images/labels_correlogram.jpg
images/results.png
images/train_batch0.jpg
images/train_batch1.jpg
images/train_batch2.jpg
images/train_batch950.jpg
images/train_batch951.jpg
images/train_batch952.jpg
images/val_batch0_labels.jpg
images/val_batch0_pred.jpg
results.csv
val/F1_curve.png
val/PR_curve.png
val/P_curve.png
val/R_curve.png
val/confusion_matrix.png
val/confusion_matrix_normalized.png
val/val_batch0_labels.jpg
val/val_batch0_pred.jpg
val/val_batch1_labels.jpg
val/val_batch1_pred.jpg
val/val_batch2_labels.jpg
val/val_batch2_pred.jpg
weights/best.onnx ONNX
weights/best.pt
weights/best_saved_model/best_float16.tflite
weights/best_saved_model/best_float32.tflite
weights/best_saved_model/fingerprint.pb
weights/best_saved_model/metadata.yaml
weights/best_saved_model/saved_model.pb
weights/best_saved_model/variables/variables.data-00000-of-00001
weights/best_saved_model/variables/variables.index
weights/last.pt

Related models