Downloads · 30 days
0
0% of all-time downloads
wabibito/Onyx-PlantNet300K-CoreML
Onyx-PlantNet300K-CoreML is a image classification model from wabibito. Use it when you need a label for an image. It is set up for coreml. The card lists the license as apache-2.0.
On-device plant species identification for Onyx: 1,081 species with Latin binomial names, 22 MB compiled at fp16, running entirely offline through Core ML / Vision.
Downloads · 30 days
0
0% of all-time downloads
All-time downloads
2
Public
Repo size
23.6 MB
Likes
0
Public
Click a slice to open those files.
.bin23.5 MB · 100%
From the Hugging Face model README
On-device plant species identification for Onyx: 1,081 species with Latin binomial names, 22 MB compiled at fp16, running entirely offline through Core ML / Vision.
This is a derivative of cpoisson/plantnet300k-resnet18
(Apache-2.0), a torchvision ResNet18 trained on PlantNet-300K
(Garcin et al., NeurIPS 2021 Datasets and Benchmarks). All modelling credit belongs to those authors;
this repository only converts the published weights to Core ML. The species-id → name mapping is
plantnet300K_species_id_2_name.json from the same source.
Two things that are silently catastrophic if got wrong, both verified by running the compiled model:
-9918% and the probability mass sums to -173206 instead of 1.0.ImageFolder order). Sorting them
numerically instead mislabels all 1,081 classes with no visible error.ImageNet normalisation is folded into the Core ML input, so callers hand over raw pixels.
Build script: scripts/build_plant_model.py in the Onyx repo.
Compiled model on a synthetic yellow-flower image:
68.75% Calendula officinalis L.
20.96% Papaver somniferum L.
6.81% Calendula stellata Cav.
probability mass: 1.000
Never treat any photo-based identification as authority on edibility, medicinal use or safety. Look-alikes exist; confirm with a local expert or field guide.