Skip to content

About

No description, website, or topics provided.

Resources

Stars

28 stars

Watchers

4 watching

Forks

Repository files navigation

Practical sessions RL

This repository contains several jupyter notebooks for an hands-on introduction to RL.

Option 1: Setup using virtual environment

To get everything ready for the practicals using a virtual environment, follow these commands:

Clone the repository onto your laptop:

$ git clone https://github.com/VinF/practical_sessions_RL.git
$ cd practical_sessions_RL

Create a virtual environment called 'venv' using Python (>=3.8) and activate it:

On macOS / Linux:

$ python3 -m venv venv
$ source venv/bin/activate

On Windows (cmd):

$ python -m venv venv
$ venv\Scripts\activate

Install all packages in your virtual environment 'venv' using pip, then install jupyter notebook and ipykernel:

$ python -m pip install --upgrade pip
$ python -m pip install -r requirements.txt
$ python -m pip install jupyter ipykernel

Now you can start the tutorials!

$ jupyter notebook

Option 2: Setup using Anaconda

To setup using Anaconda, you can use this tutorial:

https://towardsdatascience.com/how-to-set-up-anaconda-and-jupyter-notebook-the-right-way-de3b7623ea4a

Once you have created and activated a conda environment, you can go to the folder that contains this repository that you have cloned/downloaded and you can use the following command to install the required packages for the practical sessions:

$ pip install -r requirements.txt

You can then launch the jupyter notebook

$ jupyter notebook

and navigate to the folder of interest for each of the practical sessions.

Colab

Alternatively, you can upload the notebooks on colab (https://colab.research.google.com) and run them online (you will need a Google account). You can also just copy the following colab notebooks to your Google Drive:

Note: Using Colab is not advised as rendering is often not possible, which means you cannot visualize your results.

About

No description, website, or topics provided.

Resources

Stars

28 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages