How to use ChiJuiChen/Lab8_DETR_BOAT_Aug_trainlong with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("object-detection", model="ChiJuiChen/Lab8_DETR_BOAT_Aug_trainlong")
# Load model directly from transformers import AutoImageProcessor, AutoModelForObjectDetection processor = AutoImageProcessor.from_pretrained("ChiJuiChen/Lab8_DETR_BOAT_Aug_trainlong") model = AutoModelForObjectDetection.from_pretrained("ChiJuiChen/Lab8_DETR_BOAT_Aug_trainlong")
How to fix it?