Training in progress, epoch 0 f196696
frncscp commited on
How to use frncscp/focalnet-small-patacon with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="frncscp/focalnet-small-patacon")
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("frncscp/focalnet-small-patacon")
model = AutoModelForImageClassification.from_pretrained("frncscp/focalnet-small-patacon", device_map="auto")