Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Tensorflow 1.14.0 #1054

Open
baardl opened this issue Jul 10, 2019 · 2 comments
Open

Support for Tensorflow 1.14.0 #1054

baardl opened this issue Jul 10, 2019 · 2 comments

Comments

@baardl
Copy link

baardl commented Jul 10, 2019

When trying to install I get this error:

Collecting tensorflow==1.7 (from easyfacenet)
  Could not find a version that satisfies the requirement tensorflow==1.7 (from easyfacenet) (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1)
No matching distribution found for tensorflow==1.7 (from easyfacenet)
@tony2278
Copy link

pip install tensorflow==1.7.0
Collecting tensorflow==1.7.0
Could not find a version that satisfies the requirement tensorflow==1.7.0 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 2.0.0a0, 2.0.0b0, 2.0.0b1)
No matching distribution found for tensorflow==1.7.0

@mrwunderbar666
Copy link

Tensorflow v1.7 is not compatible with the most recent release of Python. It only works up to Python 3.6.x

There is a workaround for this by using a virtual environment:

  • install python virturalenv with pip pip install virtualenv (optionally for Win: pip install virtualenvwrapper-win

  • Download an older build of Python (e.g. 3.6.9)

  • Install it in a separate folder (e.g. C:\Python36\

  • get a fresh clone of the of the facenet repository

  • go to your facenet folder

  • change the requirements.txt to install the correct version of scipy: scipy==1.1.0 (see issue update requirements.txt and detect_face.py for aligning dataset #1060)

  • create a new virtual environmnet: virtualenv --python=*insert path to older python version* venv

  • activate it via venv\Scripts\activate

  • install requirements: pip install -r requirements.txt

hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants