Skip to content

BrownOfSummer/tensorflow_tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##########################################################################
Some test code of tensorflow, include variable tensorflow versions
#########################################################################
#1 How to install with virtualenv
    (1) For Mac
    sudo easy_install pip
    sudo pip install --upgrade virtualenv
    virtualenv --system-site-packages targetDirectory # for Python 2.7
    virtualenv --system-site-packages -p python3 targetDirectory # for Python 3.n
    source ~/tensorflow/bin/activate      # If using bash, sh, ksh, or zsh
    source ~/tensorflow/bin/activate.csh  # If using csh or tcsh
    pip install --upgrade tensorflow      # for Python 2.7
    pip3 install --upgrade tensorflow     # for Python 3.n
    Or use Binary URL
    (2) For Ubuntu with virtualenv
    sudo apt-get install python-pip python-dev python-virtualenv # for Python 2.7
    sudo apt-get install python3-pip python3-dev python-virtualenv # for Python 3.n
    virtualenv --system-site-packages targetDirectory # for Python 2.7
    virtualenv --system-site-packages -p python3 targetDirectory # for Python 3.n
    source ~/tensorflow/bin/activate # bash, sh, ksh, or zsh
    source ~/tensorflow/bin/activate.csh  # csh or tcsh
    pip install --upgrade tensorflow      # for Python 2.7
    pip3 install --upgrade tensorflow     # for Python 3.n
    pip install --upgrade tensorflow-gpu  # for Python 2.7 and GPU
    pip3 install --upgrade tensorflow-gpu # for Python 3.n and GPU
    Or use Binard Url

    (3) For specific
    curl -s https://storage.googleapis.com/tensorflow |xmllint --format - |grep whl
    TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-some-version.whl
    pip3 install --upgrade $TF_BINARY_URL
#2 Solve the SSE4 problem
    https://github.com/lakshayg/tensorflow-build

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published