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

建议作者修改一下readme文件 #21

Open
xuqin-opensource opened this issue Jun 24, 2022 · 0 comments
Open

建议作者修改一下readme文件 #21

xuqin-opensource opened this issue Jun 24, 2022 · 0 comments

Comments

@xuqin-opensource
Copy link

xuqin-opensource commented Jun 24, 2022

主要有两处错误:

  1. 在第5步 生成样本 之后需要修改my_captcha.name中的标签值,单类型目标检测需改为word
    多类型目标检测,需改为word dummy
    否则,在output_label.py中第33行:
    if cls not in classes or int(difficult) == 1:
        continue

会判断标签值不在classes中,从而labels_data中的txt文件为空。
在后续训练不会报错,但训练结果一直为:
Avg IOU: -nan, Class: -nan, Obj: -nan, No Obj: 0.001772, .5R: -nan, .75R: -nan, count: 0

  1. 第6步 划分训练集和验证集 代码应为:
    python3 extend/output_label.py my_captcha
    无需参数1
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

1 participant