Git Product home page Git Product logo

Comments (4)

robvasistha avatar robvasistha commented on September 24, 2024

I did some further debugging on this adding print statements to see at what point the evaluation halts (see image below) and it appears to have some sort of a problem at the results_add line below:
results_add = logger.save_results(positional_entropy, top_samples_per_batch, r_history, pool, epoch, nevals)
image
image

from deep-symbolic-optimization.

brendenpetersen avatar brendenpetersen commented on September 24, 2024

See the template config for the control task.

During training, each sampled expression is used as a policy in the environment for n_episodes_train episodes.

During eval, each tested expression is used for n_episodes_test episodes, which is 100x longer by default, since looks like you didn't change this parameter in your config.

For debugging purposes, I'd just set both n_episodes_train and n_episodes_test to 1.

from deep-symbolic-optimization.

brendenpetersen avatar brendenpetersen commented on September 24, 2024

Regarding the prints, you might want to add flush=True to be certain that it's not passing more of your DEBUG points. Or use an actual breakpoint or something more robust than printouts.

from deep-symbolic-optimization.

robvasistha avatar robvasistha commented on September 24, 2024

Ah I see.
You are right I missed out on that within my config.
It does seem to reach further now that I have set it to 1 for both.
Thanks.

from deep-symbolic-optimization.

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.