Giter VIP home page Giter VIP logo

chinese_ocr's People

Contributors

pengcao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chinese_ocr's Issues

文字方向识别

我用vgg训练了四个方向的分类,4万的数据,效果不理想。请问文字方向识别数据集是怎么样?

你好,执行sh setup-python3-cpu.sh出错了,请帮忙看一下

ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-th7tv7ue/grpcio/setup.py'"'"'; file='"'"'/tmp/pip-install-th7tv7ue/grpcio/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-th7tv7ue/grpcio/pip-egg-info
cwd: /tmp/pip-install-th7tv7ue/grpcio/
Complete output (2 lines):
Found cython-generated files...
error in grpcio setup command: 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

大佬好,请问keras版本号多少..

Tensor("Placeholder:0", shape=(?, ?, ?, 3), dtype=float32)
Tensor("conv5_3/conv5_3:0", shape=(?, ?, ?, 512), dtype=float32)
Tensor("rpn_conv/3x3/rpn_conv/3x3:0", shape=(?, ?, ?, 512), dtype=float32)
Tensor("lstm_o/Reshape_2:0", shape=(?, ?, ?, 512), dtype=float32)
Tensor("lstm_o/Reshape_2:0", shape=(?, ?, ?, 512), dtype=float32)
Tensor("rpn_cls_score/Reshape_1:0", shape=(?, ?, ?, 20), dtype=float32)
Tensor("rpn_cls_prob:0", shape=(?, ?, ?, ?), dtype=float32)
Tensor("Reshape_2:0", shape=(?, ?, ?, 20), dtype=float32)
Tensor("rpn_bbox_pred/Reshape_1:0", shape=(?, ?, ?, 40), dtype=float32)
Tensor("Placeholder_1:0", shape=(?, 3), dtype=float32)
2019-11-08 09:57:43.611347: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Tensor_name is : rpn_conv/3x3/biases
Tensor_name is : rpn_cls_score/weights
Tensor_name is : rpn_bbox_pred/biases
Tensor_name is : lstm_o/weights
Tensor_name is : lstm_o/bidirectional_rnn/fw/lstm_cell/bias
Tensor_name is : lstm_o/bidirectional_rnn/bw/lstm_cell/kernel
Tensor_name is : lstm_o/bidirectional_rnn/bw/lstm_cell/bias
Tensor_name is : conv5_3/weights
Tensor_name is : conv5_3/biases
Tensor_name is : lstm_o/biases
Tensor_name is : conv5_2/weights
Tensor_name is : conv2_2/weights
Tensor_name is : conv1_1/weights
Tensor_name is : conv4_2/weights
Tensor_name is : conv2_2/biases
Tensor_name is : conv2_1/biases
Tensor_name is : conv1_2/weights
Tensor_name is : conv4_1/biases
Tensor_name is : conv2_1/weights
Tensor_name is : rpn_cls_score/biases
Tensor_name is : conv1_2/biases
Tensor_name is : rpn_conv/3x3/weights
Tensor_name is : conv3_1/weights
Tensor_name is : conv4_3/weights
Tensor_name is : conv3_2/biases
Tensor_name is : rpn_bbox_pred/weights
Tensor_name is : conv3_2/weights
Tensor_name is : lstm_o/bidirectional_rnn/fw/lstm_cell/kernel
Tensor_name is : conv3_3/biases
Tensor_name is : conv5_2/biases
Tensor_name is : conv5_1/weights
Tensor_name is : conv3_3/weights
Tensor_name is : conv4_1/weights
Tensor_name is : conv1_1/biases
Tensor_name is : conv4_2/biases
Tensor_name is : conv3_1/biases
Tensor_name is : conv4_3/biases
Tensor_name is : conv5_1/biases
load vggnet done
Using TensorFlow backend.
Traceback (most recent call last):
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 665, in _load_unlocked
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/zhaoyulu/web/chinese_ocr/model.py", line 16, in
from ocr.model import predict as ocr
File "/home/zhaoyulu/web/chinese_ocr/ocr/model.py", line 8, in
import keras.backend as K
File "/usr/local/lib/python3.6/dist-packages/keras/init.py", line 3, in
from . import utils
File "/usr/local/lib/python3.6/dist-packages/keras/utils/init.py", line 6, in
from . import conv_utils
File "/usr/local/lib/python3.6/dist-packages/keras/utils/conv_utils.py", line 9, in
from .. import backend as K
File "/usr/local/lib/python3.6/dist-packages/keras/backend/init.py", line 1, in
from .load_backend import epsilon
File "/usr/local/lib/python3.6/dist-packages/keras/backend/load_backend.py", line 90, in
from .tensorflow_backend import *
File "/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py", line 54, in
get_graph = tf_keras_backend.get_graph
AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'

方便的话请尽量多包的版本号,十分感谢

about one_hot function in trainbach.py

你好,one_hot 函数默认长度是10,当超过活着小于10时,label值多余的都被标注0了,0的位置是‘,这会影响结果?这样标注不会错?

好问题

为什么可以识别例子里的的图片,test里面的其他图片识别的时候会报错
已放弃 核心已转储

win10下面跑程序不能实现

D:\QQ\chinese_ocr-master\chinese_ocr-master> python pytorch_demo.py
Using TensorFlow backend.
Traceback (most recent call last):
File "pytorch_demo.py", line 8, in
import pytorch_model as model
File "D:\QQ\chinese_ocr-master\chinese_ocr-master\pytorch_model.py", line 12, in
from ctpn.text_detect import text_detect
File "D:\QQ\chinese_ocr-master\chinese_ocr-master\ctpn\text_detect.py", line 3, in
from .ctpn.detectors import TextDetector
File "D:\QQ\chinese_ocr-master\chinese_ocr-master\ctpn\ctpn\detectors.py", line 10, in
from ..lib.fast_rcnn.nms_wrapper import nms
File "D:\QQ\chinese_ocr-master\chinese_ocr-master\ctpn\lib_init_.py", line 1, in
from . import fast_rcnn
File "D:\QQ\chinese_ocr-master\chinese_ocr-master\ctpn\lib\fast_rcnn_init_.py", line 2, in
from . import nms_wrapper
File "D:\QQ\chinese_ocr-master\chinese_ocr-master\ctpn\lib\fast_rcnn\nms_wrapper.py", line 2, in
from ..utils.cython_nms import nms as cython_nms
File "D:\QQ\chinese_ocr-master\chinese_ocr-master\ctpn\lib\utils_init_.py", line 1, in
from . import bbox
File "D:\QQ\chinese_ocr-master\chinese_ocr-master\ctpn\lib\utils\bbox.py", line 9
cimport numpy as np
^
SyntaxError: invalid syntax

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.