ubuntu for DP tools install

发布时间:2017-6-29 10:17:12编辑:www.fx114.net 分享查询网我要评论
本篇文章主要介绍了"ubuntu for DP tools install",主要涉及到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)



上一篇:Express URL跳转(重定向)的实现
下一篇:什么是arXiv.org?

相关文章

相关评论

本站评论功能暂时取消,后续此功能例行通知。

一、不得利用本站危害国家安全、泄露国家秘密,不得侵犯国家社会集体的和公民的合法权益,不得利用本站制作、复制和传播不法有害信息!

二、互相尊重,对自己的言论和行为负责。

好贷网好贷款