- 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.
推薦閱讀
- 數(shù)據(jù)庫技術(shù)與應(yīng)用教程(Access)
- 數(shù)據(jù)分析實(shí)戰(zhàn):基于EXCEL和SPSS系列工具的實(shí)踐
- 達(dá)夢數(shù)據(jù)庫編程指南
- Developing Mobile Games with Moai SDK
- DB29forLinux,UNIX,Windows數(shù)據(jù)庫管理認(rèn)證指南
- 大數(shù)據(jù)可視化
- Python廣告數(shù)據(jù)挖掘與分析實(shí)戰(zhàn)
- 大數(shù)據(jù)可視化
- 分布式數(shù)據(jù)庫系統(tǒng):大數(shù)據(jù)時(shí)代新型數(shù)據(jù)庫技術(shù)(第3版)
- Live Longer with AI
- WS-BPEL 2.0 Beginner's Guide
- 達(dá)夢數(shù)據(jù)庫性能優(yōu)化
- 達(dá)夢數(shù)據(jù)庫運(yùn)維實(shí)戰(zhàn)
- Power BI智能數(shù)據(jù)分析與可視化從入門到精通
- 聯(lián)動(dòng)Oracle:設(shè)計(jì)思想、架構(gòu)實(shí)現(xiàn)與AWR報(bào)告