当前位置:网站首页>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
边栏推荐
- Know the transmission medium, the medium of network communication
- MySQL基本查询和运算符
- 记一次restTemplate.getForEntity携带headers失败,restTemplate. exchange
- SQL coding bug
- Do you know about data synchronization?
- Slim: self supervised point cloud scene flow and motion estimation (iccv 2021)
- Go --- automatic recompilation of air
- 程序放在哪儿?
- Management of user organization structure
- 推荐一款强大的搜索工具Listary
猜你喜欢

Global styles and icons

How does the industrial switch enter the web management interface?

推荐一款强大的搜索工具Listary

vi工作模式(3种)以及模式切换(转换)

Go --- automatic recompilation of air

Introduction to rk3399 platform introduction to proficient series (Introduction) 21 day learning challenge

Hexagon_V65_Programmers_Reference_Manual(5)

LeetCode-136-只出现一次的数字

js闭包知识

Kingbasees heterogeneous database migration guide (4. Application migration process)
随机推荐
自定义学习率
Best practices for Oracle kingbasees migration of Jincang database (2. Overview)
你了解数据同步吗?
R语言使用t.test函数执行t检验验证总体均值是否是某个特定的值(从样本集推论总体均值)
Repeated DNA sequence [hash determination repetition + sliding window + bit operation of binary coding]
User login switching case
Automatic test solution based on ATX
Do you know about data synchronization?
openresty lua-resty-dns 域名解析
Hexagon_V65_Programmers_Reference_Manual(5)
IOU 目标跟踪其一:IOU Tracker
[numpy] broadcast mechanism
Chapter 7 Intermediate Shell Tool I
Arduino development (II)_ RGB light control method based on Arduino uno development board
Kingbasees heterogeneous database migration guide (3. Kingbasees migration capability support system)
Hexagon_V65_Programmers_Reference_Manual(6)
Users and permissions revoke user permissions
征服所有程序员的3件IT装备 →
How to calculate the execution time in the function resource usage when using the timer trigger type to process database data?
Uncaught SyntaxError: redeclaration of let page