Coder Social home page Coder Social logo

aai-institute / tfl-tumai-intro-rl Goto Github PK

View Code? Open in Web Editor NEW
1.0 9.0 2.0 42 KB

Repository with material for the RL workshop at TUM.AI

License: Other

Dockerfile 1.70% Shell 4.33% Python 17.30% Jupyter Notebook 73.89% CSS 2.78%
reinforcement-learning transferlab training

tfl-tumai-intro-rl's Introduction

RL use case identification

Welcome to the RL use case identification workshop by appliedAI and Zeiss! In this archive you will find two notebooks that will be used during the workshop as well as some accompanying code.

Executing the second notebook will take some time because RL agents are trained there. You might want to execute it once entirely before the presentation (if you don't, it is completely fine). In case you execute the notebook on colab, make sure to download the created logs and sac_* directories to persist them on your computer, as the will be removed when you restart the colab session. You can then upload them to new colab sessions, load the models and view the logs without having to retrain.

Local setup

For a local setup install the requirements (into a virtual environment of your choice), start jupyter and open the notebooks. To enable training on a GPU, please follow the torch installation instructions for your system.

Note1: Some requirements for a local install might be missing. If you run into missing packages, just install them and restart the kernel.

Note2: On Windows one may run into issues when using the tensorboard widget within a notebook. You could try the comand from this discussion to fix it.

Colab based setup

The notebooks have been designed to run smootly on google colab, you can access it for free with a google account and even use GPUs there. In fact, training on colab runs significantly faster than on a windows laptop with a GPU (not tested on ubuntu)... For a colab based setup do the following:

  1. Start a colab session by uploading one of the notebooks. For the notebook titled Part 2 we recommend using a GPU-enabled runtime.
  2. Upload the three files requirements.txt, visualization.py and clockwise.png to colab. Use the directory symbol on the left hand side to access the file-upload button.
  3. You will need to repeat this process for each notebook you open.

That's it, after uploading the files everything should run smoothly

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.