crnn安装

社会主义新天地 提交于 2020-01-06 23:21:48

【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>

  1  sudo apt-get install git
    2  git
    3  cd ~
    4  mkdir soft
    5  cd soft
    6  ls
    7  wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda-2.2.0-Linux-x86_64.sh
    8  ls
    9  bash Anaconda-2.2.0-Linux-x86_64.sh
   10  python
   11  cd /root
   12  ls
   13  cd anaconda/
   14  ls
   15  cd bin
   16  ls
   17  cd ..
   18  ls
   19  cd conda-meta/
   20  cd ..
   21  cd bin
   22  ls
   23  ls conda
   24  ./conda install -n crnn python=3.5
   25  conda create -n crnn python=3.5
   26  ./conda create -n crnn python=3.5
   27  source activate crnn
   28  python
   29  pip
   30  pip -V
   31  cd ~/soft
   32  ls
   33  git clone https://github.com/SeanNaren/warp-ctc.git
   34  cd warp-ctc
   35  git checkout ac045b6072b9bc3454fb9f9f17674f0d59373789
   36  mkdir build; cd build
   37  cmake ..
   38  apt install cmake
   39  cmake ..
   40  sudo apt-get update
   41  sudo apt-get install -y build-essential
   42  cmake ..
   43  make
   44  cd ../pytorch_binding/
   45  python setup.py install
   46  pip install torch ==[3~
   47  pip install torch ==0.4
   48  pip install torch==0.4.1
   49  python setup.py install
   50  pip install numpy --upgrade --force
   51  python setup.py install
   52  cd ../build
   53  cp libwarpctc.so ../../usr/lib
   54  cp libwarpctc.so /usr/lib
   55  history

pip uninstall torch
pip uninstall torchvision
pip install torch==0.4.1
pip install torchvision==0.2.2
pip install -i https://pypi.douban.com/simple pillow==4.1.1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!