TextGenerator icon indicating copy to clipboard operation
TextGenerator copied to clipboard

service/base.py报错

Open simplew2011 opened this issue 5 years ago • 7 comments

serve/base.py 45行 from service import conf ImportError: cannot import name 'conf'

conf是service的一个字典,import出错。

simplew2011 avatar Jun 10 '20 11:06 simplew2011

serve/base.py 45行 from service import conf ImportError: cannot import name 'conf'

conf是service的一个字典,import出错。

Python 3.6.10 运行没问题。

Nxys avatar Aug 11 '20 12:08 Nxys

serve/base.py 45行 from service import conf ImportError: cannot import name 'conf'

conf是service的一个字典,import出错。

现在这个问题解决了吗?

BboyHanat avatar Aug 18 '20 03:08 BboyHanat

serve/base.py 45行 from service import conf ImportError: cannot import name 'conf' conf是service的一个字典,import出错。

现在这个问题解决了吗?

3.6 能运行,3.8就不行

jiuntian avatar Feb 21 '21 16:02 jiuntian

image 显式说明多进程的启动方式为fork即可,应该是python3.8之后多进程启动方式有优化,待确认

ltm920716 avatar Aug 06 '21 15:08 ltm920716

谢谢你的提议,我回头去测试一下

---原始邮件--- 发件人: @.> 发送时间: 2021年8月6日(周五) 晚上11:57 收件人: @.>; 抄送: @.@.>; 主题: Re: [BboyHanat/TextGenerator] service/base.py报错 (#5)

显式说明多进程的启动方式为fork即可,应该是python3.8之后多进程启动方式有优化,待确认

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

BboyHanat avatar Aug 08 '21 05:08 BboyHanat

请问一下背景图片是你们自己搜集的数据还是网上有开源背景图片集合呀,谢谢

ltm920716 avatar Aug 09 '21 02:08 ltm920716

这个数据集还不能给,原因你应该懂得,需要自己找一下,在网上随便爬一些,然后用一些开源文本检测算法mask掉文字也能用起来

---原始邮件--- 发件人: @.> 发送时间: 2021年8月9日(周一) 上午10:21 收件人: @.>; 抄送: @.@.>; 主题: Re: [BboyHanat/TextGenerator] service/base.py报错 (#5)

请问一下背景图片是你们自己搜集的数据还是网上有开源背景图片集合呀,谢谢

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

BboyHanat avatar Aug 09 '21 04:08 BboyHanat