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
Copy file name to clipboardExpand all lines: com.unity.ml-agents/CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
22
22
- A tutorial on adding custom SideChannels was added (#3391)
23
23
- The stepping logic for the Agent and the Academy has been simplified (#3448)
24
24
- Update Barracuda to 0.6.0-preview
25
-
- The interface for `RayPerceptionSensor.PerceiveStatic()` was changed to take an input class and write to an output class.
25
+
* The interface for `RayPerceptionSensor.PerceiveStatic()` was changed to take an input class and write to an output class, and the method was renamed to `Perceive()`.
26
26
- The checkpoint file suffix was changed from `.cptk` to `.ckpt` (#3470)
27
27
- The command-line argument used to determine the port that an environment will listen on was changed from `--port` to `--mlagents-port`.
28
28
-`DemonstrationRecorder` can now record observations outside of the editor.
Copy file name to clipboardExpand all lines: docs/Migrating.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ The versions can be found in
14
14
* The `SetActionMask` method must now be called on the optional `ActionMasker` argument of the `CollectObservations` method. (We now consider an action mask as a type of observation)
15
15
* The `Monitor` class has been moved to the Examples Project. (It was prone to errors during testing)
16
16
* The `MLAgents.Sensor` namespace has been removed. All sensors now belong to the `MLAgents` namespace.
17
-
* The interface for `RayPerceptionSensor.PerceiveStatic()` was changed to take an input class and write to an output class.
17
+
* The interface for `RayPerceptionSensor.PerceiveStatic()` was changed to take an input class and write to an output class, and the method was renamed to `Perceive()`.
18
18
* The `SetActionMask` method must now be called on the optional `ActionMasker` argument of the `CollectObservations` method. (We now consider an action mask as a type of observation)
19
19
* The method `GetStepCount()` on the Agent class has been replaced with the property getter `StepCount`
20
20
* The `--multi-gpu` option has been removed temporarily.
@@ -23,7 +23,8 @@ The versions can be found in
23
23
* Add the `using MLAgents.Sensors;` in addition to `using MLAgents;` on top of your Agent's script.
24
24
* Replace your Agent's implementation of `CollectObservations()` with `CollectObservations(VectorSensor sensor)`. In addition, replace all calls to `AddVectorObs()` with `sensor.AddObservation()` or `sensor.AddOneHotObservation()` on the `VectorSensor` passed as argument.
25
25
* Replace your calls to `SetActionMask` on your Agent to `ActionMasker.SetActionMask` in `CollectObservations`
26
-
* If you call `RayPerceptionSensor.PerceiveStatic()` manually, add your inputs to a `RayPerceptionInput`. To get the previous float array output, use `RayPerceptionOutput.ToFloatArray()`
26
+
* If you call `RayPerceptionSensor.PerceiveStatic()` manually, add your inputs to a `RayPerceptionInput`. To get the previous float array output,
27
+
iterate through `RayPerceptionOutput.rayOutputs` and call `RayPerceptionOutput.RayOutput.ToFloatArray()`.
27
28
* Re-import all of your `*.NN` files to work with the updated Barracuda package.
28
29
* Replace all calls to `Agent.GetStepCount()` with `Agent.StepCount`
0 commit comments