Coder Social home page Coder Social logo

Comments (4)

wenyong-h avatar wenyong-h commented on June 24, 2024

By the way, when i run the code under tensorflow 0.9, the loss and accuracy stay the same after every iteration.
the result is like this:

Iteration: 119 Loss: 230.362 Train Accuracy: 9.42857 Test Accuracy: 12.6263

I also tried to run under tensorflow 0.10, the loss will change a little bit, but could almost be ignored.

from dynamic-tensorflow-tutorial.

KnHuq avatar KnHuq commented on June 24, 2024

@wenyong-h Your loss is not moving because you are not getting any gradient. Please check the terminal when you run the jupyter notebook. Is there any error?

from dynamic-tensorflow-tutorial.

wenyong-h avatar wenyong-h commented on June 24, 2024

@KnHuq i'm running the python file, not the ipython notebook. There was no error.
I tried using AdamOptimizer instead of AdadeltaOptimizer, then everything is right.
this is the result of one run of the Vanilla RNN

Iteration: 119 Loss: 46.1185 Train Accuracy: 99.6429 Test Accuracy: 94.697

from dynamic-tensorflow-tutorial.

KnHuq avatar KnHuq commented on June 24, 2024

@wenyong-h You are right! One transpose will do the same thing!

from dynamic-tensorflow-tutorial.

Related Issues (7)

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.