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

AdamCodd
/
yolos-small-person

Object Detection
Transformers.js
ONNX
Safetensors
Transformers
yolos
vision
Model card Files Files and versions
xet
Community
3

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

  • Libraries
  • Transformers.js

    How to use AdamCodd/yolos-small-person with Transformers.js:

    // npm i @huggingface/transformers
    import { pipeline } from '@huggingface/transformers';
    
    // Allocate pipeline
    const pipe = await pipeline('object-detection', 'AdamCodd/yolos-small-person');
  • Transformers

    How to use AdamCodd/yolos-small-person with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("object-detection", model="AdamCodd/yolos-small-person")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForObjectDetection
    
    processor = AutoImageProcessor.from_pretrained("AdamCodd/yolos-small-person")
    model = AutoModelForObjectDetection.from_pretrained("AdamCodd/yolos-small-person", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
yolos-small-person
3.93 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 88 commits
AdamCodd's picture
AdamCodd
Adding ONNX file of this model
01b3896 verified over 2 years ago
  • checkpoints
    Upload checkpoints/checkpoint_epoch_4_step_1302.pt with huggingface_hub over 2 years ago
  • onnx
    Adding ONNX file of this model over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    4.71 kB
    Update README.md over 2 years ago
  • config.json
    818 Bytes
    Update config.json over 2 years ago
  • model.safetensors
    123 MB
    xet
    Upload model.safetensors with huggingface_hub over 2 years ago
  • preprocessor_config.json
    323 Bytes
    Update preprocessor_config.json over 2 years ago