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

Please write a requirements.txt file because with tf 2.0, it might not be possible #25

Open
deshwalmahesh opened this issue Jul 24, 2020 · 3 comments

Comments

@deshwalmahesh
Copy link

Could you please tell me what are the requirements so that I can create a new virtual environment and try to implement the code. With tf 2.0, it has all changed and without the exact version of the libraries, it might throw an error which will take me days to debug.

@javoweb
Copy link

javoweb commented Jul 29, 2020

This worked for me

conda create -n im2latextf python=2.7 numpy scipy tqdm jupyter notebook Pillow
conda activate im2latextf
pip install tensorflow-gpu=1.15
pip install -r https://raw.githubusercontent.com/Lasagne/Lasagne/v0.1/requirements.txt
pip install Lasagne==0.1

@jenqz
Copy link

jenqz commented Oct 20, 2020

@javoweb Reported below error while I run pip install tensorflow-gpu==1.15, seems that version not exist.

Collecting tensorflow-gpu==1.15
  Cache entry deserialization failed, entry ignored
  Could not find a version that satisfies the requirement tensorflow-gpu==1.15 (from versions: 0.12.0, 0.12.1, 1.0.0, 1.0.1, 1.1.0)
No matching distribution found for tensorflow-gpu==1.15
You are using pip version 9.0.1, however version 20.2.4 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

@javoweb
Copy link

javoweb commented Oct 29, 2020

Hello @jenqz this may be because of your pip version, please upgrade pip and try again. Also be sure you are using a compatible CUDA version.

TensorFlow 1.15 is the latest 1.x tf release available.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf

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