rishitdagli/cppe-5
Viewer • Updated • 1.03k • 1.25k • 23
How to use clp/detr-resnet-50_finetuned_cppe5 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("object-detection", model="clp/detr-resnet-50_finetuned_cppe5", device_map="auto") # Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("clp/detr-resnet-50_finetuned_cppe5")
model = AutoModelForObjectDetection.from_pretrained("clp/detr-resnet-50_finetuned_cppe5", device_map="auto")# Load model directly
from transformers import AutoImageProcessor, AutoModelForObjectDetection
processor = AutoImageProcessor.from_pretrained("clp/detr-resnet-50_finetuned_cppe5")
model = AutoModelForObjectDetection.from_pretrained("clp/detr-resnet-50_finetuned_cppe5", device_map="auto")This model is a fine-tuned version of clp/detr-resnet-50_finetuned_cppe5 on the cppe-5 dataset.
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="clp/detr-resnet-50_finetuned_cppe5", device_map="auto")