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
Commit ·
1e04523
1
Parent(s): b97fcc5
Upload 2 files
Browse filesFiles changed (2)
- config.jsonAdded+107
- preprocessor_config.jsonAdded+26
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107{ "architectures": [ "SingleShotDetection" ], "id2label": { "0": "person", "1": "bicycle", "2": "car", "3": "motorcycle", "4": "airplane", "5": "bus", "6": "train", "7": "truck", "8": "boat", "9": "traffic light", "10": "fire hydrant", "11": "street sign", "12": "stop sign", "13": "parking meter", "14": "bench", "15": "bird", "16": "cat", "17": "dog", "18": "horse", "19": "sheep", "20": "cow", "21": "elephant", "22": "bear", "23": "zebra", "24": "giraffe", "25": "hat", "26": "backpack", "27": "umbrella", "28": "shoe", "29": "eye glasses", "30": "handbag", "31": "tie", "32": "suitcase", "33": "frisbee", "34": "skis", "35": "snowboard", "36": "sports ball", "37": "kite", "38": "baseball bat", "39": "baseball glove", "40": "skateboard", "41": "surfboard", "42": "tennis racket", "43": "bottle", "44": "plate", "45": "wine glass", "46": "cup", "47": "fork", "48": "knife", "49": "spoon", "50": "bowl", "51": "banana", "52": "apple", "53": "sandwich", "54": "orange", "55": "broccoli", "56": "carrot", "57": "hot dog", "58": "pizza", "59": "donut", "60": "cake", "61": "chair", "62": "couch", "63": "potted plant", "64": "bed", "65": "mirror", "66": "dining table", "67": "window", "68": "desk", "69": "toilet", "70": "door", "71": "tv", "72": "laptop", "73": "mouse", "74": "remote", "75": "keyboard", "76": "cell phone", "77": "microwave", "78": "oven", "79": "toaster", "80": "sink", "81": "refrigerator", "82": "blender", "83": "book", "84": "clock", "85": "vase", "86": "scissors", "87": "teddy bear", "88": "hair drier", "89": "toothbrush", "90": "hair brush" }, "layer_norm_eps": 0.001, "min_depth": 8, "model_type": "mobilenet_v2", "num_channels": 3, "output_stride": 32, "semantic_loss_ignore_index": 255, "tf_padding": true, "torch_dtype": "float32", "transformers_version": "4.33.3"}1234567891011121314151617181920212223242526{ "crop_size": { "height": 320, "width": 320 }, "do_center_crop": true, "do_normalize": true, "do_rescale": true, "do_resize": true, "image_mean": [ 0.0, 0.0, 0.0 ], "image_processor_type": "MobileNetV2ImageProcessor", "image_std": [ 1.0, 1.0, 1.0 ], "resample": 2, "rescale_factor": 0.00392156862745098, "size": { "shortest_edge": 256 }}config.jsonAdded+107
preprocessor_config.jsonAdded+26