Coder Social home page Coder Social logo

Comments (4)

kerlomz avatar kerlomz commented on May 18, 2024

因为你的图片本身是黑白的,没有三通道,所以会被忽略,当全部样本都被忽略时,批次就为空,所以会报上述错误。

from captcha_trainer.

TitanWhoo avatar TitanWhoo commented on May 18, 2024

但实际上图片是彩色的,而且这类验证码图片似乎永远不会训练完成,ac一直在0.3左右浮动,RTX2080连续训练了三天三夜也无果。 经过我自己排查发现这种验证码二值化的时候会出现两种情况: 白底黑字和黑底白字,是不是这个影响了训练?
验证码示例如下:
1PCzXn.md.png

训练集样本如下:
训练集样本

from captcha_trainer.

welldonexing avatar welldonexing commented on May 18, 2024

这个bug 真的 holyshit , 我在选择通道为3的时候也出现这个问题,验证码肯定是彩色的这个不用怀疑,我跟踪到generate_batch_by_tfrecords 发现如下判断,
QQ截图20200411172825

图片通道看起来是4 永远不可能和3 相等,全部跳过

from captcha_trainer.

Duanexiao avatar Duanexiao commented on May 18, 2024

这个bug 真的 holyshit , 我在选择通道为3的时候也出现这个问题,验证码肯定是彩色的这个不用怀疑,我跟踪到generate_batch_by_tfrecords 发现如下判断,
QQ截图20200411172825

图片通道看起来是4 永远不可能和3 相等,全部跳过

大哥,你跑通了代码吗?这位owner的代码简直是神坑呀,一大堆的问题

from captcha_trainer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.