hzli-ucas / ccf-ocr Goto Github PK
View Code? Open in Web Editor NEW身份证复印件识别,CCF BDCI参赛项目
身份证复印件识别,CCF BDCI参赛项目
你好,这两个文件的生成能开源吗?或者有没有什么可以指点的地方,比如您参考的是哪个开源算法?
wm_filter = [np.load('data/watermark1_laplace.npy'), np.load('data/watermark2_laplace.npy')]
wm_img = [np.load('data/watermark1_solid.npy'), np.load('data/watermark2_solid.npy')]
(chineseocr) quh@quh-Z370P-D3:~/pythonwork/tr/CCF-OCR$ python main.py
read Chinese alphabet from file
Traceback (most recent call last):
File "main.py", line 4, in
import recognition
File "/home/quh/pythonwork/tr/CCF-OCR/recognition.py", line 14, in
alphabet = f.read().replace('\n', '')
File "/home/quh/.conda/envs/chineseocr/lib/python3.6/codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb6 in position 23: invalid start byte
RuntimeError: Error(s) in loading state_dict for chsNet:
size mismatch for cnn.conv6.weight: copying a param with shape torch.Size([6857, 512, 1, 1]) from checkpoint, the shape in current model is torch.Size([6937, 512, 1, 1]).
size mismatch for cnn.conv6.bias: copying a param with shape torch.Size([6857]) from checkpoint, the shape in current model is torch.Size([6937]).
最近在学习OCR识别模型,想复现下实验结果,可否详细讲下使用的训练集及训练过程?谢谢您~
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.