ubuntu for DP tools install

前端之家收集整理的这篇文章主要介绍了ubuntu for DP tools install前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
sudo apt-get upgrade
sudo apt-get install ntpdate
sudo apt-get install vim-gtk3
sudo apt-get install python3-numpy swig python3-dev python3-scipy
sudo apt-get install python3-tables ipython3
sudo apt-get install spyder3
sudo apt install python3-pip
sudo apt install git
sudo apt-get install bazel
sudo apt-get upgrade bazel
sudo apt-get install ffmpeg
sudo apt-get install doxygen
sudo apt-get install libgtk2.0-dev pkg-config
sudo apt-get install kdbg
sudo apt-get install ipython3-notebook


luarocks install ffmpeg image
luarocks install camera


sudo pip3 install --upgrade tensorflow
sudo pip3 install --upgrade pandas
sudo pip3 install --upgrade matplotlib
sudo pip3 install --upgrade theano
sudo pip3 install tensor2tensor
sudo pip install --upgrade pip




git clone https://github.com/pjreddie/darknet
git clone https://github.com/opencv/opencv
git clone https://github.com/tensorflow/tensor2tensor
git clone https://github.com/tensorflow/models


install bazel:
https://bazel.build/versions/master/docs/install-ubuntu.html#installing-menu


tensorflow/models:
https://github.com/tensorflow/models/blob/master/object_detection/g3doc/installation.md


sudo apt-get install protobuf-compiler python-pil python-lxml
sudo pip install jupyter
sudo pip install matplotlib
sudo pip install pillow
sudo pip install lxml
sudo pip install jupyter
sudo pip install matplotlib






Install torch:
Install Package:
$ Git clone https://github.com/torch/distro.git ~/torch --recursive
$ cd ~/torch; bash install-deps;
$ ./install.sh
$ source ~/.bashrc


Install tensorflow source:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer


$ echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list
$ curl https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg | sudo apt-key add -
sudo apt-get update && sudo apt-get install bazel
sudo apt-get upgrade bazel


git clone --recurse-submodules https://github.com/tensorflow/tensorflow






theano caffe ipython spyder3 latex






curl https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg | sudo apt-key add -
sudo apt-get update &&




1. 修改Time zone
$ sudo dpkg-reconfigure tzdata


2. 同步网络时间
$ sudo ntpdate cn.ntp.org.cn


import tensorflow as tf
from tensorflow.examples.tutorials.mnist import input_data
from tensorflow.python.ops import rnn
from tensorflow.contrib.rnn import core_rnn_cell


#cell=tf.nn.rnn_cell.BasicLSTMCell(rnn_unit)
cell=core_rnn_cell.BasicLSTMCell(rnn_unit)



Install Caffe:

$ sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
$ sudo apt-get install --no-install-recommends libboost-all-dev
$ sudo apt-cache show libopencv-dev
$ sudo apt-get install libatlas-base-dev
$ sudo apt-get install python-dev
$ sudo apt-get install libgflags-dev libgoogle-glog-dev liblmdb-dev


$ git clone https://github.com/caffe2/caffe

$ mkdir build

$ cd build

$ cmake ..

$ make all

$ make install

原文链接:https://www.f2er.com/ubuntu/352517.html

猜你在找的Ubuntu相关文章