darknet_captcha
darknet_captcha copied to clipboard
基于darknet实现目标检测,提供识别点选验证码的实例和训练自己数据的API
主要有两处错误: 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...
Bumps [pillow](https://github.com/python-pillow/Pillow) from 4.3.0 to 9.0.1. Release notes Sourced from pillow's releases. 9.0.1 https://pillow.readthedocs.io/en/stable/releasenotes/9.0.1.html Changes In show_file, use os.remove to remove temporary images. CVE-2022-24303 #6010 [@radarhere, @hugovk] Restrict builtins within...
为什么前100次得到的结果图片和你一致,后面图片就没有画出框了
我尝试着执行 ``` python3 extend/rec.py my_captcha 100 ``` 得到的结果是 ``` Loading weights from app/my_captcha/backup/my_captcha_train.backup...Done! [load model] speed time: 5.234357833862305s [detect image - i] speed time: 0.06003904342651367s ``` 我想要看到可视化的图片从而清楚的知道识别结果,就像你在readme里面提到的样子,我该怎么做
环境:**Mac OS 11.2.3、python3.8** 在 5.生成样本 python extend/generate_click_captcha.py my_captcha 报错: ```text Put word 硬 success! Template is from extend/exp.xml Generate 300 images on app/my_captcha/images_data/JPEGImages Generate 300 .xml label files on app/my_captcha/images_data/Annotations...
Bumps [jinja2](https://github.com/pallets/jinja) from 2.10 to 2.11.3. Release notes Sourced from jinja2's releases. 2.11.3 This contains a fix for a speed issue with the urlize filter. urlize is likely to be...
[root@10-255-20-243 darknet_captcha]# python3 extend/rec.py kz 1 layer filters size input output 0 conv 32 3 x 3 / 1 416 x 416 x 3 -> 416 x 416 x 32...
为什么定位器和分类器要分开做呢
在执行python3 train_model.py 可以正常执行,在执行 nohub python3 train_model.py &就卡在cpu那里 `[root@instance-4 cnn_captcha-master]# nohup: ignoring input and appending output to ‘nohup.out’ [root@instance-4 cnn_captcha-master]# tail -f nohup.out WARNING:tensorflow:From /usr/lib/python3.6/site-packages/tensorflow/contrib/learn/python/learn/datasets/base.py:198: retry (from tensorflow.contrib.learn.python.learn.datasets.base) is deprecated and...
数量在每秒700 左右