当前位置:网站首页>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
边栏推荐
- Several solutions across domains
- AcWing 41. Stack containing min function (monotone stack)
- DrQueueOnRails 集成 LDAP 验证
- 浅谈调和形状上下文特征HSC对3DSC的改进
- PHP generate schedule
- JS scale down the width and height of the picture
- 浅谈三维形状上下文特征3DSC理论及应用
- Common configuration commands for Cisco network device security management
- MySQL performance test (slow query log)
- Reverse analysis of Huawei housekeeper software [transfer]
猜你喜欢

读mysql45讲-自我总结(部分)

Set SVG color

ArrayList automatic capacity expansion principle

使用cpolar远程办公(2)

^34作用域面试题

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

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

The most detailed explanation of the top ten levels of sqli labs platform

模块8作业

M-Arch(番外13)GD32L233评测-来点音乐
随机推荐
JS obtains the time period of this week and last week (one time period is from Monday to Sunday)
^34作用域面试题
FPGA key experiment
PHP get (remote) large file method record
Handwritten common interview questions
AcWing 41. Stack containing min function (monotone stack)
Leetcode 2169. 得到 0 的操作数
session_ start(): Cannot send session cache limiter - headers already sent
Timers in golang
Leetcode2154. 将找到的值乘以 2(二分查找)
2022-06-11:注意本文件中,graph不是邻接矩阵的含义,而是一个二部图。 在长度为N的邻接矩阵matrix中,所有的点有N个,matrix[i][j]
How the ArrayList collection implements ascending and descending order
k58.第一章 基于kubeadm安装kubernetes v1.23 -- 集群部署
对网络库协程的思考——读brpc有感
基于C#的安全聊天工具设计
file_ get_ Contents() JSON after reading_ Decode cannot be converted to array
k53.第二章 基于二进制包安装kubernetes v1.22 --集群部署
Why check the @nonnull annotation at run time- Why @Nonnull annotation checked at runtime?
Common configuration commands for Cisco network device security management
Fiddler automatically saves the result of the specified request to a file