You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* doc updates
getting started page now uses consistent run-id
re-order create-new docs to have less back/forth between unity and text editor
* add link explaining decisions where we tell the reader to modify its parameter
@@ -340,33 +340,9 @@ public override void OnActionReceived(float[] vectorAction)
340
340
}
341
341
```
342
342
343
-
Note the `speed` class variable is defined before the function. Since `speed` is
343
+
Note the `forceMultiplier` class variable is defined before the function. Since `forceMultiplier` is
344
344
public, you can set the value from the Inspector window.
345
345
346
-
## Final Editor Setup
347
-
348
-
Now, that all the GameObjects and ML-Agent components are in place, it is time
349
-
to connect everything together in the Unity Editor. This involves changing some
350
-
of the Agent Component's properties so that they are compatible with our Agent
351
-
code.
352
-
353
-
1. Select the **RollerAgent** GameObject to show its properties in the Inspector
354
-
window.
355
-
1. Add the `Decision Requester` script with the Add Component button from the
356
-
RollerAgent Inspector.
357
-
1. Change **Decision Period** to `10`.
358
-
1. Drag the Target GameObject from the Hierarchy window to the RollerAgent
359
-
Target field.
360
-
1. Add the `Behavior Parameters` script with the Add Component button from the
361
-
RollerAgent Inspector.
362
-
1. Modify the Behavior Parameters of the Agent :
363
-
-`Behavior Name` to _RollerBall_
364
-
-`Vector Observation` > `Space Size` = 8
365
-
-`Vector Action` > `Space Type` = **Continuous**
366
-
-`Vector Action` > `Space Size` = 2
367
-
368
-
Now you are ready to test the environment before training.
369
-
370
346
## Testing the Environment
371
347
372
348
It is always a good idea to first test your environment by controlling the Agent
@@ -392,6 +368,30 @@ the platform. Make sure that there are no errors displayed in the Unity Editor
392
368
Console window and that the Agent resets when it reaches its target or falls
393
369
from the platform.
394
370
371
+
## Final Editor Setup
372
+
373
+
Now, that all the GameObjects and ML-Agent components are in place, it is time
374
+
to connect everything together in the Unity Editor. This involves changing some
375
+
of the Agent Component's properties so that they are compatible with our Agent
376
+
code.
377
+
378
+
1. Select the **RollerAgent** GameObject to show its properties in the Inspector
379
+
window.
380
+
1. Add the `Decision Requester` script with the Add Component button from the
381
+
RollerAgent Inspector.
382
+
1. Change **Decision Period** to `10`. For more information on decisions, see [the Agent documentation](Learning-Environment-Design-Agents.md#decisions)
383
+
1. Drag the Target GameObject from the Hierarchy window to the RollerAgent
384
+
Target field.
385
+
1. Add the `Behavior Parameters` script with the Add Component button from the
386
+
RollerAgent Inspector.
387
+
1. Modify the Behavior Parameters of the Agent :
388
+
-`Behavior Name` to _RollerBall_
389
+
-`Vector Observation` > `Space Size` = 8
390
+
-`Vector Action` > `Space Type` = **Continuous**
391
+
-`Vector Action` > `Space Size` = 2
392
+
393
+
Now you are ready to test the environment before training.
394
+
395
395
## Training the Environment
396
396
397
397
The process is the same as described in the
@@ -427,6 +427,8 @@ behaviors:
427
427
summary_freq: 10000
428
428
```
429
429
430
+
Hyperparameters are explained in [the training configuration file documentation](Training-Configuration-File.md)
431
+
430
432
Since this example creates a very simple training environment with only a few
431
433
inputs and outputs, using small batch and buffer sizes speeds up the training
432
434
considerably. However, if you add more complexity to the environment or change
0 commit comments