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