Livingwithmachines/MapReader_Data_SIGSPATIAL_2022
Updated • 208 • 2
How to use davanstrien/autotrain-mapreader-5000-40830105612 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="davanstrien/autotrain-mapreader-5000-40830105612")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("davanstrien/autotrain-mapreader-5000-40830105612")
model = AutoModelForImageClassification.from_pretrained("davanstrien/autotrain-mapreader-5000-40830105612")Image classification model trained to predict whether a patch of a historic map contains 'railspace' or not. See the dataset used for training for more information on the labels.