Git Product home page Git Product logo

Comments (4)

tomorrow1pan avatar tomorrow1pan commented on May 30, 2024 4

I had met the same problem. I sovled it successfully by using the function: list():
......
data_set = list(data_set) # just add this line
num_examples = len(data_set)
......

from captcha_recognize.

ireqhawk avatar ireqhawk commented on May 30, 2024

you can rewrite it as:
..................................................
#num_examples = len(data_set)
for image,label in data_set:
#image = data_set[index][0]
height = image.shape[0]
width = image.shape[1]
image_raw = image.tostring()
#label = data_set[index][1]
........................................................................

from captcha_recognize.

mnwato avatar mnwato commented on May 30, 2024

I tried to solve the error by these suggestion but it didnt work.
Do you have any soloution?

thanks in advanced

from captcha_recognize.

SecurityEnthusiast avatar SecurityEnthusiast commented on May 30, 2024

Hi @mnwato

check my fork. it works perfectly with Python 3.10, TF 2.10.0, NP 1.23.4

from captcha_recognize.

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.