Instructions to use Roboflow/rf-detr-segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Roboflow/rf-detr-segmentation with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-segmentation", model="Roboflow/rf-detr-segmentation")# Load model directly from transformers import AutoImageProcessor, RfDetrForInstanceSegmentation processor = AutoImageProcessor.from_pretrained("Roboflow/rf-detr-segmentation") model = RfDetrForInstanceSegmentation.from_pretrained("Roboflow/rf-detr-segmentation") - Notebooks
- Google Colab
- Kaggle
Update preprocessor_config.json
#1 opened about 17 hours ago
by
yonigozlan