GithubHelp home page GithubHelp logo

Comments (5)

lvapeab avatar lvapeab commented on May 29, 2024

If you set perplexity as a keras metric (KERAS_METRICS = ['perplexity']), it should be logged in Tensorboard (by default, in path-to-model/tensorboard_logs).

from nmt-keras.

philipcori avatar philipcori commented on May 29, 2024

Got it, thanks.

from nmt-keras.

philipcori avatar philipcori commented on May 29, 2024

Sorry, even though I have tensorboard working, I only see loss and perplexity on training data now in tensorboard. I set params['EVAL_ON_SETS_KERAS'] = ['val', 'train'], however this doesn't seem to change anything.
image

from nmt-keras.

lvapeab avatar lvapeab commented on May 29, 2024

Try updating MKW (pip install -U multimodal-keras-wrapper) and setting METRICS= ['perpleity'].

The parameter KERAS_METRICS is used for logging of the training, while METRICS evaluates the model predictions (typically on the val set). The EVAL_ON_SETS parameters refers to METRICS.

This is rather convoluted and confusing. Will try to clarify it in a future.

from nmt-keras.

philipcori avatar philipcori commented on May 29, 2024

Ok it works now after updating multi-modal-keras. Though I had to pip install directly from the repo, for some reason pip install -U multimodal-keras-wrapper did not successfully update.

from nmt-keras.

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.