Instructions to use rathi2023/detr-_swny with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rathi2023/detr-_swny with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="rathi2023/detr-_swny")# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("rathi2023/detr-_swny") model = AutoModelForObjectDetection.from_pretrained("rathi2023/detr-_swny") - Notebooks
- Google Colab
- Kaggle