Coder Social home page Coder Social logo

initiallize weights for CNN about prettytensor HOT 2 CLOSED

google avatar google commented on June 25, 2024
initiallize weights for CNN

from prettytensor.

Comments (2)

eiderman avatar eiderman commented on June 25, 2024

The weights can be initialized by creating an OP using
tf.initialize_all_variables() and then calling run on the result. Note:
each time you call initialize_all_variables, it adds graph nodes.

A word of caution: The simple local runner that is provided by PT will
automatically initialize the variables when you call run if any have been
added, so be careful when interleaving creation and that utility or make
sure to pass on the flag to disable creation.

I'm answering from my phone, so some names may be slightly wrong.

On Wed, Feb 24, 2016, 8:56 AM vignesh10 [email protected] wrote:

Thanks for the making TF simple :)
I am just curious as to how I can pre-initialize the weights before
performing any operations.

Thanks in advance!


Reply to this email directly or view it on GitHub
#13.

from prettytensor.

eiderman avatar eiderman commented on June 25, 2024

Please reopen if I didn't answer the question well enough.

from prettytensor.

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.