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
For mobile application development
#21
by abhishek377 - opened
Hello, can anyone please help how to use this model in android kotlin.
Hello, can anyone please help how to use this model in android kotlin.
Im pretty sure its prolly the same procedure as other hugging face models if you have used it. If not use Retrofit and OkHttp with using Flask in python as backend and fetch responses. If you havent used any hugging face ai model with android check out my repo https://github.com/Ibra2k/Ai-Image-Generator. If you want more help reach out to me on discord (pingu4515).