- .ipynb_checkpoints
- apphelper
- application
- chineseocr
- crnn
- models
- results
- static
- templates
- test
- text
- tools
- train
- .gitignore
- app.py
- app_spec.yml
- chineseocr-master.zip
- config.py
- core.16924
- docker.sh
- Dockerfile
- handler.py
- img.jpeg
- LICENSE
- model.py
- OVERVIEW.md
- post-demo.py
- project_requirements.txt
- README.ipynb
- README.md
- requirements.txt
- setup-cpu.md
- setup.md
- test.ipynb
setup-cpu.md @1c25ea9 — view markup · raw · history · blame
CPU 环境配置,支持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 cd darknet/ && make && cd .. 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 web.py==0.40.dev0 pip install keras==2.1.5 tensorflow==1.8
mac
conda install pytorch torchvision -c pytorch
linux
conda install pytorch-cpu torchvision-cpu -c pytorch
python版本nms无须执行下一步
pushd text/detector/utils && sh make-for-cpu.sh && popd