当前位置:网站首页>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
边栏推荐
- JVs privatization deployment start failure handling scheme
- 82.(cesium篇)cesium点在3d模型上运动
- Academic sharing | Tsinghua University, Kang Chongqing: power system carbon measurement technology and application (matlab code implementation)
- 怎样实现文档协同?
- 记一次restTemplate.getForEntity携带headers失败,restTemplate. exchange
- Best practices for Oracle kingbasees migration of Jincang database (4. Oracle database migration practice)
- 人脸识别5.1- insightface人脸检测模型训练实战笔记
- User login switching case
- MySQL基本查询和运算符
- 走马灯案例
猜你喜欢

全局样式与图标

One week activity express | in simple terms, issue 8; Meetup Chengdu station registration in progress

How does the industrial switch enter the web management interface?
![[Numpy] 数组属性](/img/eb/a27c24deeb7951828cdfbaa88c059c.png)
[Numpy] 数组属性

Typroa 拼写检查: 缺少对于 中文 的字典文件

基于ATX自动化测试解决方案

Xdc 2022 Intel technology special session: Intel Software and hardware technology builds the cornerstone of cloud computing architecture

To do the test, you have to go to the big factory and disclose the "hidden rules" of bat big factory recruitment internally

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

VI working mode (3 kinds) and mode switching (conversion)
随机推荐
关于栈迁移的那些事儿
你了解数据同步吗?
人脸识别5.1- insightface人脸检测模型训练实战笔记
JVs basic framework function list
说透缓存一致性与内存屏障
Slim: self supervised point cloud scene flow and motion estimation (iccv 2021)
Do you know about data synchronization?
R语言使用t.test函数执行t检验验证总体均值是否是某个特定的值(从样本集推论总体均值)
Qt opengl 让物体在关照下动起来,形成动画
金仓数据库 Oracle 至 KingbaseES 迁移最佳实践 (4. Oracle数据库移植实战)
金仓数据库 Oracle至KingbaseES迁移最佳实践(2. 概述)
One week activity express | in simple terms, issue 8; Meetup Chengdu station registration in progress
LabVIEW学习笔记五:按钮按下后无法返回原状
Recommend a powerful search tool listary
JVs official account login configuration
Write bootloader from 0
mcu日志输出的一种方法
VI working mode (3 kinds) and mode switching (conversion)
API Gateway介绍
Where is the program?