Coder Social home page Coder Social logo

whydahgally-lstm-mlp's People

Contributors

alfiuman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

whydahgally-lstm-mlp's Issues

Maximize CUDA usage

Hello All ! Using the default project I see the CUDA utilization at only 15% using a 1050 Ti (GPU-Z).
Do you know how change the parameters to push this up to fully utilize the GPU ?

computeLoss() does not check for negative arguments

I recompiled your code for win7 under VS2012. the LSTM algo does not seem to converge with a number of numCell other than 20 with the example you provide.
Playing with the other params like alpha or lossFunct does not seem to help. I have incorporated your latest change in matrix.h, did not fit it.
Chosing LOSSFUNCTLOGPOW3 or LOSSFUNCTPOW3 create NaN. Can you help ?

The problem is in computeLoss(). The 1st arg1 to lossFunctLogPow3(arg1,arg2) and the others should never be <= 0. because of the log() funciton they call.
The fix is to replace any value <= 0 by a tiny very tiny pos number (+1.0e-20f for example)
This fix eliminates the NaN and the convergence problem for any type of loss function and/or numCell

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.