How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="Poliandr/russian-cities")
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("Poliandr/russian-cities")
model = AutoModelForImageClassification.from_pretrained("Poliandr/russian-cities")
Quick Links

russian-cities

Эта модель призвана распознавать картинки пяти наиболее известных городов России: Москвы, Санкт-Петербурга, Калининграда, Екатеринбурга, Смоленска. Модель обучена на 150 картинках для каждого города, найденных поисковой машиной по названию города.

Примеры картинок из датасета

Kaliningrad

Kaliningrad

Moscow

Moscow

Saint-Petersburg

Saint-Petersburg

Smolensk

Smolensk

Yekaterinburg

Yekaterinburg

Downloads last month
1
Safetensors
Model size
85.8M params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Evaluation results