im2latex-tensorflow
im2latex-tensorflow copied to clipboard
Please write a requirements.txt file because with tf 2.0, it might not be possible
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.
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 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.
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