Instructions to use microsoft/conditional-detr-resnet-50 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use microsoft/conditional-detr-resnet-50 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="microsoft/conditional-detr-resnet-50")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, ConditionalDETRForObjectDetection processor = AutoImageProcessor.from_pretrained("microsoft/conditional-detr-resnet-50") model = ConditionalDETRForObjectDetection.from_pretrained("microsoft/conditional-detr-resnet-50", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update preprocessor_config.json
Verified signature8f8795f
-
Update preprocessor_config.json
Verified signature465a617 -
Adding `safetensors` variant of this model (#2)
Verified signature- Adding `safetensors` variant of this model (b13f6099723a23183f76812e31ea9b33722d3348) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>16678f9
-
Update README.md
dc65c96
-
Added model card (#1)
- Added model card (929b4d52ebef7a4ca841117bb646ab0fbd2cd644) Co-authored-by: Depu Meng <DepuMeng@users.noreply.huggingface.co>18819d6
-
add preprocess config
98c92d9
-
Add model
5a30e93 -
initial commit
172bf84