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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

hustvl
/
yolos-small-300

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

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

  • Libraries
  • Transformers

    How to use hustvl/yolos-small-300 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("object-detection", model="hustvl/yolos-small-300")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForObjectDetection
    
    processor = AutoImageProcessor.from_pretrained("hustvl/yolos-small-300")
    model = AutoModelForObjectDetection.from_pretrained("hustvl/yolos-small-300", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
yolos-small-300
246 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 11 commits
nielsr's picture
nielsr HF Staff
Update preprocessor_config.json
720d7bc verified over 2 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • README.md
    4.19 kB
    Update README.md over 2 years ago
  • config.json
    4.13 kB
    add model over 4 years ago
  • model.safetensors
    123 MB
    xet
    Adding `safetensors` variant of this model (#1) about 3 years ago
  • preprocessor_config.json
    291 Bytes
    Update preprocessor_config.json over 2 years ago
  • pytorch_model.bin
    123 MB
    xet
    add model over 4 years ago