当前位置:网站首页>AI - face
AI - face
2022-06-12 10:49:00 【Programmer's record】
Information
insightface
Environmental installation
- pip3:sudo apt install python3-pip
- numpy:pip3 install --user numpy scipy matplotlib
- pip install mxnet-cu101
[1] cuda The version is 10.1 - pip install opencv-python
- insightface download
Training
Before processing
- Detect alignment based on detection network , Such as MTCNN
- Remove wearing sunglasses based on attribute network 、 Mask
- The deletion angle is greater than 60 Degree
- Delete id Number of files less than 5 Of
pack
- mxnet Scripts in the framework im2rec.py
- Generate a list of files in the folder (name.lst)
(1) python im2rec.py --list --recursive name data_dir - Generate binaries (name.rec, name.idx)
(1) python im2rec.py name.lst data_dir
Training
- Modify configuration information config.py
dataset.emore.dataset_path = './alg_test' # Default name train.rec, train.idx
dataset.emore.num_classes = 1193
dataset.emore.image_shape = (128, 128, 3)
default.end_epoch = 200
default.per_batch_size = 40
default.ckpt = 3
default.lr_steps = '65682,112680,150240,187870'
default.models_root = './models'
- Training orders
CUDA_VISIBLE_DEVICES=‘0’ python -u train.py --network r100 --loss arcface --dataset emore
边栏推荐
- Solution to the problem that the applet developer tool cannot input simplified Chinese
- MySQL performance test (slow query log)
- Malicious code analysis practice - lab03-02 DLL analysis
- Leetcode 2169. 得到 0 的操作数
- PHP: Excel to get the letter header
- Valentina Studio Pro for MAC (MAC database management software)
- Solution to invalid small program scroll into view
- The most detailed explanation of the top ten levels of sqli labs platform
- Principle analysis of vite HMR
- FPGA开发——Hello_world例程
猜你喜欢

M-arch (fanwai 13) gd32l233 evaluation - some music

Stream as a return value in WCF - who disposes of it- Stream as a return value in WCF - who disposes it?

Don't swallow rice with vinegar! Teach you 2 moves to make the fish bones "run out" safely

AcWing 128. Editor (to effectively modify the specified position in the top stack)

Malicious code analysis practice - lab03-01 Exe basic dynamic analysis

Leetcode 2169. Get operands of 0

InfoQ 极客传媒 15 周年庆征文|position:fixed 虚拟按键触发后无法生效问题分析及解决方案探究

2022京東618預售定金怎麼退?京東618定金能退嗎?

基于C#的安全聊天工具设计

Love and hate in the Jianghu
随机推荐
PHP uses RSA segment encryption and decryption method
Principle analysis of vite HMR
基于C#的安全聊天工具设计
Flex layout
M-Arch(番外10)GD32L233评测-SPI驱动DS1302
MYSQL——内置函数
AcWing 128. Editor (to effectively modify the specified position in the top stack)
PHP interface generates cache and MD5 encryption uniformly
Get array median
Solution to the problem that the applet developer tool cannot input simplified Chinese
PHP: seven cattle cloud upload file
Bug easily ignored by recursion
What can QA do in a "de QA" project?
PHP maximum balance method to solve the problem that the sum of the final percentages is not equal to 100
Composer command
FPGA-按键实验
Error during session start; please check your PHP and/or webserver log file and configure your PHP
Building 64 bit wampserver and DVWA in win7 virtual machine
Telecommuting with cpolar (2)
Vscode code debugging skills