Deep Reinforcement Learning in Unity by Abhilash Majumder
Author:Abhilash Majumder
Language: eng
Format: epub
ISBN: 9781484265031
Publisher: Apress
Attach Behavior Parameters Script
Behavior Parameters : Now in this case, since we have to use external brain for training our agent in ML Agents, the first objective is to attach all the necessary components to the blue agent. For this the most important part is to associate a brain for the agent, and in this case we will attach the âBehaviorParametersâ script to the blue agent. Now as we have mentioned, this controls all the vector observations, stacked vectors, the action space, inference device, and child sensors. For our case, we will keep most of the details with the default values except the space size of the vector observation. This is because in our case, the agent can move along x and z axes. For each axis, the agent can move in the positive and negative directionâhence the possible space of observation is two along a single axis. For both x and z axes, the total vector observation space becomes 2*2, which is 4. We know internally there is a float array that is present in the vector observations section, numbered from 0 to 3.
Ray Perception Sensor Component 3D : We will attach this script, as it is associated with the Sensors module of the brain and is used for collecting observations in the scene. We will keep most of the default values as it is, such as angles, rays in each direction, ray length, and so forth, or we can change them accordingly. We have to define the detectable tags that the agent has to observe. In this case, the agent should only observe the target and the wall boundary of the platform; and those detectable tags are mentioned accordingly. Figure 4-17 shows this setup in Unity.
Figure 4-17RayPerceptionSensorComponent3D script attached to agent
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Windows Terminal Tips, Tricks, and Productivity Hacks by Will Fuqua(1522)
Augmented Reality with Unity AR Foundation by Jonathan Linowes(1274)
Sketching User Experiences by Buxton Bill(640)
Object-Role Modeling Fundamentals: A Practical Guide to Data Modeling with ORM by Terry Halpin(614)
Beginning AutoCAD 2020 Exercise Workbook by Cheryl R. Shrock(578)
You Donât Know JS: Up & Going by Kyle Simpson(561)
SketchUp For Dummies by Bill Fane & Mark Harrison & Josh Reilly(527)
Adobe InDesign for Absolute Beginner: Tips and Techniques to Creating Professional Books and Magazines for Online and Desktop Publishing using InDesign by Scott Walter & Scott Walter(527)
Windows 10: The Missing Manual by Pogue David(522)
AI 2041: Ten Visions for Our Future by Kai-Fu Lee & Chen Qiufan(504)
100 Principles of Game Design by unknow(491)
Advanced Game Design by Michael Sellers(485)
Research Methods in Human-Computer Interaction by unknow(478)
TensorFlow 2.0 Computer Vision Cookbook by Jesus Martinez(471)
The Rainbow Stack: A Casual Guide to UX Design by Jawara Joseph(469)
Photoshop Elements 12 All-in-One For Dummies by Barbara Obermeier & Ted Padova(453)
Mastering InDesign Templates by Murphy Monica & Knorr Mancini Margot(452)
Hands-On Data Visualization by Jack Dougherty(452)
Connected, Intelligent, Automated: The Definitive Guide to Digital Transformation and Quality 4.0 by Radziwill N. M(422)
