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
How to apply hyperparameter tuning to the model?
#23
by lonngg-3260 - opened
Hi, I have trained the model on a custom dataset. I would like to know is it able to conduct hyperparameter tuning on the model? Thank you
Hi,
If you follow this guide which leverages the Trainer API, you can use hyperparameter tuning as explained here: https://huggingface.co/docs/transformers/en/hpo_train.