Giter VIP home page Giter VIP logo

Comments (5)

tmbdev avatar tmbdev commented on July 29, 2024

The default parameters should work without problems. Can you say more about your environment (Python version, OS, compiler version, etc.)?

You might want to give CLSTM a try as well; it's the same algorithm in C++.

from dup-ocropy.

lesliekim avatar lesliekim commented on July 29, 2024

My environment:
python 2.7.6
Ubuntu 14.04.1 LTS \n \l
gcc version 4.8.4

from dup-ocropy.

fafo avatar fafo commented on July 29, 2024

I'm getting the same errors. I've tried clipping the values, but the model seems keeping very high error rates (I'm experimenting with training samples taken from a mobile camera, since we want to recognize receipts uploaded with mobiles)

def ffunc(x):
    "Nonlinearity used for gates."
    # cliping to avoid overflows
    return 1.0/(1.0+exp(clip(-x, None, 700)))

from dup-ocropy.

tmbdev avatar tmbdev commented on July 29, 2024

Sorry for not responding earlier. Can you provide a backtrace?

You might also add a line of python to the main program to turn overflows into errors (when I get around to it, I may do this myself).

from dup-ocropy.

zuphilip avatar zuphilip commented on July 29, 2024

Should be fixed with #201.

from dup-ocropy.

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.