- Learn Unity ML-Agents:Fundamentals of Unity Machine Learning
- Micheal Lanham
- 231字
- 2021-08-13 15:58:24
Creating an environment
One thing you may have noticed while looking over the last example was that an ML-Agent environment requires a bit of custom setup. Unity documentation recommends that an ML environment be constructed of Academy, Agent, and Brain objects with associated scripts. There is a Template folder in the ML-Agents project which we will use to configure and set up a simple environment. Let's jump back to the Unity editor and get started setting up our first simple ML environment:
- Locate the Template folder in the ML-Agents folder within the Project window of the editor.
- Right-click (Command Click on macOS) on the Template folder and select Show in Explorer from the context menu. This will open an explorer window with the files.
- Select and copy the Template folder.
- Navigate up two levels to the Assets folder and paste the copied folder. This will add the Template folder to the root Assets folder.
- Rename the Template folder to Simple.
When you return to the editor, you will see a few namespace errors due to the duplicate Template scripts. We will fix that shortly.
- Return to the Unity editor and confirm the folder and files have been copied to the new Simple folder, as shown in the following screenshot:

Verifying that the Simple folder was created
- Double-click on the Scene to open it in the editor.
推薦閱讀
- Redis使用手冊
- 數(shù)據(jù)浪潮
- 數(shù)據(jù)要素安全流通
- 數(shù)據(jù)庫原理及應(yīng)用教程(第4版)(微課版)
- Unity 5.x Game AI Programming Cookbook
- Visual Studio 2015 Cookbook(Second Edition)
- 工業(yè)大數(shù)據(jù)分析算法實戰(zhàn)
- Live Longer with AI
- 數(shù)據(jù)庫應(yīng)用基礎(chǔ)教程(Visual FoxPro 9.0)
- 大數(shù)據(jù)時代下的智能轉(zhuǎn)型進(jìn)程精選(套裝共10冊)
- 達(dá)夢數(shù)據(jù)庫性能優(yōu)化
- Scratch 3.0 藝術(shù)進(jìn)階
- SQL Server 2012數(shù)據(jù)庫管理教程
- Solaris操作系統(tǒng)原理實驗教程
- Oracle數(shù)據(jù)庫管理、開發(fā)與實踐