Giter VIP home page Giter VIP logo

Comments (5)

mmjb avatar mmjb commented on August 22, 2024

We don't have an explicit test mode at the moment in this example code release. You could one by using the existing code to load stored models (from the --restore option) and by modifying make_model in chem_tensorflow.py to expose the computed values as a graph op accessible from the outside (i.e., by writing it to self.ops).

from gated-graph-neural-network-samples.

51alg avatar 51alg commented on August 22, 2024

For chem_tensorflow_dense.py we have a short example of what code for a test mode would look like after loading a stored model with --restore.

from gated-graph-neural-network-samples.

xuzhang5788 avatar xuzhang5788 commented on August 22, 2024

@51alg
Thank you for your response. However, it is not very clear for me. Using --restore is for continuing training. Did you modify your "short example" which has a link in your reply? Is it the same file as chem_tensorflow_dense.py ? Thanks a lot

from gated-graph-neural-network-samples.

51alg avatar 51alg commented on August 22, 2024

I've added a command line argument --evaluate to chem_tensorflow_dense.py to make this easier.

Example usage:

$ python chem_tensorflow_dense.py (produces ./[hash]_model_best.pickle)
$ python chem_tensorflow_dense.py --restore ./[hash]_model_best.pickle --evaluate

from gated-graph-neural-network-samples.

xuzhang5788 avatar xuzhang5788 commented on August 22, 2024

Thank you @51alg

from gated-graph-neural-network-samples.

Related Issues (14)

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.