Skip to content

Proposal: PyTorch backend support #1512

Description

@elifkcontar

Description

Hi,

DeepFace is tied to TensorFlow/Keras right now. For PyTorch-based projects this is a bit heavy since it means pulling in TF just for DeepFace, which can cause conflicts.

I’m considering working on a PyTorch backend:

  • re-implement recognition models (ArcFace, VGG-Face, Facenet, etc.) in PyTorch
  • keep the same API (verify, analyze) so users can switch between TF and Torch

Would you be open to this idea?

  • As a PR to this repo (e.g. backend="torch")
  • Or as a forked repo with clear credits to DeepFace

Curious what you think.

Additional Info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions