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

facebook
/
detr-resnet-50

Object Detection
Transformers
PyTorch
Safetensors
detr
vision
Model card Files Files and versions
xet
Community
26

Instructions to use facebook/detr-resnet-50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use facebook/detr-resnet-50 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("object-detection", model="facebook/detr-resnet-50")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForObjectDetection
    
    processor = AutoImageProcessor.from_pretrained("facebook/detr-resnet-50")
    model = AutoModelForObjectDetection.from_pretrained("facebook/detr-resnet-50")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
detr-resnet-50
Ctrl+K
Ctrl+K
  • 3 contributors
History: 24 commits
nielsr's picture
nielsr HF Staff
Update preprocessor_config.json
1d5f47b verified about 2 years ago
  • .gitattributes
    744 Bytes
    Adding `safetensors` variant of this model (#12) about 2 years ago
  • README.md
    5.89 kB
    Update README.md over 2 years ago
  • config.json
    4.59 kB
    Update config.json over 4 years ago
  • model.safetensors
    167 MB
    xet
    Adding `safetensors` variant of this model (#12) about 2 years ago
  • preprocessor_config.json
    290 Bytes
    Update preprocessor_config.json about 2 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    167 MB
    xet
    Simplify backbone almost 5 years ago