A fast-paced, complete walkthrough tutorial on how to train an A.I. using ML-Agents 1.0 in Unity3D. This is a custom example I have created just for this video.
Timestamps:
00:14 Cloning the Repository
01:00 Tutorial starts
01:50 Explaining Actions of Agent
02:37 Explaining Observations of Agent
05:02 Creating Logic for Training
11:30 Training the A.I.
Need Help? / discord
Support me on Patreon: www.patreon.com/user?u=25285137
Twitter: / sebastianschuc7
Links:
Link to Repository: github.com/Sebastian-Schuchma...
Link to Repository with finished scripts (Only recommended after doing the tutorial yourself!): github.com/Sebastian-Schuchma...
Commands:
These commands a dependent on your OS and where the files are located. Make sure to read carefully and adjust accordingly.
CD into Folder where Repo is located: cd {FolderContainingRepo}
CD into Repo: cd A.I.\ from\ Scratch\ -\ ML\ Agents\ Example
CD into TrainerConfig: cd TrainerConfig
First Run: mlagents-learn trainer_config.yaml --run-id="JumperAI_1"
Open Tensorboard: tensorboard --logdir=summaries
Second Run: mlagents-learn trainer_config.yaml --run-id="JumperAI_2"
Last Run: mlagents-learn trainer_config.yaml --run-id=JumperAI_3 --env=../Build/build.app --time-scale=10 --quality-level=0 --width=512 --height=512
5 июл 2024