Sign inSign up

zergmk2/chineseocr

By zergmk2

•Updated over 7 years ago

docker image for chineseocr project.

Image
11

7.9K

zergmk2/chineseocr repository overview

A pre-built docker image for trying chinesocr Environment info: Pytorch 1.0 Python 3.6 chineseocr can be cloned from https://github.com/chineseocr/chineseocr⁠

⁠For running the docker with CPU Only

  • How to play with this docker image:

    • docker pull zergmk2/chineseocr:pytorch1.0-cpu-py3.6
    • docker run -d -p 8080:8080 zergmk2/chineseocr:pytorch1.0-cpu-py3.6
    • access http://localhost:8080/ocr⁠
  • How to use your model with this docker image:

    • Create a folder and copy all model into it. For example, mkdir /opt/chineseocr_models/
    • docker run -d -p 8080:8080 -v /opt/chineseocr_models/:/app/models zergmk2/chineseocr:pytorch1.0-cpu-py3.6
    • access http://localhost:8080/ocr⁠

⁠For running the docker with GPU Only

⁠To run the gpu image, please refer to nvidia-docker github page⁠ for how to install nvidia-docker.
  • How to play with this docker image:

    • docker pull zergmk2/chineseocr:pytorch1.0-gpu-py3.6
    • docker run -d -p 8080:8080 zergmk2/chineseocr:pytorch1.0-gpu-py3.6
    • access http://localhost:8080/ocr⁠
  • How to use your model with this docker image:

    • Create a folder and copy all model into it. For example, mkdir /opt/chineseocr_models/
    • docker run -d -p 8080:8080 -v /opt/chineseocr_models/:/app/models zergmk2/chineseocr:pytorch1.0-gpu-py3.6
    • access http://localhost:8080/ocr⁠

Tag summary

Content type

Image

Digest

Size

3 GB

Last updated

over 7 years ago

docker pull zergmk2/chineseocr