Giter Site home page Giter Site logo

rd-tobias-sunderdiek / hyperparameter-tuning-demo Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 1.51 MB

Demo for hyperparameter tuning with tune using an DQN example from Udacity for OpenAI gym

License: MIT License

Makefile 1.21% Python 98.79%
stable-baselines openai-gym hyperparameter-tuning tune ray

hyperparameter-tuning-demo's Introduction

Hyperparametertuning Demo

This is a demo for hyperparameter-tuning with Tune[1] using an DQN example from Udacity[2] for the OpenAI-Gym environment[3] LunarLander[4].

This demo is meant to be able to be trained on cpu locally (took ~40 min. on a 2.5 GHz Quad-Core i7)

best model

Goal

Land on the moon and get reward for landing properly, loose reward for using fuel or land outside landing pad. In this example, we use the metric mean_reward for this.

Install

  • make install (tested with python 3.8)

Usage

  • watch random, untrained agent via make random
  • [optional] configure hyperparameter in train.py
  • make train starts training
  • see results in tensorboard via make tensorboard
  • after training finished, make gif creates a .gif of the best model

[1] https://docs.ray.io/en/latest/tune.html

[2] https://github.com/udacity/deep-reinforcement-learning/tree/master/dqn/solution

[3] https://gym.openai.com/

[4] https://gym.openai.com/envs/LunarLander-v2/

hyperparameter-tuning-demo's People

Contributors

dependabot[bot] avatar jonasleininger avatar rd-tobias-sunderdiek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.