Repository

serengil/deepface

DeepFace

Open github.com

serengil/deepface

DeepFace

A lightweight face recognition and facial attribute analysis (age, gender, emotion, race) library for Python. Supports multiple backends: ONNX, TensorFlow, PyTorch.

Visit project

Show me a random project

First shared
Sep 27, 2026
HN activity
10

Show HN@serengilSep 27, 2026

Show HN: DeepFace is now running on PyTorch alongside TensorFlow

In early 2020, tensorflow was the dominant deep learning framework. So, deepface was built to run on top of tensorflow. Thereafter, pytorch becomes the dominant framework for deep learning. We got many requests from community to support pytorch. In the latest release (v0.0.101), DeepFace can now run on top of PyTorch alongside TensorFlow! Users has been installing deepface as `pip install deepface` commmand and this was installing its tensorflow dependency. Now, users should install the library as `pip install deepface[tensorflow]` or `pip install deepface[pytorch]` commands to install its deep learning framework dependency. To avoid releasing breaking change, the default `pip install deepface` command will continue to install tensorflow for a while. Be appreciate it if you share your comments, feedbacks and opinions.

Community

Hacker News discussion

Loading the thread…