Giter Club home page Giter Club logo

Comments (4)

serengil avatar serengil commented on June 5, 2024

Okay I know this issue, we basically need to do some changes similar to this PR: serengil/deepface#1126

Meanwhile, you can downgrade your tensorflow to 2.15

Or if you still want to use tensorflow 2.16, install tf_keras with pip install tf_keras, and then set the following environment variable before importing deepface (and tensorflow if you import it manually)

import os
os.environ["TF_USE_LEGACY_KERAS"] = "1"
from deepface import DeepFace

from retinaface.

atg1966 avatar atg1966 commented on June 5, 2024

Serengil,

both solutions worked, and I kept the one using tensorflow 2.16.
I really appreciated the prompt reply and solution.

Thank you
ATG

from retinaface.

serengil avatar serengil commented on June 5, 2024

@atg1966 I will sort this in the source code, after that release you do not have to set that env var anymore - because i will set it already.

still it is good to know nothing is blocking you right now. will close this ticket when i publish that release.

from retinaface.

serengil avatar serengil commented on June 5, 2024

sorted with PR - #99

from retinaface.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.