im2latex-tensorflow icon indicating copy to clipboard operation
im2latex-tensorflow copied to clipboard

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

Open deshwalmahesh opened this issue 5 years ago • 3 comments

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.

deshwalmahesh avatar Jul 24 '20 04:07 deshwalmahesh

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

javoweb avatar Jul 29 '20 18:07 javoweb

@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.

jenqz avatar Oct 20 '20 03:10 jenqz

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

javoweb avatar Oct 29 '20 22:10 javoweb