- .ipynb_checkpoints
- apphelper
- application
- chineseocr
- crnn
- models
- results
- static
- templates
- test
- text
- tools
- train
- .gitignore
- app-Copy1.py
- app.py
- app_spec.yml
- chineseocr-master.zip
- config-Copy1.py
- config.py
- core-Copy1.16924
- core.16924
- docker-Copy1.sh
- docker.sh
- Dockerfile
- Dockerfile-Copy1
- faas_requirements.txt
- handler.py
- img.jpeg
- LICENSE
- LICENSE-Copy1
- model-Copy1.py
- model.py
- OVERVIEW.md
- post-demo-Copy1.py
- post-demo.py
- project_requirements.txt
- README-Copy1.md
- README.ipynb
- README.md
- requirements-Copy1.txt
- requirements.txt
- setup-Copy1.md
- setup-cpu-Copy1.md
- setup-cpu.md
- setup.md
- test-Copy1.ipynb
- test.ipynb
- Untitled-Copy1.ipynb
- Untitled-Copy1.py
- Untitled-Copy2.ipynb
- Untitled.ipynb
- Untitled.py
setup.md @da31108 — view markup · raw · history · blame
环境配置,支持linux\macOs
conda create -n chineseocr python=3.6 pip scipy numpy jupyter ipython ##运用conda 创建python环境
source activate chineseocr
git submodule init && git submodule update
pip install easydict opencv-contrib-python==3.4.2.16 Cython h5py lmdb mahotas pandas requests bs4 matplotlib lxml -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install -U pillow -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install keras==2.1.5 tensorflow==1.8 tensorflow-gpu==1.8
pip install web.py==0.40.dev0
conda install pytorch torchvision -c pytorch
pip install torch torchvision
python版本nms无须执行下一步
pushd text/detector/utils && sh make.sh && popd