首页 » 技术分享 » 容器化tensorflow ubuntu

容器化tensorflow ubuntu

 

root@bf3b67d282aa:~# pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
absl-py (0.2.2)
astor (0.6.2)
atari-py (0.1.1)
bleach (1.5.0)
Box2D-kengz (2.3.3)
certifi (2018.4.16)
cffi (1.11.5)
chardet (3.0.4)
cloudpickle (0.5.3)
cycler (0.10.0)
cymem (1.31.2)
Cython (0.28.3)
cytoolz (0.8.2)
dask (0.18.1)
decorator (4.3.0)
dill (0.2.8.2)
en-core-web-sm (2.0.0)
future (0.16.0)
gast (0.2.0)
glfw (1.6.0)
grpcio (1.12.1)
gym (0.10.5)
h5py (2.8.0)
html5lib (0.9999999)
idna (2.7)
imageio (2.3.0)
Keras (2.1.6)
kiwisolver (1.0.1)
lxml (4.2.3)
Markdown (2.6.11)
matplotlib (2.2.2)
mecab-python (0.0.0)
msgpack-numpy (0.4.1)
msgpack-python (0.5.6)
mujoco-py (1.50.1.56)
murmurhash (0.28.0)
networkx (2.1)
nltk (3.3)
numpy (1.14.5)
opencv-python (3.4.1.15)
pathlib (1.0.1)
Pillow (5.1.0)
pip (9.0.1)
plac (0.9.6)
preshed (1.0.0)
progressbar2 (3.38.0)
protobuf (3.5.2.post1)
psutil (5.4.6)
pycorenlp (0.3.0)
pycparser (2.18)
pycurl (7.43.0)
pygame (1.9.3)
pyglet (1.3.2)
pygobject (3.20.0)
PyOpenGL (3.1.0)
pyparsing (2.2.0)
python-apt (1.1.0b1+ubuntu0.16.4.1)
python-dateutil (2.7.3)
python-utils (2.3.0)
pytz (2018.5)
PyWavelets (0.5.2)
PyYAML (3.12)
regex (2017.4.5)
requests (2.19.1)
scikit-image (0.14.0)
scikit-learn (0.19.1)
scipy (1.1.0)
setuptools (39.2.0)
six (1.11.0)
spacy (2.0.11)
ssh-import-id (5.5)
stanfordcorenlp (3.9.1.1)
tensorboard (1.8.0)
tensorflow-gpu (1.8.0)
tensorlayer (1.9.0)
termcolor (1.1.0)
Theano (1.0.2)
thinc (6.10.2)
toolz (0.9.0)
tqdm (4.23.4)
ujson (1.35)
urllib3 (1.23)
Werkzeug (0.14.1)
wheel (0.31.1)
wrapt (1.10.11)
root@bf3b67d282aa:~# history 
    1  pip install tensorlayer
    2  pip install scikit-image
    3  pip install pygame
    4  pip install nltk
    5  pip install jieba
    6  apt-get install -y python-numpy python-dev cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig
    7  apt update
    8  apt-get install -y python-numpy python-dev cmake zlib1g-dev libjpeg-dev xvfb libav-tools xorg-dev python-opengl libboost-all-dev libsdl2-dev swig
    9  cd /cptjack/
   10  ls
   11  cd AI\ Lab/
   12  python
   13  python3
   14  pip3
   15  pip
   16  ps -aux
   17  kill 680
   18  ps -aux
   19  cd /cptjack/AI\ Lab/
   20  ls
   21  ./Anaconda3-5.1.0-Linux-x86_64.sh 
   22  cd ..
   23  tar -xzvf pip-9.0.1.tar.gz 
   24  cd pip-9.0.1
   25  ls
   26  python3 setup.py 
   27  cd ..
   28  tar -xzvf setuptools-38.5.1.zip 
   29  unzip 
   30  cd setuptools-38.5.1
   31  ls
   32  python3 setup.py 
   33  python3 setup.py install
   34  cd ../pip-9.0.1
   35  python3 setup.py install
   36  pip install tensorflow-gpu
   37  pip install keras
   38  pip install caffe
   39  pip install opencv_python
   40  pip install gym[all]
   41  gcc
   42  pip install gym[all]
   43  pip install theano
   44  cd /cptjack/CRF
   45  cd /cptjack/CRF++-0.58/
   46  ls
   47  ./configure 
   48  make
   49  make install
   50  cd python/
   51  python setup.py build
   52  python setup.py install
   53  pip install pygame
   54  pip install gym[all]
   55  pip install gym
   56  pip install gym[all]
   57  apt autoclean
   58  apt clean
   59  apt-get clean
   60  apt-get autoclean
   61  apt-get autoremove
   62  cd ~/.cache/pip/
   63  ls
   64  cd ..
   65  cd pip/
   66  ls http/
   67  ls wheels/
   68  cd ..
   69  ls -l
   70  ls -l --block-size=k
   71  rm -r pip/
   72  deb http://ftp2.cn.debian.org/debian sid main contrib non-free
   73  deb
   74  apt install deb
   75  apt install caffe-cuda
   76  apt install caffe
   77  apt search caffe*
   78  apt install libopencv-dev
   79  sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
   80  git clone https://github.com/BVLC/caffe.git
   81  git
   82  sudo apt-get install git cmake build-essential 
   83  git clone https://github.com/BVLC/caffe.git
   84  ls
   85  cd caffe/
   86  ls
   87  cp Makefile.config.example Makefile.config
   88  dpkg -l
   89  dpkg -l | grep opencv
   90  ls
   91  make all -j12
   92  apt install gflags
   93  apt install gflag
   94  apt install gflags
   95  apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libboost-all-dev libhdf5-serial-dev libgflags-dev libgoogle-glog-dev liblmdb-dev protobuf-compiler
   96  make all -j12
   97  apt install libatlas-dev
   98  make all -j12
   99  apt install libcblas-dev libatlas-dev
  100  cd caffe/
  101  make -j12
  102  make clean
  103  make -j12
  104  dpkg -l |grep altas
  105  dpkg -l |grep atlas
  106  dpkg -l |grep cblas
  107  sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
  108  sudo apt-get install --no-install-recommends libboost-all-dev
  109  sudo apt-get install libopenblas-dev liblapack-dev libatlas-base-dev
  110  sudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
  111  sudo apt-get install --no-install-recommends libboost-all-dev
  112  sudo apt-get install libopenblas-dev liblapack-dev libatlas-base-dev
  113  sudo apt-get -y install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
  114  sudo apt-get -y install --no-install-recommends libboost-all-dev
  115  sudo apt-get -y install libopenblas-dev liblapack-dev libatlas-base-dev
  116  make all -j12
  117  make clean
  118  make all -j12
  119  make test -j12
  120  make runtest -j12
  121  ls -l ~/.cache/
  122  apt-get autoclean
  123  apt-get clean
  124  apt-get autoremove
  125  nvidia-smi 
  126  exit
  127  apt install openssh-server
  128  cp /etc/ssh/sshd_config ./Desktop/
  129  cp ./Desktop/sshd_config /etc/ssh/
  130  service ssh restart 
  131  ifconfig
  132  ssh 172.17.0.2
  133  passwd 
  134  ssh 172.17.0.2
  135  cp /startup.sh ./Desktop/
  136  cp ./Desktop/startup.sh /
  137  vim
  138  vi /startup.sh 
  139  cat /startup.sh 
  140  pip list
  141  pip3 list
  142  which pip
  143  which pip3
  144  ls -l /usr/local/bin/pip
  145  pip list >> pip
  146  pip3 list >> pip3
  147  python3
  148  which python3
  149  python3
  150  pip3 install nltk
  151  python3
  152  javac
  153  pip3 install stanfordcorenlp
  154  python3
  155  python
  156  htk
  157  cd /cptjack/
  158  cd HTK/
  159  ls
  160  cd htk
  161  ls
  162  ./configure --prefix=/usr/local/htk
  163  make -j8 all
  164  ./configure --prefix=/usr/local/htk
  165  make all
  166  cd /cptjack/
  167  cd HTK/
  168  cd htk
  169  ./configure --prefix=/usr/local/htk
  170  make all
  171  apt install libc6 libc6-dev
  172  make all
  173  cd /cptjack/
  174  cp -r HTK/ /
  175  cd /HTK/
  176  cd htk
  177  ./configure --prefix=/usr/local/htk
  178  make all
  179  apt purge libc6-dev
  180  apt install g++-multilib gcc-multilib libc6-dev libc6-dev:i386 libx11-dev:i386
  181  apt install libc6-dev:i386
  182  apt  upda
  183  apt install libc6-dev:i386
  184  cd /cptjack/
  185  cp sources.list /etc/apt/
  186  apt update
  187  apt install libc6-dev:i386
  188  apt install libc6-dev
  189  apt install libc6-dev:i386
  190  cp sources.list /etc/apt/
  191  cat /etc/apt/sources.list
  192  apt update
  193  apt install libc6-dev:i386
  194  apt install libx11
  195  apt install libx11-dev
  196  apt install libx11-dev:i386
  197  echo $C_INCLUDE_PATH
  198  export C_INCLUDE_PATH=/usr/include/x86_64-linux-gnu/:$C_INCLUDE_PATH
  199  echo $C_INCLUDE_PATH
  200  cd HTK/htk
  201  make all
  202  apt install libc6-dev-i386
  203  make all
  204  ./configure --prefix=/usr/local/htk --without-x --disable-hslab
  205  make -j8 all
  206  make install 
  207  make clean
  208  cd ../..
  209  rm -r HTK
  210  cd HTK/htk
  211  ./configure --prefix=/usr/local/htk --without-x --disable-hslab
  212  make all
  213  make clean
  214  make  all
  215  make install 
  216  mkdir /usr/local/htk
  217  cd ..
  218  cd htk
  219  s
  220  ls
  221  ./configure --prefix=/usr/local/htk --without-x --disable-hslab
  222  ls
  223  make all
  224  ls
  225  make all
  226  make install
  227  cd cp
  228  cd /cptjack/
  229  cp -r Stanfordnlp/ /
  230  source .bashrc
  231  echo $PATH
  232  whoami 
  233  pip list
  234  history 
root@bf3b67d282aa:~# 
 

转载自原文链接, 如需删除请联系管理员。

原文链接:容器化tensorflow ubuntu,转载请注明来源!

0