Run this model with HF Jobs
Run SpotLab/YOLOv8Detection on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/SpotLab/YOLOv8Detection. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/SpotLab/YOLOv8Detection on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use SpotLab/YOLOv8Detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SpotLab/YOLOv8Detection with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="SpotLab/YOLOv8Detection")# pip install -U transformers accelerate # Load model directly from transformers import Yolov8ForObjectDetection model = Yolov8ForObjectDetection.from_pretrained("SpotLab/YOLOv8Detection", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Jaime García Villena commited on
Commit ·
a9623eb
1
Parent(s): 9bf782e
Revert "Export with nms"
Browse filesThis reverts commit 9bf782e2024e67e375f56d24bf75654f7fd2f8c0.
Files changed (10)
- scripts/yolo_export.py+1-1
- tflite_model.tflite+2-2
- yolov8n.onnxDeleted-3
- yolov8n_saved_model/fingerprint.pb+2-2
- yolov8n_saved_model/metadata.yaml+1-1
- yolov8n_saved_model/saved_model.pb+2-2
- yolov8n_saved_model/variables/variables.data-00000-of-00001
- yolov8n_saved_model/variables/variables.index
- yolov8n_saved_model/yolov8n_float16.tflite+2-2
- yolov8n_saved_model/yolov8n_float32.tflite+2-2
1 unmodified line2345561 unmodified line
if __name__ == '__main__': model = YOLO('yolov8n.pt') model.export(format = 'saved_model', keras = True, nms = True) model.export(format = 'saved_model', keras = True) model.export(format = 'tflite')12323version https://git-lfs.github.com/spec/v1oid sha256:b13418ee566ac4121255c10ee637dee941b05c9a016bff0cb1df7605ac118517size 12771140oid sha256:435e0b6375a32b862ed30cb630256d5dbefb9597c53c87125a66e44ab26cfd68size 12771680123version https://git-lfs.github.com/spec/v1oid sha256:dd48a79dd7fec8ca25fde4eca742ff7bca23b27e2e903eb23bc1d9f83a459bd2size 1276972012323version https://git-lfs.github.com/spec/v1oid sha256:19538f77d59c52d3bee4a142041beb5720ac11f9fcebf8470c851e8233325304size 57oid sha256:3b3492909f2891a54e9151b18733a1d42d514bea74240f213228f33eac6a017asize 5612344567description: Ultralytics YOLOv8n model trained on coco.yamlauthor: Ultralyticslicense: AGPL-3.0 https://ultralytics.com/licensedate: '2023-10-09T16:34:49.387216'date: '2023-10-06T15:50:35.220556'version: 8.0.192stride: 32task: detect12323version https://git-lfs.github.com/spec/v1oid sha256:39a72e2b0c3a7d9a0f08e52ea6efdbf8fe2015659890d0ada68ef665c93e9683size 12911765oid sha256:f23f3eda89025c6d1da3916c7fed1a50179bb9182aedca2d6a74ba0f39fb2a23size 1291375712323version https://git-lfs.github.com/spec/v1oid sha256:b5698bc8400501513ac81225f9b8ba86c9f03524e87544f26e52e2791b556c16size 6433988oid sha256:72e4cbf64265e974923d6b723a2be1d1deeacbdc74aa770e5e82a9f0b753c645size 643453212323version https://git-lfs.github.com/spec/v1oid sha256:b13418ee566ac4121255c10ee637dee941b05c9a016bff0cb1df7605ac118517size 12771140oid sha256:435e0b6375a32b862ed30cb630256d5dbefb9597c53c87125a66e44ab26cfd68size 12771680scripts/yolo_export.py+1-1
tflite_model.tflite+2-2
yolov8n.onnxDeleted-3
yolov8n_saved_model/fingerprint.pb+2-2
yolov8n_saved_model/metadata.yaml+1-1
yolov8n_saved_model/saved_model.pb+2-2
yolov8n_saved_model/variables/variables.data-00000-of-00001
yolov8n_saved_model/variables/variables.index
yolov8n_saved_model/yolov8n_float16.tflite+2-2
yolov8n_saved_model/yolov8n_float32.tflite+2-2