← 开源
polarisZhao

PFLD-pytorch

PFLD pytorch Implementation

Model DevelopmentArchitectureDomain-specific trainingPython
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
876
Star
205
Fork
+0
本周
3
贡献者
创建于 2019-08-25 · 更新于 2026-09-11 · 今日第 12984 名
主要开发者

polarisZhao/PFLD-pytorch 排名第 12,984,有 876 个星标。

同类别比较

polarisZhao/PFLD-pytorch 排名第 12,984,此处有 8 个同类条目;lucidrains/mixture-of-experts 排名第 12,989。

同类别比较
名称排名指标
google/hdrnet12,968
语言:
Python
星标数:
877
分叉数:
319
简介:
An implementation of 'Deep Bilateral Learning for Real-Time Image Enhancement', SIGGRAPH 2017
EpistasisLab/pmlb12,973
语言:
Python
星标数:
876
分叉数:
144
简介:
PMLB: A large, curated repository of benchmark datasets for evaluating supervised machine learning algorithms.
WooooDyy/AgentGym-RL12,975
语言:
Python
星标数:
876
分叉数:
89
简介:
Code and implementations for the paper "AgentGym-RL: Training LLM Agents for Long-Horizon Decision Making through Multi-Turn Reinforcement Learning" by Zhiheng Xi et al.
brownvc/R3GAN12,976
语言:
Python
星标数:
876
分叉数:
45
简介:
Code for NeurIPS 2024 paper - The GAN is dead; long live the GAN! A Modern Baseline GAN - by Huang et al.
lucidrains/mixture-of-experts12,989
语言:
Python
星标数:
875
分叉数:
71
简介:
A Pytorch implementation of Sparsely-Gated Mixture of Experts, for massively increasing the parameter count of language models
sbi-dev/sbi12,990
语言:
Python
星标数:
875
分叉数:
272
简介:
sbi is a Python package for simulation-based inference, designed to meet the needs of both researchers and practitioners. Whether you need fine-grained control or an easy-to-use interface, sbi has you covered.
allenai/XNOR-Net12,995
语言:
Lua
星标数:
874
分叉数:
235
简介:
ImageNet classification using binary Convolutional Neural Networks
jeffreyyihuang/two-stream-action-recognition12,998
语言:
Python
星标数:
874
分叉数:
246
简介:
Using two stream architecture to implement a classic action recognition method on UCF101 dataset
关键参数与规格
关键参数与规格
参数值
语言Python
类别Model Development
子类别Architecture,Domain-specific training
星标数876
分叉数205
贡献者3
创建日期2019-08-25
更新日期2026-09-11
1 天星标数0
7 天星标数0
排名12,984
上次排名12,879
排名变化-105
7 天星标排名13,704
上次 7 天星标排名13,717
7 天星标排名变化13
总星标排名12,367
上次总星标排名12,348
总星标排名变化-19
国家China
README 摘录

PFLD-pytorch Implementation of PFLD A Practical Facial Landmark Detector by pytorch. Datasets **WFLW Dataset Download** ​ Wider Facial Landmarks in-the-wild (WFLW) is a new proposed face dataset. It contains 10000 faces (7500 for training and 2500 for testing) with 98 fully manual annotated landmarks. WFLW Training and Testing images [Google Drive] [Baidu Drive] 2. Unzip above two packages and put them on 4. training & testing training : use tensorboard, open a new terminal testing: 4. pytorch -> onnx -> ncnn **Pytorch

-> onnx** ~ **onnx -> ncnn** how to build : Now you can use **pfld-sim. reference: PFLD: A Practical Facial Landmark Detector Tensorflow Implementation:

常见问题

记录了多少星标和分叉?

polarisZhao/PFLD-pytorch 有 876 个星标和 205 个分叉。

仓库排名是多少?

polarisZhao/PFLD-pytorch 排名第 12,984。

记录的语言和类别是什么?

polarisZhao/PFLD-pytorch 有 876 个星标,语言为 Python,类别为 Model Development。

哪个仓库排名最接近?

polarisZhao/PFLD-pytorch 与 lucidrains/mixture-of-experts 比较,后者排名第 12,989,有 875 个星标。

README

PFLD-pytorch

Implementation of PFLD A Practical Facial Landmark Detector by pytorch.

1. install requirements

pip3 install -r requirements.txt

2. Datasets

  • WFLW Dataset Download

​ Wider Facial Landmarks in-the-wild (WFLW) is a new proposed face dataset. It contains 10000 faces (7500 for training and 2500 for testing) with 98 fully manual annotated landmarks.

  1. WFLW Training and Testing images [Google Drive] [Baidu Drive]
  2. WFLW Face Annotations
  3. Unzip above two packages and put them on ./data/WFLW/
  4. move Mirror98.txt to WFLW/WFLW_annotations
$ cd data 
$ python3 SetPreparation.py

3. training & testing

training :

$ python3 train.py

use tensorboard, open a new terminal

$ tensorboard  --logdir=./checkpoint/tensorboard/

testing:

$ python3 test.py

4. results:

5. pytorch -> onnx -> ncnn

Pytorch -> onnx

python3 pytorch2onnx.py

onnx -> ncnn

how to build :https://github.com/Tencent/ncnn/wiki/how-to-build

cd ncnn/build/tools/onnx
./onnx2ncnn pfld-sim.onnx pfld-sim.param pfld-sim.bin

Now you can use pfld-sim.param and pfld-sim.bin in ncnn:

ncnn::Net pfld;
pfld.load_param("path/to/pfld-sim.param");
pfld.load_model("path/to/pfld-sim.bin");

cv::Mat img = cv::imread(imagepath, 1);
ncnn::Mat in = ncnn::Mat::from_pixels_resize(img.data, ncnn::Mat::PIXEL_BGR, img.cols, img.rows, 112, 112);
const float norm_vals[3] = {1/255.f, 1/255.f, 1/255.f};
in.substract_mean_normalize(0, norm_vals);

ncnn::Extractor ex = pfld.create_extractor();
ex.input("input_1", in);
ncnn::Mat out;
ex.extract("415", out);

6. reference:

PFLD: A Practical Facial Landmark Detector https://arxiv.org/pdf/1902.10859.pdf

Tensorflow Implementation: https://github.com/guoqiangqi/PFLD

排名相邻
同类项目