Skip to content

Instantly share code, notes, and snippets.

@format37
Last active January 31, 2021 10:38
Show Gist options
  • Save format37/e51829bc88707e89bc6036a743c0d995 to your computer and use it in GitHub Desktop.
Save format37/e51829bc88707e89bc6036a743c0d995 to your computer and use it in GitHub Desktop.
tensorflow gpu object detection isntallation
# https://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html
conda create -n tensorflow pip python=3.7
conda activate tensorflow
conda install -c anaconda tensorflow-gpu -y
conda install -c conda-forge tf_object_detection -y
conda install -c anaconda protobuf -y
conda install -c conda-forge pycocotools -y
mkdir TensorFlow
cd TensorFlow
git clone https://github.com/tensorflow/models.git
conda install pandas -y
# to serve tf 1.0 - depended scripts, create alternative environment, and swith to them while needed
conda create --name grantf
conda activate grantf
conda install tensorflow==1.13.1=mkl* -y
conda install pandas -y
conda install -c anaconda pillow -y
conda install -c conda-forge tf_object_detection -y
@format37
Copy link
Author

format37 commented Nov 5, 2020

additional commands:

python -c 'import tensorflow as tf; print(tf.__version__)'
conda search tensorflow-gpu
pip install --ignore-installed --upgrade tensorflow-gpu==1.15.2 
# or look for your version at https://anaconda.org/search?q=tensorflow-gpu   
# for example, 1.14.0   
conda install -c cjj3779 tensorflow-gpu   
# or   
conda search tensorflow-gpu
conda install python=3.7
conda install tensorflow-gpu==1.14.0

@format37
Copy link
Author

format37 commented Jan 31, 2021

grant to select conda environments as core of jupyter notebook

conda install nb_conda

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment