当前位置:网站首页>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
边栏推荐
- AcWing 132. 小组队列(队列模拟题)
- PHP download station B video
- k53.第二章 基于二进制包安装kubernetes v1.22 --集群部署
- Binassii module - converting between binary and ASCII
- Common methods of string class
- JS string combination
- PHP specifies the number of people to distribute the specified amount equally at random (scaling method)
- JS open common application market
- NFT数字藏品的可验证性和稀缺性
- Distributed storage exploration
猜你喜欢

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

Vite Basics

A hundred secrets and a few secrets - Caesar encryption

Class. Forname connection MySQL driver keeps throwing classnotfoundexception exception solution

ArrayList automatic capacity expansion principle

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

人脸识别pip 安装dlib库失败

890. 查找和替换模式

Is the acceptance standard a test case?

Leetcode 2169. Get operands of 0
随机推荐
PHP specifies the number of people to distribute the specified amount equally at random (scaling method)
PHP interface generates cache and MD5 encryption uniformly
PHP uses RSA segment encryption and decryption method
Malicious code analysis practice - lab06-01 exe~Lab06-04. Exe dynamic analysis
Flex layout
A snare - Cookie spoofing
Immer source code reading
Solution to invalid small program scroll into view
PHP maximum balance method to solve the problem that the sum of the final percentages is not equal to 100
Why check the @nonnull annotation at run time- Why @Nonnull annotation checked at runtime?
Don't swallow rice with vinegar! Teach you 2 moves to make the fish bones "run out" safely
Leetcdoe 2037. Make each student have the minimum number of seat movements (yes, once)
A few secrets - a special day
Love and hate in the Jianghu
AcWing 132. Group queue (queue simulation question)
Thinking about the cooperation process of Network Library -- Some Thoughts on reading brpc
[machine learning] practice of logistic regression classification based on Iris data set
PHP: seven cattle cloud upload file
k53.第二章 基于二进制包安装kubernetes v1.22 --集群部署
Error during session start; please check your PHP and/or webserver log file and configure your PHP