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