Downloads · 30 days
71
2% of all-time downloads
Sisigoks/FloraSense
FloraSense is a image classification model from Sisigoks. Use it when you need a label for an image. It is set up for transformers. The card lists the license as mit.
FloraSense is a fine-tuned Vision Transformer (ViT) model designed for accurate classification of plant species and flora-related imagery. It builds on top of the powerful google/vit-base-patch16-224 base model and is…
Downloads · 30 days
71
2% of all-time downloads
All-time downloads
3.4K
Public
Parameters
314M
58.9 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors1.3 GB · 99%
From the Hugging Face model README
FloraSense is a fine-tuned Vision Transformer (ViT) model designed for accurate classification of plant species and flora-related imagery. It builds on top of the powerful google/vit-base-patch16-224 base model and is fine-tuned on the Planter_GARDEN_EDITION dataset curated by Sisigoks, which includes over 10,000 diverse plant images.
google/vit-base-patch16-224⚠️ While the accuracy may appear moderate, the model is handling over 10,000 highly similar plant species, making this a non-trivial challenge in fine-grained classification.
| Hyperparameter | Value |
|---|---|
| Learning Rate | 5e-5 |
| Train Batch Size | 16 |
| Eval Batch Size | 16 |
| Gradient Accumulation | 4 |
| Total Effective Batch | 64 |
| Optimizer | Adam (β1=0.9, β2=0.999) |
| Scheduler | Linear w/ warmup (10%) |
| Epochs | 15 |
| Seed | 42 |
Sisigoks/Planter_GARDEN_EDITIONfrom transformers import AutoImageProcessor, AutoModelForImageClassification
from PIL import Image
import torch
# Load model and processor
processor = AutoImageProcessor.from_pretrained("Sisigoks/FloraSense")
model = AutoModelForImageClassification.from_pretrained("Sisigoks/FloraSense")
# Load and preprocess image
image = Image.open("your_image.jpg")
inputs = processor(images=image, return_tensors="pt")
# Inference
with torch.no_grad():
outputs = model(**inputs)
logits = outputs.logits
predicted_label = logits.argmax(-1).item()
print(f"Predicted class ID: {predicted_label}")
If you use this model or dataset in your work, please cite:
@misc{sisigoks_florasense_2025,
author = {Sisigoks},
title = {FloraSense: ViT-based Fine-Grained Plant Classifier},
year = {2025},
publisher = {Hugging Face},
howpublished = {\url{https://huggingface.co/Sisigoks/FloraSense}}
}