Giter Site home page Giter Site logo

martinkong0806 / mlagents Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deepanshut041/mlagents

0.0 0.0 0.0 5.01 MB

This repository contains the implementation of deep reinforcement learning algorithms to solve various unity The Environments.

Home Page: https://data-breach.squrlabs.com/MlAgents

License: MIT License

Python 3.96% Jupyter Notebook 96.04%

mlagents's Introduction

Solving Unity Ml Agents with PyTorch

In this series of tutorials, we'll be solving Unity Environments with Deep Reinforcement Learning using PyTorch. The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source Unity plugin that enables games and simulations to serve as environments for training intelligent agents.

Agents can be trained using reinforcement learning, imitation learning, neuroevolution, or other machine learning methods through a simple-to-use Python API. Currently, unity only supports Tensorflow to train model and there is no support for PyTorch. To train these environments using PyTorch we'll be using the standalone version of these environments.

Index

Installation

To get started with tutorial download the repository or clone it. Than create new conda environment install required dependencies from requirements.txt.

  • Clone this repository locally.

    git clone https://github.com/deepanshut041/ml_agents-pytorch.git
    cd ml_agents-pytorch
  • Create a new Python 3.7 The Environment.

    conda create --name unityai python=3.7
    activate unityai
  • Install ml-agents and other dependencies.

    pip install -r requirements.txt

Now our environment is ready download Standalone environments and place them in unity_envs folder. You can download them from below according to your operating system.

Environments

Basic

A linear movement task where the agent must move left or right to rewarding states. The goal is to move to the most reward state.

๐Ÿ“ฐ Article ๐Ÿ“น Video Tutorial
๐Ÿ“ Implementation ๐Ÿ“ƒ DQN

Any questions

If you have any questions, feel free to ask me:

Don't forget to follow me on twitter, github and Medium to be alerted of the new articles that I publish

How to help

  • Clap on articles: Clapping in Medium means that you like my articles. And the more claps I have, the more my article is shared to help them to be much more visible to the deep learning community.
  • Improve our notebooks: if you found a bug or a better implementation you can send a pull request.

mlagents's People

Contributors

deepanshut041 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.