Instructions to use UWyo/wildlife-grizzly-bear with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ultralytics
How to use UWyo/wildlife-grizzly-bear with ultralytics:
from huggingface_hub import hf_hub_download from ultralytics import YOLO # pick the weights file from this repo's "Files and versions" tab weights = hf_hub_download("UWyo/wildlife-grizzly-bear", "<weights>.pt") model = YOLO(weights) source = 'http://images.cocodataset.org/val2017/000000039769.jpg' model.predict(source=source, save=True) - Notebooks
- Google Colab
- Kaggle
|
Download README.md from UWyo/wildlife-grizzly-bear: direct link, hf CLI and curl.
- Browser
- Download file 1.5 kB
-
https://huggingface.co/UWyo/wildlife-grizzly-bear/resolve/main/README.md
- Command line
-
hf download hf://UWyo/wildlife-grizzly-bear/README.md
-
curl -L -o README.md https://huggingface.co/UWyo/wildlife-grizzly-bear/resolve/main/README.md
1.5 kB
metadata
license: cc-by-4.0
library_name: ultralytics
pipeline_tag: object-detection
tags:
- wildlife
- yolo
- yolo26
- object-detection
- camera-trap
- grizzly-bear
Model Card — Grizzly Bear (Ursus arctos horribilis)
Single-class detection model for Grizzly Bear, fine-tuned from the Ultralytics YOLO26s backbone (pretrained on COCO).
Model file: yolo26s_finetuned_grizzly_bear_by_J.Gong_uwyo_2026-05-28.pt
Training Details
| Property | Value |
|---|---|
| Base model | yolo26s.pt (COCO pretrained, Ultralytics) |
| Architecture | YOLO26s |
| Input size | 640 × 640 |
| Epochs | 150 |
| Optimizer | MuSGD, lr=0.002, momentum=0.9 |
| Augmentation | mosaic=1.0, degrees=10°, scale=0.5, fliplr=0.5, hsv_h/s/v |
| Device | NVIDIA RTX 5000 Ada Generation (32 GB, CUDA 12.8) |
| Training date | 2026-05-28 |
| Author | Jian Gong, University of Wyoming |
Dataset
Images sourced from iNaturalist (research-grade observations). Bounding boxes generated by MegaDetector v5a (confidence ≥ 0.15). Split 80 / 10 / 10 train / val / test.
| Split | Images |
|---|---|
| train | 222 |
| val | 27 |
| test | 29 |
Performance
Evaluated on the held-out validation set (best checkpoint).
| Metric | Value |
|---|---|
| mAP50 | 0.9109 |
| mAP50-95 | 0.7830 |
Usage
from ultralytics import YOLO
model = YOLO("models/grizzly_bear/yolo26s_finetuned_grizzly_bear_by_J.Gong_uwyo_2026-05-28.pt")
results = model.predict("image.jpg", conf=0.25)