当前位置:网站首页>Face recognition 5.1- insightface face face detection model training practice notes
Face recognition 5.1- insightface face face detection model training practice notes
2022-07-27 21:00:00 【The mountain of ignorance, the valley of despair, the slope of 】
1、 insightface/ detection / scrfd model training
1.0、 Data sets
Data set download instructions :https://github.com/deepinsight/insightface/tree/master/detection/datasets
Official download directory :http://shuoyang1213.me/WIDERFACE/
Label Download :https://gitee.com/link?target=https%3A%2F%2Fdrive.google.com%2Ffile%2Fd%2F1UW3KoApOhusyqSHX96yEDRYiNkd3Iv3Z%2Fview%3Fusp%3Dsharing
The propeller data set and label are packaged and downloaded as a whole :https://aistudio.baidu.com/aistudio/datasetdetail/157445
1.1、 install
1.1.0、 Virtual environment installation
Linux-Centos7 Lower installation Anaconda,conda Installing a virtual environment ,cuda,cudnn
1.1.1、pytorch install
Different cuda Versions are installed in different ways , Find historical versions :pytorch Install the reference
pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
import torch
print(torch.__version__) # '1.7.0'
print(torch.version.cuda) # 10.2
torch.cuda.is_available() # False
1.1.2、mmcv install
mmcv Installation reference and cuda as well as pytorch Match :https://mmcv.readthedocs.io/en/latest/get_started/installation.html
pip install -U openmim
mim install mmcv-full==1.3.17 -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.7.0/index.html
pip install mmdet -f https://download.openmmlab.com/mmcv/dist/cu101/torch1.7.0/index.html
1.1.3、 Overall compilation and installation
git clone https://gitee.com/AI-Mart/insightface.git
cd insightface/detection/scrfd
perhaps
cd /data/mart/face_insightface/insightface/detection/scrfd
pip install -r requirements/build.txt
pip install -v -e . # or "python setup.py develop"
pip install scipy
1.2、 Training
python ./tools/train.py ./configs/scrfd/scrfd_1g.py --gpus=1
nohup python ./tools/train.py ./configs/scrfd/scrfd_1g.py --gpus=1 2>&1 &
tail -f nohup.out
边栏推荐
- 坚持做一件事情
- Repeated DNA sequence [hash determination repetition + sliding window + bit operation of binary coding]
- SQL coding bug
- [deep learning] pytoch torch Autograd automatic differential engine
- DJI push code (one code for one use, updated on July 26, 2022)
- [Numpy] 数组属性
- Best practices for Oracle kingbasees migration of Jincang database (2. Overview)
- Best practices for Oracle kingbasees migration of Jincang database (4. Oracle database migration practice)
- js中数组与字符串常用方法属性总结
- Xdc 2022 Intel technology special session: Intel Software and hardware technology builds the cornerstone of cloud computing architecture
猜你喜欢

Arduino development (II)_ RGB light control method based on Arduino uno development board

NATAPP内网穿透工具外网访问个人项目

一种比读写锁更快的锁,还不赶紧认识一下

User login switching case

基于ATX自动化测试解决方案
![Laboratory management system implemented by SSM framework +jsp [source code + database + system paper]](/img/2e/64af546c58f3dc517cdae304daa671.png)
Laboratory management system implemented by SSM framework +jsp [source code + database + system paper]

金仓数据库 KingbaseES 异构数据库移植指南 (4. 应用迁移流程)

【Dart】一门为跨端开发而生的编程语言

五大知名人士对于AI的忧虑

JVs privatization deployment start failure handling scheme
随机推荐
记一次restTemplate.getForEntity携带headers失败,restTemplate. exchange
Academic sharing | Tsinghua University, Kang Chongqing: power system carbon measurement technology and application (matlab code implementation)
认识网络模型TCPIP模型
Source Insight 4.0使用介绍
认识网络模型数据的封装和解封装
Vant component library
User login switching case
[Numpy] 数组索引和切片
实名认证在文旅出行行业的应用场景有哪些?
基于文件上传漏洞获得网站 shell 权限
Hexagon_V65_Programmers_Reference_Manual(5)
程序中的地址如何转换?
VI working mode (3 kinds) and mode switching (conversion)
MySQL basic queries and operators
[dart] a programming language for cross end development
Codeforces 1706E 并查集 + 启发式合并 + ST 表
82.(cesium篇)cesium点在3d模型上运动
Qt opengl 让物体在关照下动起来,形成动画
NPDP|什么样的产品经理可以被称为优秀?
Force deduction solution summary 592 fraction addition and subtraction