Giter Site home page Giter Site logo

inversereinforcementlearningapp's Introduction

Inverse Reinforcement Learning Application

The aim of this project is to create a simple application that can give the opportunity to all the users to use the Inverse Reinforcement Learning technique. The application is implemented in Python and the interface is made entirely with PyQt5.

The application is composed by two different View. The first View, left image, is used to set the model or load it. The second View, rigth image, is used for the Inverse Reinforcement Learning technique. This work is inspired from Ibarz, Borja and Leike, Jan and Pohlen, Tobias and Irving, Geoffrey and Legg, Shane and Amodei, Dario work. Please read the paper.

Features

Features include:

Download

Get the app by downloading this repository tapping in 'clone or download' button and then select 'Download Zip' command or from here. After downloading the zip file, extract it and follow the Dependecies instructions and Usage instructions.

Dependecies

  • Pytorch
  • NumPy
  • OpenAI Gym
  • Matplotlib
  • opencv
  • PIL

For detailed steps to install PyTorch, follow the PyTorch installation instruction. A typical user can install PyTorch using the following commands:

# Create virtual environment
conda create -n minigrid python=3.7

# Activate virtual environment
conda activate minigrid

# Install OpenAI Gym
pip3 install gym-minigrid

# Install PyTorch
conda install pytorch torchvision cudatoolkit=10.1 -c pytorch

For detailed steps to install OpenAI Gym follow the Installation steps in gym-minigrid github repository.

The other packet can be installed using pip:

conda activate minigrid
pip install numpy
pip install mathplotlib
pip install Pillow
pip install opencv-python

Usage

Inverse Reinforcement Learning app is used by terminal support. The user has to go from terminal to the folder in which he has downloaded the github repository and then follow this command:

# Activate virtual environment in which you have installed all the dependencies
conda activate minigrid

# Go inside the master folder 
cd InverseReinforcementLearningApp-master

# Start application
python Application.py

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.