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