Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

训练问题 #14

Open
Djs-Champion opened this issue Mar 13, 2024 · 4 comments
Open

训练问题 #14

Djs-Champion opened this issue Mar 13, 2024 · 4 comments

Comments

@Djs-Champion
Copy link

你好,这个是哪里空值了,怎么解决呢?
2

@awei669
Copy link
Owner

awei669 commented Mar 23, 2024

这个问题一般是lmdb根据key找不到对应的值,可以deubg看看是哪个键值对空了。

仔细检查lmdb和生成的train.json以及其它几个json文件是否正确。

@awei669
Copy link
Owner

awei669 commented Mar 23, 2024

检查train.json是否正确:

image

@StayNightShip
Copy link

我也是这个问题,但是我的train下的数据不是稳定3000个,请问是不是这个的问题

@awei669
Copy link
Owner

awei669 commented May 14, 2024

我也是这个问题,但是我的train下的数据不是稳定3000个,请问是不是这个的问题

最好保证所有的字体文件下的字符数量一致,你可以debug看看缺了哪些字符。如果数量不一致可能需要在生成lmdb时做相应的修改。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants