verarong / invoice_text_renderer Goto Github PK
View Code? Open in Web Editor NEW票据识别合成样本
License: MIT License
票据识别合成样本
License: MIT License
感谢大佬的贡献,请问文中提及的文字侵蚀是如何实现的,能说下是哪部分代码控制的吗?感激不尽~~~~
`Traceback (most recent call last):
File "/home/wushuaihong/WorkSpace_wsh/miniconda3/envs/invoice_text_render/lib/python3.6/multiprocessing/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/wushuaihong/WorkSpace_wsh/miniconda3/envs/invoice_text_render/lib/python3.6/multiprocessing/pool.py", line 47, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "main.py", line 80, in generate_img
im, word = gen_img_retry(renderer, img_index)
File "main.py", line 72, in gen_img_retry
raise Exception
Exception
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "main.py", line 166, in
pool.starmap(generate_img, zip(range(start_index, start_index + flags.num_img), repeat(q)))
File "/home/wushuaihong/WorkSpace_wsh/miniconda3/envs/invoice_text_render/lib/python3.6/multiprocessing/pool.py", line 274, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "/home/wushuaihong/WorkSpace_wsh/miniconda3/envs/invoice_text_render/lib/python3.6/multiprocessing/pool.py", line 644, in get
raise self._value
Exception`
请问该怎么解决呢。是我的multiprocessing模块版本不对吗。
ubuntu20
python 3.6
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.