Instructions to use smp111/terrain_recognition with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use smp111/terrain_recognition with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="smp111/terrain_recognition") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("smp111/terrain_recognition") model = AutoModelForImageClassification.from_pretrained("smp111/terrain_recognition", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from smp111/terrain_recognition: direct link, hf CLI and curl.
- Browser
- Download file 829 Bytes
-
https://huggingface.co/smp111/terrain_recognition/resolve/main/README.md
- Command line
-
hf download hf://smp111/terrain_recognition/README.md
-
curl -L -o README.md https://huggingface.co/smp111/terrain_recognition/resolve/main/README.md
829 Bytes
metadata
tags:
- image-classification
- pytorch
- huggingpics
metrics:
- accuracy
model-index:
- name: terrain_recognition
results:
- task:
name: Image Classification
type: image-classification
metrics:
- name: Accuracy
type: accuracy
value: 0.8777777552604675
terrain_recognition
Autogenerated by HuggingPics🤗🖼️
Create your own image classifier for anything by running the demo on Google Colab.
Report any issues with the demo at the github repo.



