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

harness-race
/
pi-r2

Object Detection
Transformers
Safetensors
PyTorch
detr
vision
document-layout-analysis
Model card Files Files and versions
xet
Community

Instructions to use harness-race/pi-r2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use harness-race/pi-r2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("object-detection", model="harness-race/pi-r2")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForObjectDetection
    
    processor = AutoImageProcessor.from_pretrained("harness-race/pi-r2")
    model = AutoModelForObjectDetection.from_pretrained("harness-race/pi-r2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
pi-r2 / figures
5.3 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
davanstrien's picture
davanstrien HF Staff
validation sample predictions
4823c84 verified 1 day ago
  • sample_0.png
    1.48 MB
    xet
    validation sample predictions 1 day ago
  • sample_1.png
    1.38 MB
    xet
    validation sample predictions 1 day ago
  • sample_2.png
    2.44 MB
    xet
    validation sample predictions 1 day ago