Giter VIP home page Giter VIP logo

Comments (2)

connorcoley avatar connorcoley commented on August 16, 2024

Hi @chepyle ,

When using a fingerprint representation, the use_fp keyword in architecture specification should be making its way to main.core.build_model() and main.data.get_data_full(), which will use a fixed FP input instead of the learned FP. I see that the problem is coming from train_model(), because this feeds the three input arrays in (regardless of use_fp - this was a late change to the code after running the baseline models).

I've created a branch chepyle and modified main.core.train_model() to add two dummy inputs to the model. That way, when training or testing, these inputs will be accepted but ignored. Because these will be disconnected from the computational graph, you will have to pass on_unused_input='warn' to Theano when running the script.

An alternate solution would be to change all of the calls to .fit or .predict to be inside conditionals that look at use_fp and pass only the first element of the inputs if using a fixed FP representation.

Let me know if this solves the issue; if so, I will merge it into the master branch.

-Connor

from conv_qsar_fast.

chepyle avatar chepyle commented on August 16, 2024

Thanks Connor, the model does run now for with the fingerprint data sets. However, the disconnected graph causes problems with save_model similar to this:
keras-team/keras#2790

Jake

from conv_qsar_fast.

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.