GithubHelp home page GithubHelp logo

Demo phase about crnn-pytorch HOT 3 CLOSED

holmeyoung avatar holmeyoung commented on June 19, 2024
Demo phase

from crnn-pytorch.

Comments (3)

Holmeyoung avatar Holmeyoung commented on June 19, 2024 2

Hi, yeah, it can recognize ABC!

  1. We can consider that if we need to give all the condition, then when len(alphabet) = 3000 and the txt_len = 10, we need 3000^10 sample. Of course it's impossible.

  2. You can think it as splited, whitch menas AAA can be splited as A, A, A, so as B, C... as for the reason why we need more data, it's we need the net to learn the right feature of the alphabet and diff different alphabets.
    Look at the encode function, you can see the labels are splited treated

    def encode(self, text):
        length = []
        result = []
        for item in text:            
            item = item.decode('utf-8','strict')
            length.append(len(item))
            for char in item:
                index = self.dict[char]
                result.append(index)
                
        text = result
        return (torch.IntTensor(text), torch.IntTensor(length))

from crnn-pytorch.

Holmeyoung avatar Holmeyoung commented on June 19, 2024 2

Yes, you are right!

from crnn-pytorch.

mariembenslama avatar mariembenslama commented on June 19, 2024

I see, so that's the work of CNN and RNN combined together, right?

from crnn-pytorch.

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.