返回模型
说明文档
MNASNet_b1
量化 MNASNet_b1 模型,可由 AMD Ryzen AI 支持。
模型描述
MNASNet 首次在论文 MnasNet: Platform-Aware Neural Architecture Search for Mobile 中提出。
该模型的实现来自 timm。
使用方法
安装
按照 Ryzen AI 安装指南 为 Ryzen AI 准备环境。 运行以下脚本安装此模型的先决依赖。
pip install -r requirements.txt
数据准备
按照 ImageNet 准备数据集。
模型评估
python eval_onnx.py --onnx_model mnasnet_b1_int.onnx --ipu --provider_config Path\To\vaip_config.json --data_dir /Path/To/Your/Dataset
性能
| 指标 | IPU 上的准确率 |
|---|---|
| Top1/Top5 | 73.51% / 91.56% |
@misc{rw2019timm,
author = {Ross Wightman},
title = {PyTorch Image Models},
year = {2019},
publisher = {GitHub},
journal = {GitHub repository},
doi = {10.5281/zenodo.4414861},
howpublished = {\url{https://github.com/huggingface/pytorch-image-models}}
}
@inproceedings{tan2019mnasnet,
title={Mnasnet: Platform-aware neural architecture search for mobile},
author={Tan, Mingxing and Chen, Bo and Pang, Ruoming and Vasudevan, Vijay and Sandler, Mark and Howard, Andrew and Le, Quoc V},
booktitle={Proceedings of the IEEE/CVF conference on computer vision and pattern recognition},
pages={2820--2828},
year={2019}
}
amd/mnasnet_b1
作者 amd
timm
↓ 0
♥ 1
创建时间: 2023-12-04 08:55:00+00:00
更新时间: 2024-01-09 08:34:38+00:00
在 Hugging Face 上查看文件 (5)
.gitattributes
README.md
eval_onnx.py
mnasnet_b1_int.onnx
ONNX
requirements.txt