PINTO0309 / PINTO_model_zoo

A repository for storing models that have been inter-converted between various frameworks. Supported frameworks are TensorFlow, PyTorch, ONNX, OpenVINO, TFJS, TFTRT, TensorFlowLite (Float32/16/INT8), EdgeTPU, CoreML.
https://qiita.com/PINTO
MIT License
3.49k stars 566 forks source link

FAN TensorFlowLite #328

Closed ghost closed 1 year ago

ghost commented 1 year ago

Issue Type

Support

OS

Windows

OS architecture

x86_64

Programming Language

C++

Framework

TensorFlowLite

Model name and Weights/Checkpoints URL

https://github.com/PINTO0309/PINTO_model_zoo/tree/main/303_FAN

Description

Hello, can you please add FAN TensorFlowLite demo?

Relevant Log Output

No response

URL or source code for simple inference testing code

No response

PINTO0309 commented 1 year ago

Because of the time cost, I do not actively create demo code unless a model is of great interest to me or seems practical after creating a demo. This repository welcomes pull requests for demo code.

Below is the code from which the quotes are taken.

https://github.com/PINTO0309/PINTO_model_zoo/blob/main/303_FAN/url.txt

https://github.com/hhj1897/face_alignment https://github.com/hhj1897/fan_training https://github.com/hhj1897/face_pose_augmentation

ghost commented 1 year ago

After converting original 2dfan2_alt.pth model to onnx i get this output

screen

How to get landmarks points from outputs?