Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

hustvl
/
yolos-tiny

Object Detection
Transformers
PyTorch
Safetensors
yolos
vision
Model card Files Files and versions
xet
Community
10

Instructions to use hustvl/yolos-tiny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use hustvl/yolos-tiny with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("object-detection", model="hustvl/yolos-tiny")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForObjectDetection
    
    processor = AutoImageProcessor.from_pretrained("hustvl/yolos-tiny")
    model = AutoModelForObjectDetection.from_pretrained("hustvl/yolos-tiny")
  • Notebooks
  • Google Colab
  • Kaggle
yolos-tiny
52 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 12 commits
nielsr's picture
nielsr HF Staff
Update preprocessor_config.json
95a90f3 verified about 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#5) almost 3 years ago
  • README.md
    4.62 kB
    updated the How to use section so that the code actually does what the live demo does (#4) about 3 years ago
  • config.json
    4.13 kB
    add model about 4 years ago
  • model.safetensors
    26 MB
    xet
    Adding `safetensors` variant of this model (#5) almost 3 years ago
  • preprocessor_config.json
    291 Bytes
    Update preprocessor_config.json about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2",
    • "torch.FloatStorage"

    What is a pickle import?

    26 MB
    xet
    add model about 4 years ago