- 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.
推薦閱讀
- Python數(shù)據(jù)分析與挖掘?qū)崙?zhàn)
- Unity 5.x Game AI Programming Cookbook
- 大數(shù)據(jù)可視化
- 新型數(shù)據(jù)庫(kù)系統(tǒng):原理、架構(gòu)與實(shí)踐
- 大數(shù)據(jù)算法
- 區(qū)塊鏈:看得見的信任
- 數(shù)據(jù)革命:大數(shù)據(jù)價(jià)值實(shí)現(xiàn)方法、技術(shù)與案例
- Hands-On Mathematics for Deep Learning
- 編寫有效用例
- Power BI智能數(shù)據(jù)分析與可視化從入門到精通
- 大數(shù)據(jù)技術(shù)原理與應(yīng)用:概念、存儲(chǔ)、處理、分析與應(yīng)用
- 大數(shù)據(jù)數(shù)學(xué)基礎(chǔ)(R語(yǔ)言描述)
- Oracle 11g+ASP.NET數(shù)據(jù)庫(kù)系統(tǒng)開發(fā)案例教程
- 數(shù)據(jù)庫(kù)應(yīng)用系統(tǒng)技術(shù)
- SQL Server 2008寶典(第2版)