当前位置:网站首页>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
边栏推荐
- 人脸识别5.1- insightface人脸检测模型训练实战笔记
- 力扣解法汇总592-分数加减运算
- Download of MySQL driver jar package -- nanny tutorial
- UE5使用DLSS(超级采样)提升场景的 FPS 远离卡顿的优化方案
- 推荐一款强大的搜索工具Listary
- Things about stack migration
- Laboratory management system implemented by SSM framework +jsp [source code + database + system paper]
- LeetCode-136-只出现一次的数字
- R语言dplyr包进行数据分组聚合统计变换(Aggregating transforms)、计算dataframe数据的分组加和值(sum)
- Understand the encapsulation and de encapsulation of network model data
猜你喜欢

Download of MySQL driver jar package -- nanny tutorial

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

Global styles and icons

hcip第五天

JVs official account login configuration

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

User login switching case

品牌列表案例

Hexagon_V65_Programmers_Reference_Manual(5)
Rk3399 platform development series explanation (process part) 15.36, understanding process and collaboration process
随机推荐
Where is the program?
Express WEB服务器的简单使用
Repeated DNA sequence [hash determination repetition + sliding window + bit operation of binary coding]
用户登录切换案例
走马灯案例
Kingbasees heterogeneous database migration guide (2. Overview)
R语言使用epiDisplay包的power.for.2p函数进行效用分析 ( 效能分析、Power analysis)、给定两个样本的比例值(proportions)、样本量计算效用值
你了解数据同步吗?
Uncaught SyntaxError: redeclaration of let page
认识网络模型数据的封装和解封装
坚持做一件事情
MySQL驱动jar包的下载--保姆教程
Arduino development (II)_ RGB light control method based on Arduino uno development board
Riding lantern case
Automatic test solution based on ATX
UE5使用DLSS(超级采样)提升场景的 FPS 远离卡顿的优化方案
One article to understand pychar shortcut key
认识网络模型OSI模型
Hexagon_V65_Programmers_Reference_Manual(8)
redis cook book.notes.