Miewid Msv3
M
Miewid Msv3
由 conservationxlabs 开发
MiewID-msv3是一个通过对比学习训练的特征提取器,用于在包含64种陆生和水生野生物种的大规模高质量数据集上进行个体重识别。
下载量 974
发布时间 : 10/15/2024
模型简介
该模型是一个野生物种重识别特征主干网络,旨在通过匹配真实样本数据库实现跨物种个体重识别,其提取的特征也可用于基于检索的物种分类。
模型特点
多物种支持
支持64种陆生和水生野生物种的个体重识别,包括鳍、尾叶、侧腹、面部等不同身体部位。
高质量特征提取
通过对比学习训练,能够提取高质量的个体识别特征,适用于跨物种匹配。
大规模数据集训练
基于Wildbook平台、Happywhale Kaggle竞赛等多源数据集训练,覆盖广泛的野生物种。
模型能力
野生物种个体识别
跨物种特征匹配
基于检索的物种分类
使用案例
野生动物保护
东北虎个体识别
用于识别和追踪东北虎个体,支持保护工作
平均精度88.9%,首位命中率97.4%
鲸类个体识别
通过尾鳍或背鳍识别鲸类个体,用于种群监测
灰鲸首位命中率90.8%,座头鲸首位命中率70.3%
生态研究
灵长类动物面部识别
用于黑猩猩、猕猴等灵长类动物的个体识别和行为研究
黑猩猩面部首位命中率83.2%,猕猴面部首位命中率94.7%
🚀 MiewID - msv3模型
MiewID - msv3是一个用于野生动物个体重识别的特征提取模型。它基于对比学习,在包含64种陆地和水生野生动物的高质量大型数据集上进行训练,数据涵盖了动物的鳍、尾叶、侧面和面部等部位。该模型可用于将个体与真实样本数据库进行匹配以实现重识别,其特征也可用于物种分类检索。
🚀 快速开始
本模型旨在通过与真实样本数据库进行匹配,对不同物种的个体进行重识别。模型特征也可用于通过检索进行物种分类。
✨ 主要特性
- 适用范围广:可用于64种陆地和水生野生动物的个体重识别。
- 特征丰富:训练数据包含动物的鳍、尾叶、侧面和面部等部位。
- 功能多样:不仅能进行个体重识别,其特征还可用于物种分类检索。
📦 安装指南
文档未提及安装步骤,暂不提供。
💻 使用示例
基础用法
import numpy as np
from PIL import Image
import torch
import torchvision.transforms as transforms
from transformers import AutoModel
model_tag = f"conservationxlabs/miewid-msv3"
model = AutoModel.from_pretrained(model_tag, trust_remote_code=True)
def generate_random_image(height=440, width=440, channels=3):
random_image = np.random.randint(0, 256, (height, width, channels), dtype=np.uint8)
return Image.fromarray(random_image)
random_image = generate_random_image()
preprocess = transforms.Compose([
transforms.Resize((440, 440)),
transforms.ToTensor(),
transforms.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
])
input_tensor = preprocess(random_image)
input_batch = input_tensor.unsqueeze(0)
with torch.no_grad():
output = model(input_batch)
print(output)
print(output.shape)
更多示例
查看更多使用示例,请访问:https://github.com/WildMeOrg/wbia-plugin-miew-id/tree/main/wbia_miew_id/examples
📚 详细文档
模型详情
模型描述
MiewID - msv3是一个使用对比学习在包含64种陆地和水生野生动物的大型高质量数据集上训练的特征提取器,数据包含鳍、尾叶、侧面和面部等部位。
- 模型类型:野生动物重识别特征主干
- 模型统计信息:
- 参数(M):51.11
- GMACs:24.38
- 激活值(M):91.11
- 图像大小:440 x 440
模型来源
- 仓库:https://github.com/WildMeOrg/wbia-plugin-miew-id
- 主干网络:https://huggingface.co/timm/efficientnetv2_rw_m.agc_in1k
训练详情
训练数据
用于这些实验的数据集是Wildbook平台(多个用户)的数据、Happywhale Kaggle竞赛多物种数据集以及多个公开可用数据集的组合。Wildbook平台的一小部分数据可在https://lila.science/datasets获取。
示例图像
评估结果
类别 | mAP | Rank - 1 | Rank - 5 | Rank - 10 | Rank - 20 | 来源 |
---|---|---|---|---|---|---|
amur_tiger | 88.9 | 97.4 | 99.6 | 99.6 | 100.0 | lila.science (cleaned) |
beluga_whale | 60.6 | 72.0 | 81.5 | 84.8 | 87.9 | lila.science |
blue_whale | 37.8 | 39.5 | 56.3 | 63.0 | 69.7 | Kaggle (HappyWhale) |
bottlenose_dolphin | 83.5 | 92.4 | 95.2 | 96.3 | 97.0 | Flukebook.org |
brydes_whale | 65.9 | 71.4 | 90.5 | 95.2 | 100.0 | Kaggle (HappyWhale) |
capuchin | 32.2 | 49.0 | 63.9 | 74.0 | 84.1 | Susan Perry\UCLA |
cheetah | 53.5 | 70.8 | 81.1 | 85.9 | 89.3 | African Carnivore Wildbook |
chimp | 33.9 | 50.8 | 66.1 | 70.7 | 76.0 | Chimpanzee CTai & CZoo |
chimpanzee | 66.6 | 80.7 | 88.8 | 91.6 | 95.6 | PrimFace |
chimpanzee_chimpface | 71.0 | 83.2 | 89.7 | 92.8 | 95.4 | ChimpFace |
cuviers_beaked_whale | 50.1 | 51.4 | 72.9 | 85.7 | 91.4 | Kaggle (HappyWhale) |
dog | 70.9 | 78.7 | 87.5 | 90.5 | 92.9 | DogFaceNet |
dolphin_humpback + fin_dorsal | 48.6 | 56.5 | 79.2 | 87.7 | 92.9 | Flukebook.org |
dusky_dolphin | 88.8 | 87.3 | 93.0 | 94.9 | 95.6 | Kaggle (HappyWhale) |
eurasianlynx | 57.7 | 69.8 | 79.3 | 84.2 | 88.7 | Whiskerbook.org |
finwhale | 68.1 | 78.3 | 88.9 | 92.7 | 94.6 | Flukebook.org |
giraffe (Reticulated) | 98.7 | 98.8 | 99.1 | 99.1 | 99.1 | GiraffeSpotter.org |
giraffe_whole (Masai) | 67.3 | 81.0 | 86.9 | 88.6 | 90.3 | GiraffeSpotter.org |
golden_monkey | 75.7 | 89.8 | 95.9 | 97.0 | 97.7 | GoldenMonkeyFace |
green_turtle | 74.5 | 89.0 | 92.8 | 94.1 | 96.4 | iot.wildbook.org |
greywhale | 84.0 | 90.8 | 95.0 | 97.1 | 98.4 | Flukebook.org |
grouper_nassau/potato_cod | 80.9 | 84.0 | 96.0 | 97.3 | 100.0 | REEF/Rowan Watt - Pringle/GrouperSpotter.org |
hawksbill_turtle | 70.3 | 85.2 | 90.9 | 93.3 | 95.5 | iot.wildbook.org |
horse_wild_tunisian + face | 78.5 | 98.5 | 99.5 | 100.0 | 100.0 | THoDBRL2015 |
humpbackwhale | 70.5 | 70.3 | 83.3 | 88.2 | 92.1 | Flukebook.org |
hyena | 65.8 | 80.9 | 89.8 | 92.9 | 94.8 | African Carnivore Wildbook |
hyperoodon_ampullatus | 86.8 | 95.0 | 96.8 | 97.4 | 97.7 | Flukebook.org |
jaguar | 64.7 | 78.5 | 89.1 | 91.1 | 93.9 | Whiskerbook.org |
japanese_monkey | 83.9 | 90.8 | 92.3 | 96.9 | 98.5 | PrimFace |
lemur | 77.4 | 91.8 | 96.7 | 97.9 | 98.4 | LemurFace |
leopard | 59.1 | 77.6 | 88.6 | 90.6 | 93.3 | African Carnivore Wildbook |
leopard_shark | 82.9 | 92.1 | 95.5 | 96.0 | 97.1 | Sharkbook.ai |
lion | 77.9 | 93.2 | 96.3 | 97.6 | 97.9 | African Carnivore Wildbook |
loggerhead_turtle | 58.6 | 82.4 | 90.1 | 92.4 | 94.4 | iot.wildbook.org |
lynx_pardinus | 47.1 | 57.4 | 70.2 | 76.4 | 83.3 | lynx.wildbook.org |
macaque_face | 86.8 | 94.7 | 97.4 | 98.5 | 100.0 | MacaqueFaces |
melon_headed_whale | 89.7 | 92.1 | 95.4 | 97.4 | 98.0 | Flukebook.org |
mobula_birostris | 79.9 | 88.9 | 93.3 | 94.5 | 95.5 | MantaMatcher.org |
nyala | 47.4 | 63.9 | 79.7 | 87.8 | 90.9 | wildlife - datasets |
orca | 77.7 | 86.0 | 91.4 | 93.6 | 94.8 | Flukebook.org |
pilotwhale | 90.0 | 92.6 | 96.8 | 97.3 | 97.7 | Flukebook.org |
pygmy_killer_whale | 90.4 | 84.6 | 100.0 | 100.0 | 100.0 | Kaggle (HappyWhale) |
rhesus_monkey | 73.6 | 86.4 | 95.1 | 97.3 | 98.9 | PrimFace |
salamander_fire_adult | 97.5 | 98.1 | 99.4 | 99.4 | 100.0 | Amphibian - Reptile Wildbook |
salamander_fire_juvenile | 73.6 | 67.6 | 84.3 | 86.3 | 88.2 | Amphibian - Reptile Wildbook |
seadragon_leafy | 95.1 | 97.1 | 100.0 | 100.0 | 100.0 | SeadragonSearch |
seadragon_leafy + head | 92.8 | 92.1 | 95.2 | 98.4 | 98.4 | SeadragonSearch |
seadragon_weedy | 83.8 | 89.8 | 97.7 | 98.3 | 98.3 | SeadragonSearch |
seadragon_weedy + head | 91.3 | 97.0 | 98.5 | 98.5 | 99.0 | SeadragonSearch |
seal | 38.9 | 64.6 | 78.8 | 85.6 | 90.5 | seals.wildme.org |
sei_whale | 69.5 | 75.9 | 87.9 | 91.4 | 96.6 | Kaggle (HappyWhale) |
snow_leopard | 55.5 | 75.7 | 86.7 | 90.1 | 93.4 | Whiskerbook.org |
spinner_dolphin | 98.8 | 98.8 | 100.0 | 100.0 | 100.0 | Flukebook.org |
spotteddolphin | 78.5 | 80.6 | 91.3 | 94.2 | 98.1 | Flukebook.org |
whale_sperm + fluke | 94.8 | 97.4 | 98.0 | 98.2 | 98.8 | Flukebook.org |
whaleshark | 44.0 | 65.2 | 76.4 | 79.6 | 84.2 | Sharkbook.ai |
white_shark + fin_dorsal | 87.1 | 90.4 | 96.3 | 97.5 | 98.8 | Sharkbook.ai |
white_sided_dolphin | 84.2 | 84.0 | 88.0 | 92.0 | 100.0 | Flukebook.org |
wilddog | 74.6 | 86.1 | 90.7 | 92.8 | 94.0 | African Carnivore Wildbook |
zebra_grevys | 91.1 | 96.1 | 97.3 | 97.6 | 97.8 | zebra.wildme.org |
🔧 技术细节
文档未提供详细技术细节,暂不展示。
📄 许可证
文档未提及许可证信息,暂不提供。
Vit Face Expression
Apache-2.0
基于视觉变换器(ViT)微调的面部情绪识别模型,支持7种表情分类
人脸相关
Transformers

V
trpakov
9.2M
66
Facial Emotions Image Detection
Apache-2.0
基于Google的ViT-base模型微调的面部情绪识别模型,在测试集上达到91%的准确率。
人脸相关
Transformers

F
dima806
198.83k
81
Man Woman Face Image Detection
Apache-2.0
基于人脸图像的高精度性别分类模型,准确率约98.7%
人脸相关
Transformers

M
dima806
50.08k
10
Vit Facial Expression Recognition
基于ViT的面部表情识别模型,在FER2013、MMI和AffectNet数据集上微调,支持七种情绪分类
人脸相关
Transformers

V
mo-thecreator
8,730
16
Vit Facial Expression Recognition
基于ViT的面部表情识别模型,在FER2013、MMI和AffectNet数据集上微调,能够识别七种基本情绪
人脸相关
Transformers

V
motheecreator
4,221
13
Resmasknet
MIT
ResMaskNet是一种结合残差掩码机制与U-Net架构的卷积神经网络,用于面部情绪识别。
人脸相关
R
py-feat
4,122
0
Attractive Faces Celebs Detection
Apache-2.0
基于Vision Transformer的面部吸引力评分模型,可对输入的面部图像返回0到1的吸引力评分,准确率约为83%。
人脸相关
Transformers

A
dima806
2,473
8
Vit Deepfake Detection
该模型由Rudolf Enyimba训练完成,用于检测深度伪造图像,测试准确率达98.70%。
人脸相关
Transformers 英语

V
Wvolf
1,990
13
Facial Expression Detection
基于预训练模型微调的面部表情识别模型,能有效识别八种不同面部表情。
人脸相关
Transformers

F
HardlyHumans
1,266
1
Miewid Msv3
MiewID-msv3是一个通过对比学习训练的特征提取器,用于在包含64种陆生和水生野生物种的大规模高质量数据集上进行个体重识别。
人脸相关
Transformers

M
conservationxlabs
974
2
精选推荐AI模型
Llama 3 Typhoon V1.5x 8b Instruct
专为泰语设计的80亿参数指令模型,性能媲美GPT-3.5-turbo,优化了应用场景、检索增强生成、受限生成和推理任务
大型语言模型
Transformers 支持多种语言

L
scb10x
3,269
16
Cadet Tiny
Openrail
Cadet-Tiny是一个基于SODA数据集训练的超小型对话模型,专为边缘设备推理设计,体积仅为Cosmo-3B模型的2%左右。
对话系统
Transformers 英语

C
ToddGoldfarb
2,691
6
Roberta Base Chinese Extractive Qa
基于RoBERTa架构的中文抽取式问答模型,适用于从给定文本中提取答案的任务。
问答系统 中文
R
uer
2,694
98