Tensorflow
sudo apt install python3-dev python3-pip
pip install -U pip six numpy wheel mock
pip install -U keras_applications==1.0.5 keras_preprocessing==1.0.3 --no-deps
./configure # see 'View sample configuration session' here https://www.tensorflow.org/install/source
bazel build --config=opt --config=cuda --config=mkl --config=monolithic //tensorflow/tools/pip_package:build_pip_package
./bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
pip install /tmp/tensorflow_pkg/tensorflow-1.12.0-cp36-cp36m-linux_x86_64.whl
cuDNN
Instructions here: https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.htmlBazel
Follow instructions: https://docs.bazel.build/versions/master/install-ubuntu.html#using-bazel-custom-apt-repositoryDownload from https://github.com/bazelbuild/bazel/releases
Be sure Java installed
# Bazel 18.1 for TF r1.12
# Details why so: https://github.com/tensorflow/tensorflow/issues/23401
chmod +x bazel--installer-linux-x86_64.sh
./bazel--installer-linux-x86_64.sh --user
# add:
# export PATH="$PATH:$HOME/bin"
# to ~/.bashrc
git clone https://github.com/tensorflow/tensorflow
git checkout r1.12
https://www.tensorflow.org/install/source
Opencv
https://www.pyimagesearch.com/2018/05/28/ubuntu-18-04-how-to-install-opencv/
ln -s /usr/local/lib/python3.6/site-packages/cv2.so cv2.so
cp -r ~/anaconda3/envs/opencv_build/lib/python3.6/site-packages/cv2/ ~/anaconda3/envs/tf_build/lib/python3.6/site-packages/
1 comment:
Look at the way my partner Wesley Virgin's tale launches in this shocking and controversial VIDEO.
Wesley was in the army-and shortly after leaving-he found hidden, "MIND CONTROL" secrets that the government and others used to get whatever they want.
As it turns out, these are the same SECRETS many celebrities (especially those who "come out of nothing") and elite business people used to become wealthy and famous.
You probably know that you use less than 10% of your brain.
That's because most of your BRAINPOWER is UNCONSCIOUS.
Perhaps this thought has even taken place IN YOUR own head... as it did in my good friend Wesley Virgin's head seven years ago, while driving an unregistered, trash bucket of a vehicle without a driver's license and with $3 on his bank card.
"I'm very frustrated with living paycheck to paycheck! When will I get my big break?"
You've taken part in those types of thoughts, ain't it so?
Your very own success story is going to happen. You just have to take a leap of faith in YOURSELF.
UNLOCK YOUR SECRET BRAINPOWER
Post a Comment