nickliqian / darknet_captcha

基于darknet实现目标检测,提供识别点选验证码的实例和训练自己数据的API
Apache License 2.0
398 stars 128 forks source link

在第5步生成样本报错 #17

Open auroralzone opened 3 years ago

auroralzone commented 3 years ago

环境:Mac OS 11.2.3、python3.8 在 5.生成样本 python extend/generate_click_captcha.py my_captcha

报错:

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
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "~/opt/anaconda3/lib/python3.8/site-packages/colorama/ansitowin32.py", line 59, in closed
    return stream.closed
ValueError: underlying buffer has been detached