chinese-ocr
chinese-ocr copied to clipboard
基于CTPN(tensorflow)+CRNN(pytorch)+CTC的不定长文本检测和识别
运行环境是Linux下, tensorflow1.13.1, torch0.4.1.post2, warctc-pytorch, python3.7.12 数据集使用的是git主给的数据集 1、learning_rate 改为0,已经尝试过,loss依然是nan 2、CTCLoss使用torch1.2以上的torch.nn.CTCLoss训练时,loss依然是nan 3、使用torch0.4.1和第三方的wart-ctc的CTCLoss训练时,loss依然是nan 
运行环境是Linux下, tensorflow1.13.1, torch0.4.1.post2, warctc-pytorch, python3.7.12 
Expected in: flat namespace in /Users/*/CHINESE-OCR-master/ctpn/lib/utils/bbox.so 有人知道怎么解决吗
无法训练
请问博主您是否训练成功,我这里一直在报错,我尝试修改很多次,但是依旧没有解决! 报错信息: RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 57 and 213 in dimension 3 at /pytorch/aten/src/TH/generic/THTensorMath.cpp:3616 请您指导下,谢谢!
安装还是不成功,请问 要怎样修改? 生成项目“test_gpu.vcxproj”的操作 - 失败。 生成项目“test_cpu.vcxproj”的操作 - 失败。 这2个不影响吧? warp-ctc是不是只支持linux?不支持win10安装吗? 谢谢
看您的代码,似乎这个数据集连接中包含了中文数据集,可否私发一份下载连接,我的邮箱:[email protected],谢谢
您好,请问可以识别非简体的汉字吗,比如说篆体等等,如果能够识别能请您大体说一下如何做吗,非常感谢了
def __getitem__(self, index): label = [int(x) for x in keys] 请问label是要识别的str,怎么转成int呢?
change: `gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=1.0)` [[via]](https://github.com/ooooverflow/chinese-ocr/blob/874259aeddc05afb4ceacead97467d5094544c3a/ctpn/text_detect.py#L25) into : ```python gpu_options = tf.GPUOptions(per_process_gpu_memory_fraction=0.9) config = tf.ConfigProto(allow_soft_placement=True, gpu_options=gpu_options) config.gpu_options.allow_growth = True ```