Inflearn English brand logo
Inflearn English brand logo

Complete Guide to Unity Machine Learning Agents (Basics)

Through this course, students will learn various reinforcement learning theories and implement them themselves, as well as create a reinforcement learning environment to test the reinforcement learning algorithm implemented using Unity Machine Learning Agents.

(4.2) 20 reviews

480 students

Reinforcement Learning(RL)
Machine Learning(ML)
Unity
Unity ML-Agents

This course is prepared for Basic Learners.

What you will learn!

  • Unity Development

  • Unity Machine Learning Agent

  • Creating a reinforcement learning environment

  • Reinforcement learning theory

  • Implementing reinforcement learning code

Implementation of reinforcement learning environment,
Easy and convenient with Unity!

Reinforcement learning environment ,
How can I prepare it?

Since AlphaGo made a big impact in 2016, interest in reinforcement learning , which is said to have been applied to AlphaGo, has greatly increased, and it seems that the enthusiasm is still hot. The major elements that make up this reinforcement learning are the reinforcement learning algorithm and the reinforcement learning environment, as shown below. These two exchange information such as actions, states, and rewards, and the reinforcement learning algorithm performs learning.

Since AlphaGo, reinforcement learning algorithms have made a lot of progress. Accordingly, various types of reinforcement learning environments such as OpenAI GYM, Mujoco, Atari, GTA5, Malmo, etc. have also been released. Most of these environments are game-based. Reinforcement learning is clearly a good algorithm to apply to games, but recently, attempts to apply reinforcement learning to various fields such as recommendations, robots, drones, energy, and finance are increasing.

However, reinforcement learning environments for these various fields are still lacking. In particular, it is very difficult to expect that an environment that precisely satisfies the specific specifications desired by developers will be disclosed. Even if there is a robot environment with a specific sensor configuration and joint structure that you want to apply reinforcement learning to, it may be impossible to even start research if there is no public reinforcement learning environment for that field.

If you use an environment that has already been created,
There are some drawbacks to this:

About the environment
Modification
difficulty

Depending on the environment
How to use this
difference

necessary
The environment
There may not be any

But in September 2017, Unity, one of the world's largest game engine companies, released a tool called Unity Machine-Learning Agent that can solve this problem.


With Unity ML-Agents
Implementing reinforcement learning environment!

What if we use Unity Machine Learning Agents ?

In this lecture, you will learn how to implement various reinforcement learning environments using this Unity machine learning agent, as well as the theory and code implementation of reinforcement learning algorithms that can be applied to the environments.

Information before taking the class!

The content of this lecture contains the same content as the book "Learning Reinforcement Learning with PyTorch and Unity ML-Agents" below! Please be aware of this before taking the course!

Reinforcement Learning with PyTorch and Unity ML-Agents - Yes24

Complete Guide to Unity Machine Learning Agents - Basics

The entire content of the Unity Machine Learning Agent Complete Mastery lecture will be divided into the basics and application parts, and this lecture will cover the basics part. The specific content to be covered in the basics part is as follows.

  • Reinforcement Learning Basics Terms and Theory
  • Unity Installation and Basic Usage
  • Unity Machine Learning Agents Installation, Components Description, Usage (mlagents-learn, Python API)
  • Environment Creation
    • GridWorld, Drone, KartRacing
  • Learning reinforcement learning algorithm theory and implementing code
    • DQN, A2C, DDPG, Behavioral Cloning

The code for the environment we will create and the algorithms we will learn in this lecture are all included on GitHub .
The images below are the reinforcement learning environments you will implement in this lecture and the results of learning using the reinforcement learning algorithm you will implement.

Creating a Gridworld Environment

Creating a drone environment

Creating a kart racing environment


Frequently Asked Questions
Check it out.

Q. I have never used Unity before. Can I still take the course?

Even for those who are new to Unity, the course will cover everything from installation to creating a simple environment step by step so that you can easily follow along. Although it does not cover Unity in detail, after taking the course, you will be able to create an environment using assets from the Asset Store or create a simple environment yourself to create a reinforcement learning environment.

Q. Do I need to have a thorough understanding of reinforcement learning to use machine learning agents?

Machine learning agents are basically tools that support reinforcement learning, so you need to know the basic concepts of reinforcement learning to use machine learning agents more easily. However, since Unity machine learning agents provide various reinforcement learning algorithms and can use them to learn about agents in a reinforcement learning environment, you can easily use machine learning agents even if you do not have in-depth knowledge of reinforcement learning when using this function.

Q. Do I need a deep understanding of deep learning or a lot of implementation experience to take this course?

If you have implemented a model to classify MNIST data with Pytorch, I think you will be able to take the course without much difficulty. And even if you have used Tensorflow 2.x version, I think you will be able to take the course without difficulty if you only study the basics of Pytorch.

Recommended for
these people!

Who is this course right for?

  • Developers interested in developing reinforcement learning environments

  • Students and researchers interested in the theory and implementation of reinforcement learning.

Need to know before starting?

  • Experience with Python and PyTorch

  • Basic Deep Learning Theory (ANN, CNN)

Hello
This is kyushik

582

Students

25

Reviews

97

Answers

4.3

Rating

2

Courses

Co-instructor

Curriculum

All

38 lectures ∙ (7hr 18min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

20 reviews

4.2

20 reviews

  • JAEHYUN BYEON님의 프로필 이미지
    JAEHYUN BYEON

    Reviews 1

    Average Rating 5.0

    5

    100% enrolled

    강의 너무 잘 들었습니다!! 정말 강화학습 초보 입문자를 위한 최고의 강의였습니다. 다음에 심화/응용편으로 돌아오실때까지 열심히 독학하고 있겠습니다. 감사합니다.

    • pnltoen님의 프로필 이미지
      pnltoen

      Reviews 1

      Average Rating 5.0

      5

      100% enrolled

      비전공, 문과생의 간단 후기 "초보자에게는 넓은 시야와 지식을 그 외에 분들에게는 강화학습 및 유니티 꿀팁을 얻을 수 있는 강의" 예전에 책도 구매하였는데 영상 강의가 있다는 소식에 달려왔습니다...! 유니티 환경 제작, 강화학습 이론 및 실습 등 정말 알차게 담겨있는 강의입니다. 크게 봐도 2개의 분야를 세세하게 알려주는 강의는 정말 흔하지 않습니다 (사실 없...죠 ㅠ) . 거기다가 단순 강화학습 이론뿐만 아니라 실습, 유니티 환경 구축 꿀팁까지 세부적인 내용이 정말 다채롭습니다. 특히 단순하게 글만 있는 것 보다 Unity로 시뮬레이션을 진행하니 되게 재밌으면서도 내가 머신러닝 에이전트를 만들 수 있구나....! 생각이 많이 들었습니다! 구매를 고민하신다면 저는 구매 강력 추천드립니다!!

      • cinekid21님의 프로필 이미지
        cinekid21

        Reviews 10

        Average Rating 5.0

        5

        100% enrolled

        너무 좋은 강의입니다!!

        • CHANG YUN WOO님의 프로필 이미지
          CHANG YUN WOO

          Reviews 1

          Average Rating 5.0

          5

          100% enrolled

          유니티에서 학습 환경을 구성하여 강화학습을 구현하는데 전반적인 이해를 할 수 있었습니다. 아직 유니티에서 스크립트 실행에 에러가 발생하는데 앞으로 차차 나아지겠지요 도움이 많이 되었고 응용편도 아주 기대하고 있겠습니다.

          • 민규식
            Instructor

            안녕하세요! 좋은 수강평 남겨주셔서 정말 감사드립니다! 유니티 스크립트에서 어떤 에러가 발생하실까요? 질문란에 올려주시면 최대한 빠르게 답변 드리겠습니다! :)

        • xrart01님의 프로필 이미지
          xrart01

          Reviews 1

          Average Rating 5.0

          5

          100% enrolled

          강의 영상이 너무 좋습니다! 강화학습에 대한 전문 지식이 없더라도 충분히 이해 할 수 있었고 Unity ML-Agent에 대한 한국어 설명 자료 찾기가 어려운데 이 강의 하나면 기초 설계는 모두 할 수 있어서 좋습니다. 기초편 뿐만 아니라 중급, 고급편도 기대하겠습니다 ㅎㅎ

          Similar courses

          Explore other courses in the same field!

          $51.70