YOLOS is a Vision Transformer (ViT) trained using the DETR loss. Despite its simplicity, a base-sized YOLOS model is able to achieve 42 AP on COCO validation 2017 (similar to DETR and more complex frameworks such as Faster R-CNN).
Intended uses & limitations
You can use the raw model for object detection. See the
model hub
to look for all available YOLOS models.
How to use
Here is how to use this model:
from transformers import YolosFeatureExtractor, YolosForObjectDetection
from PIL import Image
import requests
url = 'https://drive.google.com/uc?id=1p9wJIqRz3W50e2f_A0D8ftla8hoXz4T5'
image = Image.open(requests.get(url, stream=True).raw)
feature_extractor = YolosFeatureExtractor.from_pretrained('nickmuchi/yolos-small-rego-plates-detection')
model = YolosForObjectDetection.from_pretrained('nickmuchi/yolos-small-rego-plates-detection')
inputs = feature_extractor(images=image, return_tensors="pt")
outputs = model(**inputs)
# model predicts bounding boxes and corresponding face mask detection classes
logits = outputs.logits
bboxes = outputs.pred_boxes
Currently, both the feature extractor and model support PyTorch.
Training data
The YOLOS model was pre-trained on
ImageNet-1k
and fine-tuned on
COCO 2017 object detection
, a dataset consisting of 118k/5k annotated images for training/validation respectively.
yolos-small-rego-plates-detection huggingface.co is an AI model on huggingface.co that provides yolos-small-rego-plates-detection's model effect (), which can be used instantly with this nickmuchi yolos-small-rego-plates-detection model. huggingface.co supports a free trial of the yolos-small-rego-plates-detection model, and also provides paid use of the yolos-small-rego-plates-detection. Support call yolos-small-rego-plates-detection model through api, including Node.js, Python, http.
yolos-small-rego-plates-detection huggingface.co is an online trial and call api platform, which integrates yolos-small-rego-plates-detection's modeling effects, including api services, and provides a free online trial of yolos-small-rego-plates-detection, you can try yolos-small-rego-plates-detection online for free by clicking the link below.
nickmuchi yolos-small-rego-plates-detection online free url in huggingface.co:
yolos-small-rego-plates-detection is an open source model from GitHub that offers a free installation service, and any user can find yolos-small-rego-plates-detection on GitHub to install. At the same time, huggingface.co provides the effect of yolos-small-rego-plates-detection install, users can directly use yolos-small-rego-plates-detection installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
yolos-small-rego-plates-detection install url in huggingface.co: