Deepfaune¶
This is a Pytorch-Wildlife loader for the Deepfaune detector. The original Deepfaune model is available at: https://www.deepfaune.cnrs.fr/en/ Licence: CC BY-SA 4.0 Copyright CNRS 2024 simon.chamaille@cefe.cnrs.fr; vincent.miele@univ-lyon1.fr
DeepfauneDetector
¶
Bases: YOLOV8Base
MegaDetectorV6 is a specialized class derived from the YOLOV8Base class that is specifically designed for detecting animals, persons, and vehicles.
Attributes:
Name | Type | Description |
---|---|---|
CLASS_NAMES |
dict
|
Mapping of class IDs to their respective names. |
Source code in PytorchWildlife/models/detection/ultralytics_based/Deepfaune.py
__init__(weights=None, device='cpu')
¶
Initializes the MegaDetectorV5 model with the option to load pretrained weights.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
weights
|
str
|
Path to the weights file. |
None
|
device
|
str
|
Device to load the model on (e.g., "cpu" or "cuda"). Default is "cpu". |
'cpu'
|