Code Monkey home page Code Monkey logo

Comments (2)

LarsHH avatar LarsHH commented on May 26, 2024 1

Hi Martin,
See my comment on the other issue. So we should only expect the last two trials (in a generataion of 10) to have changed learning rates. However, you're right that K.set_value(model.optimizer.lr, trial.parameters['lr']) actually doesn't work. Keras will happily accept this command but internally it won't actually change the learning rate of the training. Changing the learning rate of a compiled model in Keras is actually non-trivial. Same for dropout. Batch size should be easy. Sherpa should pass a modified batch_size (again only for the bottom 20% of the population) and so long Keras reads the training batchsize from trial.parameters it should be correct.

from sherpa.

martsalz avatar martsalz commented on May 26, 2024

In the 11. trial for example, the model from the 6. trial is loaded and modified by the algorithm. However, the learning rate is the same - this is the case for all trials.

image

from sherpa.

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.