diff --git a/Project/Assets/ML-Agents/Editor/Tests/StandaloneBuildTest.cs b/Project/Assets/ML-Agents/Editor/Tests/StandaloneBuildTest.cs index 5b2a5a47dc..ba4c861a8c 100644 --- a/Project/Assets/ML-Agents/Editor/Tests/StandaloneBuildTest.cs +++ b/Project/Assets/ML-Agents/Editor/Tests/StandaloneBuildTest.cs @@ -3,7 +3,7 @@ using UnityEngine; using UnityEditor.Build.Reporting; -namespace MLAgents +namespace Unity.MLAgents { public class StandaloneBuildTest { diff --git a/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo.meta b/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo.meta index abe1ab241d..41b52db1b7 100644 --- a/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo.meta +++ b/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBall.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBallHard.demo.meta b/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBallHard.demo.meta index b9beb56b42..cbfd8d3cce 100644 --- a/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBallHard.demo.meta +++ b/Project/Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBallHard.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/3DBall/Demos/Expert3DBallHard.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DAgent.cs b/Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DAgent.cs index f6049ba529..e4135b9edc 100644 --- a/Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DAgent.cs +++ b/Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DAgent.cs @@ -1,7 +1,7 @@ using UnityEngine; -using MLAgents; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; public class Ball3DAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DHardAgent.cs b/Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DHardAgent.cs index 674d9498d5..967c3b1484 100644 --- a/Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DHardAgent.cs +++ b/Project/Assets/ML-Agents/Examples/3DBall/Scripts/Ball3DHardAgent.cs @@ -1,7 +1,7 @@ using UnityEngine; -using MLAgents; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; public class Ball3DHardAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/Basic/Demos/ExpertBasic.demo.meta b/Project/Assets/ML-Agents/Examples/Basic/Demos/ExpertBasic.demo.meta index 5a37b13ff7..f2e7bf3e60 100644 --- a/Project/Assets/ML-Agents/Examples/Basic/Demos/ExpertBasic.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Basic/Demos/ExpertBasic.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Basic/Demos/ExpertBasic.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicController.cs b/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicController.cs index 691c90ebdd..010eda7535 100644 --- a/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicController.cs +++ b/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicController.cs @@ -1,6 +1,6 @@ using UnityEngine; using UnityEngine.SceneManagement; -using MLAgents; +using Unity.MLAgents; /// /// An example of how to use ML-Agents without inheriting from the Agent class. @@ -77,7 +77,7 @@ public void ApplyAction(float[] vectorAction) } public void ResetAgent() - { + { // This is a very inefficient way to reset the scene. Used here for testing. SceneManager.LoadScene(SceneManager.GetActiveScene().name); m_Agent = null; // LoadScene only takes effect at the next Update. diff --git a/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicSensorComponent.cs b/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicSensorComponent.cs index 8476ed5914..b845c25c1e 100644 --- a/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicSensorComponent.cs +++ b/Project/Assets/ML-Agents/Examples/Basic/Scripts/BasicSensorComponent.cs @@ -1,8 +1,8 @@ using System; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; using UnityEngine.Serialization; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { /// /// A simple example of a SensorComponent. diff --git a/Project/Assets/ML-Agents/Examples/Bouncer/Demos/ExpertBouncer.demo.meta b/Project/Assets/ML-Agents/Examples/Bouncer/Demos/ExpertBouncer.demo.meta index ea852b696f..2f1d4d0e98 100644 --- a/Project/Assets/ML-Agents/Examples/Bouncer/Demos/ExpertBouncer.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Bouncer/Demos/ExpertBouncer.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Bouncer/Demos/ExpertBouncer.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerAgent.cs b/Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerAgent.cs index 6036a08299..b9c22fb783 100644 --- a/Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerAgent.cs @@ -1,7 +1,7 @@ using UnityEngine; -using MLAgents; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; public class BouncerAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerTarget.cs b/Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerTarget.cs index 84404b99f1..3da8ace188 100644 --- a/Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerTarget.cs +++ b/Project/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerTarget.cs @@ -1,5 +1,5 @@ using UnityEngine; -using MLAgents; +using Unity.MLAgents; public class BouncerTarget : MonoBehaviour { diff --git a/Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerDyn.demo.meta b/Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerDyn.demo.meta index 9c608b13f1..46a8e7b626 100644 --- a/Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerDyn.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerDyn.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerDyn.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerSta.demo.meta b/Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerSta.demo.meta index e29755c4c8..8487cb4811 100644 --- a/Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerSta.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerSta.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Crawler/Demos/ExpertCrawlerSta.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs b/Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs index 005b3c8314..632b5f4363 100644 --- a/Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Crawler/Scripts/CrawlerAgent.cs @@ -1,7 +1,7 @@ using UnityEngine; -using MLAgents; -using MLAgentsExamples; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgentsExamples; +using Unity.MLAgents.Sensors; [RequireComponent(typeof(JointDriveController))] // Required to set joint forces public class CrawlerAgent : Agent diff --git a/Project/Assets/ML-Agents/Examples/FoodCollector/Demos/ExpertFood.demo.meta b/Project/Assets/ML-Agents/Examples/FoodCollector/Demos/ExpertFood.demo.meta index 90a6191606..567fc9041c 100644 --- a/Project/Assets/ML-Agents/Examples/FoodCollector/Demos/ExpertFood.demo.meta +++ b/Project/Assets/ML-Agents/Examples/FoodCollector/Demos/ExpertFood.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/FoodCollector/Demos/ExpertFood.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs b/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs index de718fab82..edd9993618 100644 --- a/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs +++ b/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs @@ -1,7 +1,7 @@ using UnityEngine; -using MLAgents; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; public class FoodCollectorAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorArea.cs b/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorArea.cs index f7d79e3abd..7fa3c91144 100644 --- a/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorArea.cs +++ b/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorArea.cs @@ -1,5 +1,5 @@ using UnityEngine; -using MLAgentsExamples; +using Unity.MLAgentsExamples; public class FoodCollectorArea : Area { diff --git a/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorSettings.cs b/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorSettings.cs index 0953ddd747..88d9505869 100644 --- a/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorSettings.cs +++ b/Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorSettings.cs @@ -1,6 +1,6 @@ using UnityEngine; using UnityEngine.UI; -using MLAgents; +using Unity.MLAgents; public class FoodCollectorSettings : MonoBehaviour { diff --git a/Project/Assets/ML-Agents/Examples/GridWorld/Demos/ExpertGrid.demo.meta b/Project/Assets/ML-Agents/Examples/GridWorld/Demos/ExpertGrid.demo.meta index 43d024e70f..05e18a9535 100644 --- a/Project/Assets/ML-Agents/Examples/GridWorld/Demos/ExpertGrid.demo.meta +++ b/Project/Assets/ML-Agents/Examples/GridWorld/Demos/ExpertGrid.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/GridWorld/Demos/ExpertGrid.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs b/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs index 52fbf9fde1..36c1cfe2d5 100644 --- a/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs +++ b/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridAgent.cs @@ -1,10 +1,10 @@ using System; using UnityEngine; using System.Linq; -using MLAgents; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; using UnityEngine.Serialization; -using MLAgents.SideChannels; +using Unity.MLAgents.SideChannels; public class GridAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridArea.cs b/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridArea.cs index 22669bea37..5d275e7467 100644 --- a/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridArea.cs +++ b/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridArea.cs @@ -1,8 +1,8 @@ using System.Collections.Generic; using UnityEngine; using System.Linq; -using MLAgents; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.SideChannels; public class GridArea : MonoBehaviour diff --git a/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridSettings.cs b/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridSettings.cs index 2baee93b3a..f581537978 100644 --- a/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridSettings.cs +++ b/Project/Assets/ML-Agents/Examples/GridWorld/Scripts/GridSettings.cs @@ -1,6 +1,6 @@ using UnityEngine; -using MLAgents; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.SideChannels; public class GridSettings : MonoBehaviour { diff --git a/Project/Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo.meta b/Project/Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo.meta index fecd234d0f..7d899304c0 100644 --- a/Project/Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Hallway/Demos/ExpertHallway.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Hallway/Scripts/HallwayAgent.cs b/Project/Assets/ML-Agents/Examples/Hallway/Scripts/HallwayAgent.cs index 6523c54b98..f0da147612 100644 --- a/Project/Assets/ML-Agents/Examples/Hallway/Scripts/HallwayAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Hallway/Scripts/HallwayAgent.cs @@ -1,7 +1,7 @@ using System.Collections; using UnityEngine; -using MLAgents; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; public class HallwayAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPush.demo.meta b/Project/Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPush.demo.meta index c860cfd6e5..fe8955d6d3 100644 --- a/Project/Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPush.demo.meta +++ b/Project/Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPush.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/PushBlock/Demos/ExpertPush.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs b/Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs index 53d06e4a50..3d54012143 100644 --- a/Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs +++ b/Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs @@ -2,8 +2,8 @@ using System.Collections; using UnityEngine; -using MLAgents; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.SideChannels; public class PushAgentBasic : Agent { diff --git a/Project/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo.meta b/Project/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo.meta index 9eede9c2b8..7d7371c3d4 100644 --- a/Project/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Pyramids/Demos/ExpertPyramid.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidAgent.cs b/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidAgent.cs index 50375d670d..142ea76161 100644 --- a/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidAgent.cs @@ -2,8 +2,8 @@ using System.Linq; using UnityEngine; using Random = UnityEngine.Random; -using MLAgents; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; public class PyramidAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidArea.cs b/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidArea.cs index 256460e4ca..2116e172a2 100644 --- a/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidArea.cs +++ b/Project/Assets/ML-Agents/Examples/Pyramids/Scripts/PyramidArea.cs @@ -1,5 +1,5 @@ using UnityEngine; -using MLAgentsExamples; +using Unity.MLAgentsExamples; public class PyramidArea : Area { diff --git a/Project/Assets/ML-Agents/Examples/Reacher/Demos/ExpertReacher.demo.meta b/Project/Assets/ML-Agents/Examples/Reacher/Demos/ExpertReacher.demo.meta index 9e5b388ddf..211c3ca820 100644 --- a/Project/Assets/ML-Agents/Examples/Reacher/Demos/ExpertReacher.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Reacher/Demos/ExpertReacher.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Reacher/Demos/ExpertReacher.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Reacher/Scripts/ReacherAgent.cs b/Project/Assets/ML-Agents/Examples/Reacher/Scripts/ReacherAgent.cs index da369334a6..1980ec01d0 100644 --- a/Project/Assets/ML-Agents/Examples/Reacher/Scripts/ReacherAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Reacher/Scripts/ReacherAgent.cs @@ -1,7 +1,7 @@ using UnityEngine; -using MLAgents; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; public class ReacherAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Area.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Area.cs index dbb428a854..65bc08acda 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Area.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Area.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { public class Area : MonoBehaviour { diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/CameraFollow.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/CameraFollow.cs index 340ce74870..bcf9b85f5c 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/CameraFollow.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/CameraFollow.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { public class CameraFollow : MonoBehaviour { diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/FlyCamera.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/FlyCamera.cs index 4c708d6227..8fe3fd0cdd 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/FlyCamera.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/FlyCamera.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { public class FlyCamera : MonoBehaviour { diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GroundContact.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GroundContact.cs index 26498c1dac..785d357981 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GroundContact.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/GroundContact.cs @@ -1,7 +1,7 @@ using UnityEngine; -using MLAgents; +using Unity.MLAgents; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { /// /// This class contains logic for locomotion agents with joints which might make contact with the ground. diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/JointDriveController.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/JointDriveController.cs index 559fafc337..f3e68aa2d0 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/JointDriveController.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/JointDriveController.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using UnityEngine; using UnityEngine.Serialization; -using MLAgents; +using Unity.MLAgents; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { /// /// Used to store relevant information for acting and learning for each body part in agent. diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs index b92f0987d6..2468c8c481 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs @@ -3,10 +3,10 @@ using UnityEngine; using Barracuda; using System.IO; -using MLAgents; -using MLAgents.Policies; +using Unity.MLAgents; +using Unity.MLAgents.Policies; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { /// /// Utility class to allow the NNModel file for an agent to be overriden during inference. diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Monitor.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Monitor.cs index eedeb57a82..ba66a91421 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Monitor.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/Monitor.cs @@ -2,7 +2,7 @@ using System.Linq; using UnityEngine; -namespace MLAgents +namespace Unity.MLAgents { /// /// Monitor is used to display information about the Agent within the Unity diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ProjectSettingsOverrides.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ProjectSettingsOverrides.cs index 1c78a665ed..6c2bb0c867 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ProjectSettingsOverrides.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ProjectSettingsOverrides.cs @@ -1,8 +1,8 @@ using UnityEngine; -using MLAgents; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.SideChannels; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { /// /// A helper class for the ML-Agents example scenes to override various diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/SensorBase.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/SensorBase.cs index a71c374180..ce560c751f 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/SensorBase.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/SensorBase.cs @@ -1,6 +1,6 @@ -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { /// /// A simple sensor that provides a number default implementations. diff --git a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/TargetContact.cs b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/TargetContact.cs index 8a8a920edf..fa4580f40b 100644 --- a/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/TargetContact.cs +++ b/Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/TargetContact.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { /// /// This class contains logic for locomotion agents with joints which might make contact with a target. diff --git a/Project/Assets/ML-Agents/Examples/Soccer/Scripts/AgentSoccer.cs b/Project/Assets/ML-Agents/Examples/Soccer/Scripts/AgentSoccer.cs index 8ec3202a5f..9a21f6e1ae 100644 --- a/Project/Assets/ML-Agents/Examples/Soccer/Scripts/AgentSoccer.cs +++ b/Project/Assets/ML-Agents/Examples/Soccer/Scripts/AgentSoccer.cs @@ -1,8 +1,8 @@ using System; using UnityEngine; -using MLAgents; -using MLAgents.Policies; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.Policies; +using Unity.MLAgents.SideChannels; public class AgentSoccer : Agent { diff --git a/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerFieldArea.cs b/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerFieldArea.cs index fcafa5f50b..2a5b024ee3 100644 --- a/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerFieldArea.cs +++ b/Project/Assets/ML-Agents/Examples/Soccer/Scripts/SoccerFieldArea.cs @@ -1,7 +1,7 @@ using System.Collections; using System.Collections.Generic; -using MLAgents; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.SideChannels; using UnityEngine; using UnityEngine.Serialization; diff --git a/Project/Assets/ML-Agents/Examples/Startup/Scripts/Startup.cs b/Project/Assets/ML-Agents/Examples/Startup/Scripts/Startup.cs index ae878a5cb7..d03502a785 100644 --- a/Project/Assets/ML-Agents/Examples/Startup/Scripts/Startup.cs +++ b/Project/Assets/ML-Agents/Examples/Startup/Scripts/Startup.cs @@ -2,7 +2,7 @@ using UnityEngine; using UnityEngine.SceneManagement; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { internal class Startup : MonoBehaviour { diff --git a/Project/Assets/ML-Agents/Examples/Template/Scripts/TemplateAgent.cs b/Project/Assets/ML-Agents/Examples/Template/Scripts/TemplateAgent.cs index 3f543b2015..70035479ba 100644 --- a/Project/Assets/ML-Agents/Examples/Template/Scripts/TemplateAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Template/Scripts/TemplateAgent.cs @@ -1,6 +1,6 @@ using UnityEngine; -using MLAgents; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; public class TemplateAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/Tennis/Demos/ExpertTennis.demo.meta b/Project/Assets/ML-Agents/Examples/Tennis/Demos/ExpertTennis.demo.meta index b6ffd01178..ab045b508a 100644 --- a/Project/Assets/ML-Agents/Examples/Tennis/Demos/ExpertTennis.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Tennis/Demos/ExpertTennis.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Tennis/Demos/ExpertTennis.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs b/Project/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs index 49d1c4c84c..bd1ac0a246 100644 --- a/Project/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs @@ -1,8 +1,8 @@ using UnityEngine; using UnityEngine.UI; -using MLAgents; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; public class TennisAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/Walker/Demos/ExpertWalker.demo.meta b/Project/Assets/ML-Agents/Examples/Walker/Demos/ExpertWalker.demo.meta index 9841625eea..c24d99a1cc 100644 --- a/Project/Assets/ML-Agents/Examples/Walker/Demos/ExpertWalker.demo.meta +++ b/Project/Assets/ML-Agents/Examples/Walker/Demos/ExpertWalker.demo.meta @@ -4,7 +4,7 @@ ScriptedImporter: fileIDToRecycleName: 11400000: Assets/ML-Agents/Examples/Walker/Demos/ExpertWalker.demo externalObjects: {} - userData: ' (MLAgents.Demonstrations.DemonstrationSummary)' + userData: ' (Unity.MLAgents.Demonstrations.DemonstrationSummary)' assetBundleName: assetBundleVariant: script: {fileID: 11500000, guid: 7bd65ce151aaa4a41a45312543c56be1, type: 3} diff --git a/Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs b/Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs index 2d481028cc..996c78e81e 100644 --- a/Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Walker/Scripts/WalkerAgent.cs @@ -1,8 +1,8 @@ using UnityEngine; -using MLAgents; -using MLAgentsExamples; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgentsExamples; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; public class WalkerAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs b/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs index 69a099a322..79768f606c 100644 --- a/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs +++ b/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs @@ -2,10 +2,10 @@ using System.Collections; using UnityEngine; -using MLAgents; +using Unity.MLAgents; using Barracuda; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; public class WallJumpAgent : Agent { diff --git a/Project/Assets/ML-Agents/Examples/Worm/Scripts/WormAgent.cs b/Project/Assets/ML-Agents/Examples/Worm/Scripts/WormAgent.cs index f2871f7c2d..f16ceffee0 100644 --- a/Project/Assets/ML-Agents/Examples/Worm/Scripts/WormAgent.cs +++ b/Project/Assets/ML-Agents/Examples/Worm/Scripts/WormAgent.cs @@ -1,8 +1,8 @@ using System.Collections; using UnityEngine; -using MLAgents; -using MLAgentsExamples; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgentsExamples; +using Unity.MLAgents.Sensors; [RequireComponent(typeof(JointDriveController))] // Required to set joint forces public class WormAgent : Agent @@ -17,13 +17,13 @@ public class WormAgent : Agent public bool respawnTargetWhenTouched; public float targetSpawnRadius; - [Header("Body Parts")] [Space(10)] + [Header("Body Parts")] [Space(10)] public Transform bodySegment0; public Transform bodySegment1; public Transform bodySegment2; public Transform bodySegment3; - [Header("Joint Settings")] [Space(10)] + [Header("Joint Settings")] [Space(10)] JointDriveController m_JdController; Vector3 m_DirToTarget; float m_MovingTowardsDot; @@ -51,7 +51,7 @@ public override void Initialize() m_JdController.SetupBodyPart(bodySegment1); m_JdController.SetupBodyPart(bodySegment2); m_JdController.SetupBodyPart(bodySegment3); - + //We only want the head to detect the target //So we need to remove TargetContact from everything else //This is a temp fix till we can redesign @@ -60,7 +60,7 @@ public override void Initialize() DestroyImmediate(bodySegment3.GetComponent()); } - + //Get Joint Rotation Relative to the Connected Rigidbody //We want to collect this info because it is the actual rotation, not the "target rotation" public Quaternion GetJointRotation(ConfigurableJoint joint) @@ -90,7 +90,7 @@ public void CollectObservationBodyPart(BodyPart bp, VectorSensor sensor) sensor.AddObservation(bp.currentStrength / m_JdController.maxJointForceLimit); } } - + public override void CollectObservations(VectorSensor sensor) { m_JdController.GetCurrentJointForces(); diff --git a/com.unity.ml-agents/CHANGELOG.md b/com.unity.ml-agents/CHANGELOG.md index 84bbcc69a7..4e2a02ad24 100755 --- a/com.unity.ml-agents/CHANGELOG.md +++ b/com.unity.ml-agents/CHANGELOG.md @@ -14,6 +14,8 @@ and this project adheres to ## [1.0.0-preview] - 2020-05-06 ### Major Changes +- The `MLAgents` C# namespace was renamed to `Unity.MLAgents`, and other nested + namespaces were similarly renamed. (#3843) - Added new 3-joint Worm ragdoll environment. (#3798) - The `--load` and `--train` command-line flags have been deprecated. Training now happens by default, and use `--resume` to resume training instead. (#3705) diff --git a/com.unity.ml-agents/Documentation~/filter.yml b/com.unity.ml-agents/Documentation~/filter.yml index 56c5b03ca3..9a62182132 100755 --- a/com.unity.ml-agents/Documentation~/filter.yml +++ b/com.unity.ml-agents/Documentation~/filter.yml @@ -1,17 +1,17 @@ apiRules: - exclude: - uidRegex: ^MLAgents\.Tests$ + uidRegex: ^Unity.MLAgents\.Tests$ type: Namespace - exclude: - uidRegex: ^MLAgents\.CommunicatorObjects$ + uidRegex: ^Unity.MLAgents\.CommunicatorObjects$ type: Namespace - exclude: - uidRegex: ^MLAgents\.Tests\.Communicator$ + uidRegex: ^Unity.MLAgents\.Tests\.Communicator$ type: Namespace - exclude: - uidRegex: ^MLAgents\.Editor$ + uidRegex: ^Unity.MLAgents\.Editor$ type: Namespace - exclude: - uidRegex: ^MLAgentsExamples$ + uidRegex: ^Unity.MLAgentsExamples$ type: Namespace diff --git a/com.unity.ml-agents/Editor/AgentEditor.cs b/com.unity.ml-agents/Editor/AgentEditor.cs index 059dee3ba7..fdebf1cb15 100644 --- a/com.unity.ml-agents/Editor/AgentEditor.cs +++ b/com.unity.ml-agents/Editor/AgentEditor.cs @@ -1,7 +1,7 @@ using UnityEngine; using UnityEditor; -namespace MLAgents.Editor +namespace Unity.MLAgents.Editor { /* This code is meant to modify the behavior of the inspector on Agent Components. diff --git a/com.unity.ml-agents/Editor/BehaviorParametersEditor.cs b/com.unity.ml-agents/Editor/BehaviorParametersEditor.cs index 04b9a3cfec..b10d490486 100644 --- a/com.unity.ml-agents/Editor/BehaviorParametersEditor.cs +++ b/com.unity.ml-agents/Editor/BehaviorParametersEditor.cs @@ -1,10 +1,10 @@ -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; using UnityEditor; using Barracuda; -using MLAgents.Policies; +using Unity.MLAgents.Policies; using UnityEngine; -namespace MLAgents.Editor +namespace Unity.MLAgents.Editor { /* This code is meant to modify the behavior of the inspector on Agent Components. diff --git a/com.unity.ml-agents/Editor/BrainParametersDrawer.cs b/com.unity.ml-agents/Editor/BrainParametersDrawer.cs index 7e5f0459ba..9b919d8e40 100644 --- a/com.unity.ml-agents/Editor/BrainParametersDrawer.cs +++ b/com.unity.ml-agents/Editor/BrainParametersDrawer.cs @@ -1,8 +1,8 @@ using UnityEngine; using UnityEditor; -using MLAgents.Policies; +using Unity.MLAgents.Policies; -namespace MLAgents.Editor +namespace Unity.MLAgents.Editor { /// /// PropertyDrawer for BrainParameters. Defines how BrainParameters are displayed in the diff --git a/com.unity.ml-agents/Editor/CameraSensorComponentEditor.cs b/com.unity.ml-agents/Editor/CameraSensorComponentEditor.cs index dbb29673dd..99904e4363 100644 --- a/com.unity.ml-agents/Editor/CameraSensorComponentEditor.cs +++ b/com.unity.ml-agents/Editor/CameraSensorComponentEditor.cs @@ -1,8 +1,8 @@ using UnityEngine; using UnityEditor; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Editor +namespace Unity.MLAgents.Editor { [CustomEditor(typeof(CameraSensorComponent))] [CanEditMultipleObjects] diff --git a/com.unity.ml-agents/Editor/DemonstrationDrawer.cs b/com.unity.ml-agents/Editor/DemonstrationDrawer.cs index 978a34554f..006a36f211 100644 --- a/com.unity.ml-agents/Editor/DemonstrationDrawer.cs +++ b/com.unity.ml-agents/Editor/DemonstrationDrawer.cs @@ -1,11 +1,11 @@ using System.Collections.Generic; using System.Text; using UnityEditor; -using MLAgents.Demonstrations; -using MLAgents.Policies; +using Unity.MLAgents.Demonstrations; +using Unity.MLAgents.Policies; -namespace MLAgents.Editor +namespace Unity.MLAgents.Editor { /// /// Renders a custom UI for DemonstrationSummary ScriptableObject. diff --git a/com.unity.ml-agents/Editor/DemonstrationImporter.cs b/com.unity.ml-agents/Editor/DemonstrationImporter.cs index 6489d5022b..a5fc9b8cf5 100644 --- a/com.unity.ml-agents/Editor/DemonstrationImporter.cs +++ b/com.unity.ml-agents/Editor/DemonstrationImporter.cs @@ -1,13 +1,13 @@ using System; using System.Collections.Generic; using System.IO; -using MLAgents.CommunicatorObjects; +using Unity.MLAgents.CommunicatorObjects; using UnityEditor; using UnityEngine; using UnityEditor.Experimental.AssetImporters; -using MLAgents.Demonstrations; +using Unity.MLAgents.Demonstrations; -namespace MLAgents.Editor +namespace Unity.MLAgents.Editor { /// /// Asset Importer used to parse demonstration files. diff --git a/com.unity.ml-agents/Editor/EditorUtilities.cs b/com.unity.ml-agents/Editor/EditorUtilities.cs index 95cccfe756..8ef266f259 100644 --- a/com.unity.ml-agents/Editor/EditorUtilities.cs +++ b/com.unity.ml-agents/Editor/EditorUtilities.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgents.Editor +namespace Unity.MLAgents.Editor { /// /// A static helper class for the Editor components of the ML-Agents SDK. diff --git a/com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs b/com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs index a07082e7db..4cc36976c0 100644 --- a/com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs +++ b/com.unity.ml-agents/Editor/RayPerceptionSensorComponentBaseEditor.cs @@ -1,8 +1,8 @@ using UnityEngine; using UnityEditor; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Editor +namespace Unity.MLAgents.Editor { internal class RayPerceptionSensorComponentBaseEditor : UnityEditor.Editor { diff --git a/com.unity.ml-agents/Editor/RenderTextureSensorComponentEditor.cs b/com.unity.ml-agents/Editor/RenderTextureSensorComponentEditor.cs index 8c72b5ecc7..55c621a9c4 100644 --- a/com.unity.ml-agents/Editor/RenderTextureSensorComponentEditor.cs +++ b/com.unity.ml-agents/Editor/RenderTextureSensorComponentEditor.cs @@ -1,7 +1,7 @@ using UnityEngine; using UnityEditor; -using MLAgents.Sensors; -namespace MLAgents.Editor +using Unity.MLAgents.Sensors; +namespace Unity.MLAgents.Editor { [CustomEditor(typeof(RenderTextureSensorComponent))] [CanEditMultipleObjects] diff --git a/com.unity.ml-agents/Runtime/Academy.cs b/com.unity.ml-agents/Runtime/Academy.cs index 0f6bdc2eba..4a39ae351b 100644 --- a/com.unity.ml-agents/Runtime/Academy.cs +++ b/com.unity.ml-agents/Runtime/Academy.cs @@ -4,9 +4,9 @@ #if UNITY_EDITOR using UnityEditor; #endif -using MLAgents.Inference; -using MLAgents.Policies; -using MLAgents.SideChannels; +using Unity.MLAgents.Inference; +using Unity.MLAgents.Policies; +using Unity.MLAgents.SideChannels; using Barracuda; /** @@ -22,7 +22,7 @@ * https://github.com/Unity-Technologies/ml-agents/blob/0.15.1/docs/ */ -namespace MLAgents +namespace Unity.MLAgents { /// /// Helper class to step the Academy during FixedUpdate phase. diff --git a/com.unity.ml-agents/Runtime/Agent.cs b/com.unity.ml-agents/Runtime/Agent.cs index e920838998..d13535a5c3 100644 --- a/com.unity.ml-agents/Runtime/Agent.cs +++ b/com.unity.ml-agents/Runtime/Agent.cs @@ -3,12 +3,12 @@ using System.Collections.ObjectModel; using UnityEngine; using Barracuda; -using MLAgents.Sensors; -using MLAgents.Demonstrations; -using MLAgents.Policies; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.Demonstrations; +using Unity.MLAgents.Policies; using UnityEngine.Serialization; -namespace MLAgents +namespace Unity.MLAgents { /// /// Struct that contains all the information for an Agent, including its @@ -199,7 +199,7 @@ internal struct AgentParameters /// outside of training, you can set the max step to 0 in /// if the is not connected to an external process. /// - /// using MLAgents; + /// using Unity.MLAgents; /// /// public class MyAgent : Agent /// { diff --git a/com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs b/com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs index d6fb997c2e..0a21fd38d1 100644 --- a/com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs +++ b/com.unity.ml-agents/Runtime/Communicator/GrpcExtensions.cs @@ -2,18 +2,18 @@ using System.Collections.Generic; using System.Linq; using Google.Protobuf; -using MLAgents.CommunicatorObjects; +using Unity.MLAgents.CommunicatorObjects; using UnityEngine; using System.Runtime.CompilerServices; -using MLAgents.Sensors; -using MLAgents.Demonstrations; -using MLAgents.Policies; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.Demonstrations; +using Unity.MLAgents.Policies; [assembly: InternalsVisibleTo("Unity.ML-Agents.Editor")] [assembly: InternalsVisibleTo("Unity.ML-Agents.Editor.Tests")] -namespace MLAgents +namespace Unity.MLAgents { internal static class GrpcExtensions { diff --git a/com.unity.ml-agents/Runtime/Communicator/ICommunicator.cs b/com.unity.ml-agents/Runtime/Communicator/ICommunicator.cs index 44fc680084..765bd29f24 100644 --- a/com.unity.ml-agents/Runtime/Communicator/ICommunicator.cs +++ b/com.unity.ml-agents/Runtime/Communicator/ICommunicator.cs @@ -1,10 +1,10 @@ using System; using System.Collections.Generic; -using MLAgents.Policies; -using MLAgents.Sensors; -using MLAgents.SideChannels; +using Unity.MLAgents.Policies; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.SideChannels; -namespace MLAgents +namespace Unity.MLAgents { internal struct CommunicatorInitParameters { diff --git a/com.unity.ml-agents/Runtime/Communicator/RpcCommunicator.cs b/com.unity.ml-agents/Runtime/Communicator/RpcCommunicator.cs index 8b8aec3ca3..64b5f387b0 100644 --- a/com.unity.ml-agents/Runtime/Communicator/RpcCommunicator.cs +++ b/com.unity.ml-agents/Runtime/Communicator/RpcCommunicator.cs @@ -8,13 +8,13 @@ using System.Collections.Generic; using System.Linq; using UnityEngine; -using MLAgents.CommunicatorObjects; -using MLAgents.Sensors; -using MLAgents.Policies; -using MLAgents.SideChannels; +using Unity.MLAgents.CommunicatorObjects; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.Policies; +using Unity.MLAgents.SideChannels; using Google.Protobuf; -namespace MLAgents +namespace Unity.MLAgents { /// Responsible for communication with External using gRPC. internal class RpcCommunicator : ICommunicator diff --git a/com.unity.ml-agents/Runtime/Communicator/UnityRLCapabilities.cs b/com.unity.ml-agents/Runtime/Communicator/UnityRLCapabilities.cs index 40be60af2f..f9546dc814 100644 --- a/com.unity.ml-agents/Runtime/Communicator/UnityRLCapabilities.cs +++ b/com.unity.ml-agents/Runtime/Communicator/UnityRLCapabilities.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgents +namespace Unity.MLAgents { internal class UnityRLCapabilities { diff --git a/com.unity.ml-agents/Runtime/Constants.cs b/com.unity.ml-agents/Runtime/Constants.cs index 614335cdf5..816d88ed6d 100644 --- a/com.unity.ml-agents/Runtime/Constants.cs +++ b/com.unity.ml-agents/Runtime/Constants.cs @@ -1,4 +1,4 @@ -namespace MLAgents +namespace Unity.MLAgents { /// /// Grouping for use in AddComponentMenu (instead of nesting the menus). diff --git a/com.unity.ml-agents/Runtime/DecisionRequester.cs b/com.unity.ml-agents/Runtime/DecisionRequester.cs index ef3d2846de..fabdaecc50 100644 --- a/com.unity.ml-agents/Runtime/DecisionRequester.cs +++ b/com.unity.ml-agents/Runtime/DecisionRequester.cs @@ -2,7 +2,7 @@ using UnityEngine; using UnityEngine.Serialization; -namespace MLAgents +namespace Unity.MLAgents { /// /// The DecisionRequester component automatically request decisions for an diff --git a/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationMetaData.cs b/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationMetaData.cs index a5e07374bd..de8b6c7950 100644 --- a/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationMetaData.cs +++ b/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationMetaData.cs @@ -1,9 +1,9 @@ using System; using UnityEngine; -using MLAgents.Policies; +using Unity.MLAgents.Policies; using UnityEngine.Serialization; -namespace MLAgents.Demonstrations +namespace Unity.MLAgents.Demonstrations { /// /// Demonstration meta-data. diff --git a/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationRecorder.cs b/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationRecorder.cs index 800421780b..af7a44dada 100644 --- a/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationRecorder.cs +++ b/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationRecorder.cs @@ -2,10 +2,10 @@ using System.Text.RegularExpressions; using UnityEngine; using System.IO; -using MLAgents.Policies; +using Unity.MLAgents.Policies; using UnityEngine.Serialization; -namespace MLAgents.Demonstrations +namespace Unity.MLAgents.Demonstrations { /// /// The Demonstration Recorder component facilitates the recording of demonstrations diff --git a/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationSummary.cs b/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationSummary.cs index 1beb53b87d..cb32409913 100644 --- a/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationSummary.cs +++ b/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationSummary.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using UnityEngine; -using MLAgents.Policies; +using Unity.MLAgents.Policies; -namespace MLAgents.Demonstrations +namespace Unity.MLAgents.Demonstrations { /// /// Summary of a loaded Demonstration file. Only used for display in the Inspector. diff --git a/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationWriter.cs b/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationWriter.cs index 1f04dd877c..ea93c69f39 100644 --- a/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationWriter.cs +++ b/com.unity.ml-agents/Runtime/Demonstrations/DemonstrationWriter.cs @@ -1,10 +1,10 @@ using System.IO; using Google.Protobuf; using System.Collections.Generic; -using MLAgents.Sensors; -using MLAgents.Policies; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.Policies; -namespace MLAgents.Demonstrations +namespace Unity.MLAgents.Demonstrations { /// /// Responsible for writing demonstration data to stream (typically a file stream). diff --git a/com.unity.ml-agents/Runtime/DiscreteActionMasker.cs b/com.unity.ml-agents/Runtime/DiscreteActionMasker.cs index 81285740e9..8b31afcdc2 100644 --- a/com.unity.ml-agents/Runtime/DiscreteActionMasker.cs +++ b/com.unity.ml-agents/Runtime/DiscreteActionMasker.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using System.Linq; -using MLAgents.Policies; +using Unity.MLAgents.Policies; -namespace MLAgents +namespace Unity.MLAgents { /// /// The DiscreteActionMasker class represents a set of masked (disallowed) actions and @@ -37,9 +37,9 @@ internal DiscreteActionMasker(BrainParameters brainParameters) /// When used, the agent will not be able to perform the actions passed as argument /// at the next decision for the specified action branch. The actionIndices correspond /// to the action options the agent will be unable to perform. - /// + /// /// See [Agents - Actions] for more information on masking actions. - /// + /// /// [Agents - Actions]: https://github.com/Unity-Technologies/ml-agents/blob/0.15.1/docs/Learning-Environment-Design-Agents.md#actions /// /// The branch for which the actions will be masked. diff --git a/com.unity.ml-agents/Runtime/EnvironmentParameters.cs b/com.unity.ml-agents/Runtime/EnvironmentParameters.cs index 55cac9176d..dbae3cd0be 100644 --- a/com.unity.ml-agents/Runtime/EnvironmentParameters.cs +++ b/com.unity.ml-agents/Runtime/EnvironmentParameters.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; -using MLAgents.SideChannels; +using Unity.MLAgents.SideChannels; -namespace MLAgents +namespace Unity.MLAgents { /// /// A container for the Environment Parameters that may be modified during training. diff --git a/com.unity.ml-agents/Runtime/EpisodeIdCounter.cs b/com.unity.ml-agents/Runtime/EpisodeIdCounter.cs index 3e94a09c1d..735c7fff96 100644 --- a/com.unity.ml-agents/Runtime/EpisodeIdCounter.cs +++ b/com.unity.ml-agents/Runtime/EpisodeIdCounter.cs @@ -1,4 +1,4 @@ -namespace MLAgents +namespace Unity.MLAgents { internal static class EpisodeIdCounter { diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentAction.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentAction.cs index 896ba1eb8d..b7ee938b7c 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentAction.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentAction.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/agent_action.proto internal static partial class AgentActionReflection { @@ -27,12 +27,12 @@ static AgentActionReflection() { "CjVtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2FnZW50X2Fj", "dGlvbi5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMiSwoQQWdlbnRBY3Rp", "b25Qcm90bxIWCg52ZWN0b3JfYWN0aW9ucxgBIAMoAhINCgV2YWx1ZRgEIAEo", - "AkoECAIQA0oECAMQBEoECAUQBkIfqgIcTUxBZ2VudHMuQ29tbXVuaWNhdG9y", - "T2JqZWN0c2IGcHJvdG8z")); + "AkoECAIQA0oECAMQBEoECAUQBkIlqgIiVW5pdHkuTUxBZ2VudHMuQ29tbXVu", + "aWNhdG9yT2JqZWN0c2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.AgentActionProto), global::MLAgents.CommunicatorObjects.AgentActionProto.Parser, new[]{ "VectorActions", "Value" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.AgentActionProto), global::Unity.MLAgents.CommunicatorObjects.AgentActionProto.Parser, new[]{ "VectorActions", "Value" }, null, null, null) })); } #endregion @@ -47,7 +47,7 @@ internal sealed partial class AgentActionProto : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::MLAgents.CommunicatorObjects.AgentActionReflection.Descriptor.MessageTypes[0]; } + get { return global::Unity.MLAgents.CommunicatorObjects.AgentActionReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentInfo.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentInfo.cs index 98be3778ea..5e7232b47b 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentInfo.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentInfo.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/agent_info.proto internal static partial class AgentInfoReflection { @@ -31,12 +31,12 @@ static AgentInfoReflection() { "ChBtYXhfc3RlcF9yZWFjaGVkGAkgASgIEgoKAmlkGAogASgFEhMKC2FjdGlv", "bl9tYXNrGAsgAygIEjwKDG9ic2VydmF0aW9ucxgNIAMoCzImLmNvbW11bmlj", "YXRvcl9vYmplY3RzLk9ic2VydmF0aW9uUHJvdG9KBAgBEAJKBAgCEANKBAgD", - "EARKBAgEEAVKBAgFEAZKBAgGEAdKBAgMEA1CH6oCHE1MQWdlbnRzLkNvbW11", - "bmljYXRvck9iamVjdHNiBnByb3RvMw==")); + "EARKBAgEEAVKBAgFEAZKBAgGEAdKBAgMEA1CJaoCIlVuaXR5Lk1MQWdlbnRz", + "LkNvbW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.ObservationReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.ObservationReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.AgentInfoProto), global::MLAgents.CommunicatorObjects.AgentInfoProto.Parser, new[]{ "Reward", "Done", "MaxStepReached", "Id", "ActionMask", "Observations" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.AgentInfoProto), global::Unity.MLAgents.CommunicatorObjects.AgentInfoProto.Parser, new[]{ "Reward", "Done", "MaxStepReached", "Id", "ActionMask", "Observations" }, null, null, null) })); } #endregion @@ -51,7 +51,7 @@ internal sealed partial class AgentInfoProto : pb::IMessage { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::MLAgents.CommunicatorObjects.AgentInfoReflection.Descriptor.MessageTypes[0]; } + get { return global::Unity.MLAgents.CommunicatorObjects.AgentInfoReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -138,11 +138,11 @@ public int Id { /// Field number for the "observations" field. public const int ObservationsFieldNumber = 13; - private static readonly pb::FieldCodec _repeated_observations_codec - = pb::FieldCodec.ForMessage(106, global::MLAgents.CommunicatorObjects.ObservationProto.Parser); - private readonly pbc::RepeatedField observations_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_observations_codec + = pb::FieldCodec.ForMessage(106, global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Parser); + private readonly pbc::RepeatedField observations_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Observations { + public pbc::RepeatedField Observations { get { return observations_; } } diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentInfoActionPair.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentInfoActionPair.cs index 4c60a5cecc..37cd219c73 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentInfoActionPair.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/AgentInfoActionPair.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/agent_info_action_pair.proto internal static partial class AgentInfoActionPairReflection { @@ -31,12 +31,12 @@ static AgentInfoActionPairReflection() { "bnRfYWN0aW9uLnByb3RvIpEBChhBZ2VudEluZm9BY3Rpb25QYWlyUHJvdG8S", "OAoKYWdlbnRfaW5mbxgBIAEoCzIkLmNvbW11bmljYXRvcl9vYmplY3RzLkFn", "ZW50SW5mb1Byb3RvEjsKC2FjdGlvbl9pbmZvGAIgASgLMiYuY29tbXVuaWNh", - "dG9yX29iamVjdHMuQWdlbnRBY3Rpb25Qcm90b0IfqgIcTUxBZ2VudHMuQ29t", - "bXVuaWNhdG9yT2JqZWN0c2IGcHJvdG8z")); + "dG9yX29iamVjdHMuQWdlbnRBY3Rpb25Qcm90b0IlqgIiVW5pdHkuTUxBZ2Vu", + "dHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.AgentInfoReflection.Descriptor, global::MLAgents.CommunicatorObjects.AgentActionReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.AgentInfoReflection.Descriptor, global::Unity.MLAgents.CommunicatorObjects.AgentActionReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.AgentInfoActionPairProto), global::MLAgents.CommunicatorObjects.AgentInfoActionPairProto.Parser, new[]{ "AgentInfo", "ActionInfo" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.AgentInfoActionPairProto), global::Unity.MLAgents.CommunicatorObjects.AgentInfoActionPairProto.Parser, new[]{ "AgentInfo", "ActionInfo" }, null, null, null) })); } #endregion @@ -51,7 +51,7 @@ internal sealed partial class AgentInfoActionPairProto : pb::IMessageField number for the "agent_info" field. public const int AgentInfoFieldNumber = 1; - private global::MLAgents.CommunicatorObjects.AgentInfoProto agentInfo_; + private global::Unity.MLAgents.CommunicatorObjects.AgentInfoProto agentInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.AgentInfoProto AgentInfo { + public global::Unity.MLAgents.CommunicatorObjects.AgentInfoProto AgentInfo { get { return agentInfo_; } set { agentInfo_ = value; @@ -91,9 +91,9 @@ public AgentInfoActionPairProto Clone() { /// Field number for the "action_info" field. public const int ActionInfoFieldNumber = 2; - private global::MLAgents.CommunicatorObjects.AgentActionProto actionInfo_; + private global::Unity.MLAgents.CommunicatorObjects.AgentActionProto actionInfo_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.AgentActionProto ActionInfo { + public global::Unity.MLAgents.CommunicatorObjects.AgentActionProto ActionInfo { get { return actionInfo_; } set { actionInfo_ = value; @@ -171,13 +171,13 @@ public void MergeFrom(AgentInfoActionPairProto other) { } if (other.agentInfo_ != null) { if (agentInfo_ == null) { - agentInfo_ = new global::MLAgents.CommunicatorObjects.AgentInfoProto(); + agentInfo_ = new global::Unity.MLAgents.CommunicatorObjects.AgentInfoProto(); } AgentInfo.MergeFrom(other.AgentInfo); } if (other.actionInfo_ != null) { if (actionInfo_ == null) { - actionInfo_ = new global::MLAgents.CommunicatorObjects.AgentActionProto(); + actionInfo_ = new global::Unity.MLAgents.CommunicatorObjects.AgentActionProto(); } ActionInfo.MergeFrom(other.ActionInfo); } @@ -194,14 +194,14 @@ public void MergeFrom(pb::CodedInputStream input) { break; case 10: { if (agentInfo_ == null) { - agentInfo_ = new global::MLAgents.CommunicatorObjects.AgentInfoProto(); + agentInfo_ = new global::Unity.MLAgents.CommunicatorObjects.AgentInfoProto(); } input.ReadMessage(agentInfo_); break; } case 18: { if (actionInfo_ == null) { - actionInfo_ = new global::MLAgents.CommunicatorObjects.AgentActionProto(); + actionInfo_ = new global::Unity.MLAgents.CommunicatorObjects.AgentActionProto(); } input.ReadMessage(actionInfo_); break; diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/BrainParameters.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/BrainParameters.cs index c05b3441d9..84757daa81 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/BrainParameters.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/BrainParameters.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/brain_parameters.proto internal static partial class BrainParametersReflection { @@ -31,12 +31,12 @@ static BrainParametersReflection() { "ZRgDIAMoBRIiChp2ZWN0b3JfYWN0aW9uX2Rlc2NyaXB0aW9ucxgFIAMoCRJG", "Chh2ZWN0b3JfYWN0aW9uX3NwYWNlX3R5cGUYBiABKA4yJC5jb21tdW5pY2F0", "b3Jfb2JqZWN0cy5TcGFjZVR5cGVQcm90bxISCgpicmFpbl9uYW1lGAcgASgJ", - "EhMKC2lzX3RyYWluaW5nGAggASgISgQIARACSgQIAhADSgQIBBAFQh+qAhxN", - "TEFnZW50cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); + "EhMKC2lzX3RyYWluaW5nGAggASgISgQIARACSgQIAhADSgQIBBAFQiWqAiJV", + "bml0eS5NTEFnZW50cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.SpaceTypeReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.SpaceTypeReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.BrainParametersProto), global::MLAgents.CommunicatorObjects.BrainParametersProto.Parser, new[]{ "VectorActionSize", "VectorActionDescriptions", "VectorActionSpaceType", "BrainName", "IsTraining" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.BrainParametersProto), global::Unity.MLAgents.CommunicatorObjects.BrainParametersProto.Parser, new[]{ "VectorActionSize", "VectorActionDescriptions", "VectorActionSpaceType", "BrainName", "IsTraining" }, null, null, null) })); } #endregion @@ -51,7 +51,7 @@ internal sealed partial class BrainParametersProto : pb::IMessageField number for the "vector_action_space_type" field. public const int VectorActionSpaceTypeFieldNumber = 6; - private global::MLAgents.CommunicatorObjects.SpaceTypeProto vectorActionSpaceType_ = 0; + private global::Unity.MLAgents.CommunicatorObjects.SpaceTypeProto vectorActionSpaceType_ = 0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.SpaceTypeProto VectorActionSpaceType { + public global::Unity.MLAgents.CommunicatorObjects.SpaceTypeProto VectorActionSpaceType { get { return vectorActionSpaceType_; } set { vectorActionSpaceType_ = value; @@ -252,7 +252,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 48: { - vectorActionSpaceType_ = (global::MLAgents.CommunicatorObjects.SpaceTypeProto) input.ReadEnum(); + vectorActionSpaceType_ = (global::Unity.MLAgents.CommunicatorObjects.SpaceTypeProto) input.ReadEnum(); break; } case 58: { diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Capabilities.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Capabilities.cs index 8b896e91a3..2547f51ea3 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Capabilities.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Capabilities.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/capabilities.proto internal static partial class CapabilitiesReflection { @@ -26,12 +26,12 @@ static CapabilitiesReflection() { string.Concat( "CjVtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2NhcGFiaWxp", "dGllcy5wcm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMiNgoYVW5pdHlSTENh", - "cGFiaWxpdGllc1Byb3RvEhoKEmJhc2VSTENhcGFiaWxpdGllcxgBIAEoCEIf", - "qgIcTUxBZ2VudHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IGcHJvdG8z")); + "cGFiaWxpdGllc1Byb3RvEhoKEmJhc2VSTENhcGFiaWxpdGllcxgBIAEoCEIl", + "qgIiVW5pdHkuTUxBZ2VudHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto.Parser, new[]{ "BaseRLCapabilities" }, null, null, null) })); } #endregion @@ -51,7 +51,7 @@ internal sealed partial class UnityRLCapabilitiesProto : pb::IMessageHolder for reflection information generated from mlagents_envs/communicator_objects/command.proto internal static partial class CommandReflection { @@ -26,11 +26,11 @@ static CommandReflection() { string.Concat( "CjBtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2NvbW1hbmQu", "cHJvdG8SFGNvbW11bmljYXRvcl9vYmplY3RzKi0KDENvbW1hbmRQcm90bxII", - "CgRTVEVQEAASCQoFUkVTRVQQARIICgRRVUlUEAJCH6oCHE1MQWdlbnRzLkNv", - "bW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); + "CgRTVEVQEAASCQoFUkVTRVQQARIICgRRVUlUEAJCJaoCIlVuaXR5Lk1MQWdl", + "bnRzLkNvbW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::MLAgents.CommunicatorObjects.CommandProto), }, null)); + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Unity.MLAgents.CommunicatorObjects.CommandProto), }, null)); } #endregion diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/CustomResetParameters.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/CustomResetParameters.cs index 57f45b58b5..45099b04c7 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/CustomResetParameters.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/CustomResetParameters.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/custom_reset_parameters.proto internal static partial class CustomResetParametersReflection { @@ -26,12 +26,12 @@ static CustomResetParametersReflection() { string.Concat( "CkBtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2N1c3RvbV9y", "ZXNldF9wYXJhbWV0ZXJzLnByb3RvEhRjb21tdW5pY2F0b3Jfb2JqZWN0cyIc", - "ChpDdXN0b21SZXNldFBhcmFtZXRlcnNQcm90b0IfqgIcTUxBZ2VudHMuQ29t", - "bXVuaWNhdG9yT2JqZWN0c2IGcHJvdG8z")); + "ChpDdXN0b21SZXNldFBhcmFtZXRlcnNQcm90b0IlqgIiVW5pdHkuTUxBZ2Vu", + "dHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.CustomResetParametersProto), global::MLAgents.CommunicatorObjects.CustomResetParametersProto.Parser, null, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.CustomResetParametersProto), global::Unity.MLAgents.CommunicatorObjects.CustomResetParametersProto.Parser, null, null, null, null) })); } #endregion @@ -46,7 +46,7 @@ internal sealed partial class CustomResetParametersProto : pb::IMessageHolder for reflection information generated from mlagents_envs/communicator_objects/demonstration_meta.proto internal static partial class DemonstrationMetaReflection { @@ -29,11 +29,12 @@ static DemonstrationMetaReflection() { "bW9uc3RyYXRpb25NZXRhUHJvdG8SEwoLYXBpX3ZlcnNpb24YASABKAUSGgoS", "ZGVtb25zdHJhdGlvbl9uYW1lGAIgASgJEhQKDG51bWJlcl9zdGVwcxgDIAEo", "BRIXCg9udW1iZXJfZXBpc29kZXMYBCABKAUSEwoLbWVhbl9yZXdhcmQYBSAB", - "KAJCH6oCHE1MQWdlbnRzLkNvbW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); + "KAJCJaoCIlVuaXR5Lk1MQWdlbnRzLkNvbW11bmljYXRvck9iamVjdHNiBnBy", + "b3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.DemonstrationMetaProto), global::MLAgents.CommunicatorObjects.DemonstrationMetaProto.Parser, new[]{ "ApiVersion", "DemonstrationName", "NumberSteps", "NumberEpisodes", "MeanReward" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.DemonstrationMetaProto), global::Unity.MLAgents.CommunicatorObjects.DemonstrationMetaProto.Parser, new[]{ "ApiVersion", "DemonstrationName", "NumberSteps", "NumberEpisodes", "MeanReward" }, null, null, null) })); } #endregion @@ -48,7 +49,7 @@ internal sealed partial class DemonstrationMetaProto : pb::IMessageHolder for reflection information generated from mlagents_envs/communicator_objects/engine_configuration.proto internal static partial class EngineConfigurationReflection { @@ -29,12 +29,12 @@ static EngineConfigurationReflection() { "RW5naW5lQ29uZmlndXJhdGlvblByb3RvEg0KBXdpZHRoGAEgASgFEg4KBmhl", "aWdodBgCIAEoBRIVCg1xdWFsaXR5X2xldmVsGAMgASgFEhIKCnRpbWVfc2Nh", "bGUYBCABKAISGQoRdGFyZ2V0X2ZyYW1lX3JhdGUYBSABKAUSFAoMc2hvd19t", - "b25pdG9yGAYgASgIQh+qAhxNTEFnZW50cy5Db21tdW5pY2F0b3JPYmplY3Rz", - "YgZwcm90bzM=")); + "b25pdG9yGAYgASgIQiWqAiJVbml0eS5NTEFnZW50cy5Db21tdW5pY2F0b3JP", + "YmplY3RzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.EngineConfigurationProto), global::MLAgents.CommunicatorObjects.EngineConfigurationProto.Parser, new[]{ "Width", "Height", "QualityLevel", "TimeScale", "TargetFrameRate", "ShowMonitor" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.EngineConfigurationProto), global::Unity.MLAgents.CommunicatorObjects.EngineConfigurationProto.Parser, new[]{ "Width", "Height", "QualityLevel", "TimeScale", "TargetFrameRate", "ShowMonitor" }, null, null, null) })); } #endregion @@ -49,7 +49,7 @@ internal sealed partial class EngineConfigurationProto : pb::IMessageHolder for reflection information generated from mlagents_envs/communicator_objects/header.proto internal static partial class HeaderReflection { @@ -26,12 +26,12 @@ static HeaderReflection() { string.Concat( "Ci9tbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL2hlYWRlci5w", "cm90bxIUY29tbXVuaWNhdG9yX29iamVjdHMiLgoLSGVhZGVyUHJvdG8SDgoG", - "c3RhdHVzGAEgASgFEg8KB21lc3NhZ2UYAiABKAlCH6oCHE1MQWdlbnRzLkNv", - "bW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); + "c3RhdHVzGAEgASgFEg8KB21lc3NhZ2UYAiABKAlCJaoCIlVuaXR5Lk1MQWdl", + "bnRzLkNvbW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.HeaderProto), global::MLAgents.CommunicatorObjects.HeaderProto.Parser, new[]{ "Status", "Message" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.HeaderProto), global::Unity.MLAgents.CommunicatorObjects.HeaderProto.Parser, new[]{ "Status", "Message" }, null, null, null) })); } #endregion @@ -46,7 +46,7 @@ internal sealed partial class HeaderProto : pb::IMessage { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::MLAgents.CommunicatorObjects.HeaderReflection.Descriptor.MessageTypes[0]; } + get { return global::Unity.MLAgents.CommunicatorObjects.HeaderReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Observation.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Observation.cs index 34d5a6bb75..8c38ef31a8 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Observation.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/Observation.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/observation.proto internal static partial class ObservationReflection { @@ -32,12 +32,12 @@ static ObservationReflection() { "IAEoCzIwLmNvbW11bmljYXRvcl9vYmplY3RzLk9ic2VydmF0aW9uUHJvdG8u", "RmxvYXREYXRhSAAaGQoJRmxvYXREYXRhEgwKBGRhdGEYASADKAJCEgoQb2Jz", "ZXJ2YXRpb25fZGF0YSopChRDb21wcmVzc2lvblR5cGVQcm90bxIICgROT05F", - "EAASBwoDUE5HEAFCH6oCHE1MQWdlbnRzLkNvbW11bmljYXRvck9iamVjdHNi", - "BnByb3RvMw==")); + "EAASBwoDUE5HEAFCJaoCIlVuaXR5Lk1MQWdlbnRzLkNvbW11bmljYXRvck9i", + "amVjdHNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::MLAgents.CommunicatorObjects.CompressionTypeProto), }, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.ObservationProto), global::MLAgents.CommunicatorObjects.ObservationProto.Parser, new[]{ "Shape", "CompressionType", "CompressedData", "FloatData" }, new[]{ "ObservationData" }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData), global::MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData.Parser, new[]{ "Data" }, null, null, null)}) + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Unity.MLAgents.CommunicatorObjects.CompressionTypeProto), }, new pbr::GeneratedClrTypeInfo[] { + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.ObservationProto), global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Parser, new[]{ "Shape", "CompressionType", "CompressedData", "FloatData" }, new[]{ "ObservationData" }, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData), global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData.Parser, new[]{ "Data" }, null, null, null)}) })); } #endregion @@ -60,7 +60,7 @@ internal sealed partial class ObservationProto : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::MLAgents.CommunicatorObjects.ObservationReflection.Descriptor.MessageTypes[0]; } + get { return global::Unity.MLAgents.CommunicatorObjects.ObservationReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -108,9 +108,9 @@ public ObservationProto Clone() { /// Field number for the "compression_type" field. public const int CompressionTypeFieldNumber = 2; - private global::MLAgents.CommunicatorObjects.CompressionTypeProto compressionType_ = 0; + private global::Unity.MLAgents.CommunicatorObjects.CompressionTypeProto compressionType_ = 0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.CompressionTypeProto CompressionType { + public global::Unity.MLAgents.CommunicatorObjects.CompressionTypeProto CompressionType { get { return compressionType_; } set { compressionType_ = value; @@ -131,8 +131,8 @@ public ObservationProto Clone() { /// Field number for the "float_data" field. public const int FloatDataFieldNumber = 4; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData FloatData { - get { return observationDataCase_ == ObservationDataOneofCase.FloatData ? (global::MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData) observationData_ : null; } + public global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData FloatData { + get { return observationDataCase_ == ObservationDataOneofCase.FloatData ? (global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData) observationData_ : null; } set { observationData_ = value; observationDataCase_ = value == null ? ObservationDataOneofCase.None : ObservationDataOneofCase.FloatData; @@ -252,7 +252,7 @@ public void MergeFrom(ObservationProto other) { break; case ObservationDataOneofCase.FloatData: if (FloatData == null) { - FloatData = new global::MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData(); + FloatData = new global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData(); } FloatData.MergeFrom(other.FloatData); break; @@ -275,7 +275,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 16: { - compressionType_ = (global::MLAgents.CommunicatorObjects.CompressionTypeProto) input.ReadEnum(); + compressionType_ = (global::Unity.MLAgents.CommunicatorObjects.CompressionTypeProto) input.ReadEnum(); break; } case 26: { @@ -283,7 +283,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 34: { - global::MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData subBuilder = new global::MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData(); + global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData subBuilder = new global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Types.FloatData(); if (observationDataCase_ == ObservationDataOneofCase.FloatData) { subBuilder.MergeFrom(FloatData); } @@ -307,7 +307,7 @@ internal sealed partial class FloatData : pb::IMessage { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::MLAgents.CommunicatorObjects.ObservationProto.Descriptor.NestedTypes[0]; } + get { return global::Unity.MLAgents.CommunicatorObjects.ObservationProto.Descriptor.NestedTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/SpaceType.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/SpaceType.cs index fb39a91b23..d3bf7cf220 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/SpaceType.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/SpaceType.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/space_type.proto internal static partial class SpaceTypeReflection { @@ -26,11 +26,11 @@ static SpaceTypeReflection() { string.Concat( "CjNtbGFnZW50c19lbnZzL2NvbW11bmljYXRvcl9vYmplY3RzL3NwYWNlX3R5", "cGUucHJvdG8SFGNvbW11bmljYXRvcl9vYmplY3RzKi4KDlNwYWNlVHlwZVBy", - "b3RvEgwKCGRpc2NyZXRlEAASDgoKY29udGludW91cxABQh+qAhxNTEFnZW50", - "cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); + "b3RvEgwKCGRpc2NyZXRlEAASDgoKY29udGludW91cxABQiWqAiJVbml0eS5N", + "TEFnZW50cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, new pbr::FileDescriptor[] { }, - new pbr::GeneratedClrTypeInfo(new[] {typeof(global::MLAgents.CommunicatorObjects.SpaceTypeProto), }, null)); + new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Unity.MLAgents.CommunicatorObjects.SpaceTypeProto), }, null)); } #endregion diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityInput.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityInput.cs index a202367f4b..9497aa0ad8 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityInput.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityInput.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/unity_input.proto internal static partial class UnityInputReflection { @@ -32,12 +32,12 @@ static UnityInputReflection() { "EjkKCHJsX2lucHV0GAEgASgLMicuY29tbXVuaWNhdG9yX29iamVjdHMuVW5p", "dHlSTElucHV0UHJvdG8SVgoXcmxfaW5pdGlhbGl6YXRpb25faW5wdXQYAiAB", "KAsyNS5jb21tdW5pY2F0b3Jfb2JqZWN0cy5Vbml0eVJMSW5pdGlhbGl6YXRp", - "b25JbnB1dFByb3RvQh+qAhxNTEFnZW50cy5Db21tdW5pY2F0b3JPYmplY3Rz", - "YgZwcm90bzM=")); + "b25JbnB1dFByb3RvQiWqAiJVbml0eS5NTEFnZW50cy5Db21tdW5pY2F0b3JP", + "YmplY3RzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.UnityRlInputReflection.Descriptor, global::MLAgents.CommunicatorObjects.UnityRlInitializationInputReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.UnityRlInputReflection.Descriptor, global::Unity.MLAgents.CommunicatorObjects.UnityRlInitializationInputReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityInputProto), global::MLAgents.CommunicatorObjects.UnityInputProto.Parser, new[]{ "RlInput", "RlInitializationInput" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityInputProto), global::Unity.MLAgents.CommunicatorObjects.UnityInputProto.Parser, new[]{ "RlInput", "RlInitializationInput" }, null, null, null) })); } #endregion @@ -52,7 +52,7 @@ internal sealed partial class UnityInputProto : pb::IMessage { [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::MLAgents.CommunicatorObjects.UnityInputReflection.Descriptor.MessageTypes[0]; } + get { return global::Unity.MLAgents.CommunicatorObjects.UnityInputReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -81,9 +81,9 @@ public UnityInputProto Clone() { /// Field number for the "rl_input" field. public const int RlInputFieldNumber = 1; - private global::MLAgents.CommunicatorObjects.UnityRLInputProto rlInput_; + private global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto rlInput_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.UnityRLInputProto RlInput { + public global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto RlInput { get { return rlInput_; } set { rlInput_ = value; @@ -92,9 +92,9 @@ public UnityInputProto Clone() { /// Field number for the "rl_initialization_input" field. public const int RlInitializationInputFieldNumber = 2; - private global::MLAgents.CommunicatorObjects.UnityRLInitializationInputProto rlInitializationInput_; + private global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationInputProto rlInitializationInput_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.UnityRLInitializationInputProto RlInitializationInput { + public global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationInputProto RlInitializationInput { get { return rlInitializationInput_; } set { rlInitializationInput_ = value; @@ -172,13 +172,13 @@ public void MergeFrom(UnityInputProto other) { } if (other.rlInput_ != null) { if (rlInput_ == null) { - rlInput_ = new global::MLAgents.CommunicatorObjects.UnityRLInputProto(); + rlInput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto(); } RlInput.MergeFrom(other.RlInput); } if (other.rlInitializationInput_ != null) { if (rlInitializationInput_ == null) { - rlInitializationInput_ = new global::MLAgents.CommunicatorObjects.UnityRLInitializationInputProto(); + rlInitializationInput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationInputProto(); } RlInitializationInput.MergeFrom(other.RlInitializationInput); } @@ -195,14 +195,14 @@ public void MergeFrom(pb::CodedInputStream input) { break; case 10: { if (rlInput_ == null) { - rlInput_ = new global::MLAgents.CommunicatorObjects.UnityRLInputProto(); + rlInput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto(); } input.ReadMessage(rlInput_); break; } case 18: { if (rlInitializationInput_ == null) { - rlInitializationInput_ = new global::MLAgents.CommunicatorObjects.UnityRLInitializationInputProto(); + rlInitializationInput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationInputProto(); } input.ReadMessage(rlInitializationInput_); break; diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityMessage.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityMessage.cs index f8dbffd6de..b98264dc44 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityMessage.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityMessage.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/unity_message.proto internal static partial class UnityMessageReflection { @@ -33,12 +33,12 @@ static UnityMessageReflection() { "IAEoCzIhLmNvbW11bmljYXRvcl9vYmplY3RzLkhlYWRlclByb3RvEjwKDHVu", "aXR5X291dHB1dBgCIAEoCzImLmNvbW11bmljYXRvcl9vYmplY3RzLlVuaXR5", "T3V0cHV0UHJvdG8SOgoLdW5pdHlfaW5wdXQYAyABKAsyJS5jb21tdW5pY2F0", - "b3Jfb2JqZWN0cy5Vbml0eUlucHV0UHJvdG9CH6oCHE1MQWdlbnRzLkNvbW11", - "bmljYXRvck9iamVjdHNiBnByb3RvMw==")); + "b3Jfb2JqZWN0cy5Vbml0eUlucHV0UHJvdG9CJaoCIlVuaXR5Lk1MQWdlbnRz", + "LkNvbW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.UnityOutputReflection.Descriptor, global::MLAgents.CommunicatorObjects.UnityInputReflection.Descriptor, global::MLAgents.CommunicatorObjects.HeaderReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.UnityOutputReflection.Descriptor, global::Unity.MLAgents.CommunicatorObjects.UnityInputReflection.Descriptor, global::Unity.MLAgents.CommunicatorObjects.HeaderReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityMessageProto), global::MLAgents.CommunicatorObjects.UnityMessageProto.Parser, new[]{ "Header", "UnityOutput", "UnityInput" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto), global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto.Parser, new[]{ "Header", "UnityOutput", "UnityInput" }, null, null, null) })); } #endregion @@ -53,7 +53,7 @@ internal sealed partial class UnityMessageProto : pb::IMessageField number for the "header" field. public const int HeaderFieldNumber = 1; - private global::MLAgents.CommunicatorObjects.HeaderProto header_; + private global::Unity.MLAgents.CommunicatorObjects.HeaderProto header_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.HeaderProto Header { + public global::Unity.MLAgents.CommunicatorObjects.HeaderProto Header { get { return header_; } set { header_ = value; @@ -94,9 +94,9 @@ public UnityMessageProto Clone() { /// Field number for the "unity_output" field. public const int UnityOutputFieldNumber = 2; - private global::MLAgents.CommunicatorObjects.UnityOutputProto unityOutput_; + private global::Unity.MLAgents.CommunicatorObjects.UnityOutputProto unityOutput_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.UnityOutputProto UnityOutput { + public global::Unity.MLAgents.CommunicatorObjects.UnityOutputProto UnityOutput { get { return unityOutput_; } set { unityOutput_ = value; @@ -105,9 +105,9 @@ public UnityMessageProto Clone() { /// Field number for the "unity_input" field. public const int UnityInputFieldNumber = 3; - private global::MLAgents.CommunicatorObjects.UnityInputProto unityInput_; + private global::Unity.MLAgents.CommunicatorObjects.UnityInputProto unityInput_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.UnityInputProto UnityInput { + public global::Unity.MLAgents.CommunicatorObjects.UnityInputProto UnityInput { get { return unityInput_; } set { unityInput_ = value; @@ -194,19 +194,19 @@ public void MergeFrom(UnityMessageProto other) { } if (other.header_ != null) { if (header_ == null) { - header_ = new global::MLAgents.CommunicatorObjects.HeaderProto(); + header_ = new global::Unity.MLAgents.CommunicatorObjects.HeaderProto(); } Header.MergeFrom(other.Header); } if (other.unityOutput_ != null) { if (unityOutput_ == null) { - unityOutput_ = new global::MLAgents.CommunicatorObjects.UnityOutputProto(); + unityOutput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityOutputProto(); } UnityOutput.MergeFrom(other.UnityOutput); } if (other.unityInput_ != null) { if (unityInput_ == null) { - unityInput_ = new global::MLAgents.CommunicatorObjects.UnityInputProto(); + unityInput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityInputProto(); } UnityInput.MergeFrom(other.UnityInput); } @@ -223,21 +223,21 @@ public void MergeFrom(pb::CodedInputStream input) { break; case 10: { if (header_ == null) { - header_ = new global::MLAgents.CommunicatorObjects.HeaderProto(); + header_ = new global::Unity.MLAgents.CommunicatorObjects.HeaderProto(); } input.ReadMessage(header_); break; } case 18: { if (unityOutput_ == null) { - unityOutput_ = new global::MLAgents.CommunicatorObjects.UnityOutputProto(); + unityOutput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityOutputProto(); } input.ReadMessage(unityOutput_); break; } case 26: { if (unityInput_ == null) { - unityInput_ = new global::MLAgents.CommunicatorObjects.UnityInputProto(); + unityInput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityInputProto(); } input.ReadMessage(unityInput_); break; diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityOutput.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityOutput.cs index c658dc17b0..efb255d251 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityOutput.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityOutput.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/unity_output.proto internal static partial class UnityOutputReflection { @@ -32,12 +32,12 @@ static UnityOutputReflection() { "cm90bxI7CglybF9vdXRwdXQYASABKAsyKC5jb21tdW5pY2F0b3Jfb2JqZWN0", "cy5Vbml0eVJMT3V0cHV0UHJvdG8SWAoYcmxfaW5pdGlhbGl6YXRpb25fb3V0", "cHV0GAIgASgLMjYuY29tbXVuaWNhdG9yX29iamVjdHMuVW5pdHlSTEluaXRp", - "YWxpemF0aW9uT3V0cHV0UHJvdG9CH6oCHE1MQWdlbnRzLkNvbW11bmljYXRv", - "ck9iamVjdHNiBnByb3RvMw==")); + "YWxpemF0aW9uT3V0cHV0UHJvdG9CJaoCIlVuaXR5Lk1MQWdlbnRzLkNvbW11", + "bmljYXRvck9iamVjdHNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.UnityRlOutputReflection.Descriptor, global::MLAgents.CommunicatorObjects.UnityRlInitializationOutputReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.UnityRlOutputReflection.Descriptor, global::Unity.MLAgents.CommunicatorObjects.UnityRlInitializationOutputReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityOutputProto), global::MLAgents.CommunicatorObjects.UnityOutputProto.Parser, new[]{ "RlOutput", "RlInitializationOutput" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityOutputProto), global::Unity.MLAgents.CommunicatorObjects.UnityOutputProto.Parser, new[]{ "RlOutput", "RlInitializationOutput" }, null, null, null) })); } #endregion @@ -52,7 +52,7 @@ internal sealed partial class UnityOutputProto : pb::IMessage [global::System.Diagnostics.DebuggerNonUserCodeAttribute] public static pbr::MessageDescriptor Descriptor { - get { return global::MLAgents.CommunicatorObjects.UnityOutputReflection.Descriptor.MessageTypes[0]; } + get { return global::Unity.MLAgents.CommunicatorObjects.UnityOutputReflection.Descriptor.MessageTypes[0]; } } [global::System.Diagnostics.DebuggerNonUserCodeAttribute] @@ -81,9 +81,9 @@ public UnityOutputProto Clone() { /// Field number for the "rl_output" field. public const int RlOutputFieldNumber = 1; - private global::MLAgents.CommunicatorObjects.UnityRLOutputProto rlOutput_; + private global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto rlOutput_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.UnityRLOutputProto RlOutput { + public global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto RlOutput { get { return rlOutput_; } set { rlOutput_ = value; @@ -92,9 +92,9 @@ public UnityOutputProto Clone() { /// Field number for the "rl_initialization_output" field. public const int RlInitializationOutputFieldNumber = 2; - private global::MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto rlInitializationOutput_; + private global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto rlInitializationOutput_; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto RlInitializationOutput { + public global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto RlInitializationOutput { get { return rlInitializationOutput_; } set { rlInitializationOutput_ = value; @@ -172,13 +172,13 @@ public void MergeFrom(UnityOutputProto other) { } if (other.rlOutput_ != null) { if (rlOutput_ == null) { - rlOutput_ = new global::MLAgents.CommunicatorObjects.UnityRLOutputProto(); + rlOutput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto(); } RlOutput.MergeFrom(other.RlOutput); } if (other.rlInitializationOutput_ != null) { if (rlInitializationOutput_ == null) { - rlInitializationOutput_ = new global::MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto(); + rlInitializationOutput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto(); } RlInitializationOutput.MergeFrom(other.RlInitializationOutput); } @@ -195,14 +195,14 @@ public void MergeFrom(pb::CodedInputStream input) { break; case 10: { if (rlOutput_ == null) { - rlOutput_ = new global::MLAgents.CommunicatorObjects.UnityRLOutputProto(); + rlOutput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto(); } input.ReadMessage(rlOutput_); break; } case 18: { if (rlInitializationOutput_ == null) { - rlInitializationOutput_ = new global::MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto(); + rlInitializationOutput_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto(); } input.ReadMessage(rlInitializationOutput_); break; diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationInput.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationInput.cs index 30d76d627a..f1d92e4a95 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationInput.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationInput.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/unity_rl_initialization_input.proto internal static partial class UnityRlInitializationInputReflection { @@ -31,12 +31,12 @@ static UnityRlInitializationInputReflection() { "UHJvdG8SDAoEc2VlZBgBIAEoBRIdChVjb21tdW5pY2F0aW9uX3ZlcnNpb24Y", "AiABKAkSFwoPcGFja2FnZV92ZXJzaW9uGAMgASgJEkQKDGNhcGFiaWxpdGll", "cxgEIAEoCzIuLmNvbW11bmljYXRvcl9vYmplY3RzLlVuaXR5UkxDYXBhYmls", - "aXRpZXNQcm90b0IfqgIcTUxBZ2VudHMuQ29tbXVuaWNhdG9yT2JqZWN0c2IG", - "cHJvdG8z")); + "aXRpZXNQcm90b0IlqgIiVW5pdHkuTUxBZ2VudHMuQ29tbXVuaWNhdG9yT2Jq", + "ZWN0c2IGcHJvdG8z")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.CapabilitiesReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.CapabilitiesReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityRLInitializationInputProto), global::MLAgents.CommunicatorObjects.UnityRLInitializationInputProto.Parser, new[]{ "Seed", "CommunicationVersion", "PackageVersion", "Capabilities" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationInputProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationInputProto.Parser, new[]{ "Seed", "CommunicationVersion", "PackageVersion", "Capabilities" }, null, null, null) })); } #endregion @@ -54,7 +54,7 @@ internal sealed partial class UnityRLInitializationInputProto : pb::IMessageField number for the "capabilities" field. public const int CapabilitiesFieldNumber = 4; - private global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto capabilities_; + private global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto capabilities_; /// /// The RL Capabilities of the Python trainer. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto Capabilities { + public global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto Capabilities { get { return capabilities_; } set { capabilities_ = value; @@ -234,7 +234,7 @@ public void MergeFrom(UnityRLInitializationInputProto other) { } if (other.capabilities_ != null) { if (capabilities_ == null) { - capabilities_ = new global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto(); + capabilities_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto(); } Capabilities.MergeFrom(other.Capabilities); } @@ -263,7 +263,7 @@ public void MergeFrom(pb::CodedInputStream input) { } case 34: { if (capabilities_ == null) { - capabilities_ = new global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto(); + capabilities_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto(); } input.ReadMessage(capabilities_); break; diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationOutput.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationOutput.cs index b519e28297..1e073a5965 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationOutput.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInitializationOutput.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/unity_rl_initialization_output.proto internal static partial class UnityRlInitializationOutputReflection { @@ -34,12 +34,12 @@ static UnityRlInitializationOutputReflection() { "YWluX3BhcmFtZXRlcnMYBSADKAsyKi5jb21tdW5pY2F0b3Jfb2JqZWN0cy5C", "cmFpblBhcmFtZXRlcnNQcm90bxIXCg9wYWNrYWdlX3ZlcnNpb24YByABKAkS", "RAoMY2FwYWJpbGl0aWVzGAggASgLMi4uY29tbXVuaWNhdG9yX29iamVjdHMu", - "VW5pdHlSTENhcGFiaWxpdGllc1Byb3RvSgQIBhAHQh+qAhxNTEFnZW50cy5D", - "b21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); + "VW5pdHlSTENhcGFiaWxpdGllc1Byb3RvSgQIBhAHQiWqAiJVbml0eS5NTEFn", + "ZW50cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.CapabilitiesReflection.Descriptor, global::MLAgents.CommunicatorObjects.BrainParametersReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.CapabilitiesReflection.Descriptor, global::Unity.MLAgents.CommunicatorObjects.BrainParametersReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto), global::MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto.Parser, new[]{ "Name", "CommunicationVersion", "LogPath", "BrainParameters", "PackageVersion", "Capabilities" }, null, null, null) + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLInitializationOutputProto.Parser, new[]{ "Name", "CommunicationVersion", "LogPath", "BrainParameters", "PackageVersion", "Capabilities" }, null, null, null) })); } #endregion @@ -57,7 +57,7 @@ internal sealed partial class UnityRLInitializationOutputProto : pb::IMessageField number for the "brain_parameters" field. public const int BrainParametersFieldNumber = 5; - private static readonly pb::FieldCodec _repeated_brainParameters_codec - = pb::FieldCodec.ForMessage(42, global::MLAgents.CommunicatorObjects.BrainParametersProto.Parser); - private readonly pbc::RepeatedField brainParameters_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_brainParameters_codec + = pb::FieldCodec.ForMessage(42, global::Unity.MLAgents.CommunicatorObjects.BrainParametersProto.Parser); + private readonly pbc::RepeatedField brainParameters_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField BrainParameters { + public pbc::RepeatedField BrainParameters { get { return brainParameters_; } } @@ -150,12 +150,12 @@ public string PackageVersion { /// Field number for the "capabilities" field. public const int CapabilitiesFieldNumber = 8; - private global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto capabilities_; + private global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto capabilities_; /// /// The RL Capabilities of the C# package. /// [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto Capabilities { + public global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto Capabilities { get { return capabilities_; } set { capabilities_ = value; @@ -277,7 +277,7 @@ public void MergeFrom(UnityRLInitializationOutputProto other) { } if (other.capabilities_ != null) { if (capabilities_ == null) { - capabilities_ = new global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto(); + capabilities_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto(); } Capabilities.MergeFrom(other.Capabilities); } @@ -314,7 +314,7 @@ public void MergeFrom(pb::CodedInputStream input) { } case 66: { if (capabilities_ == null) { - capabilities_ = new global::MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto(); + capabilities_ = new global::Unity.MLAgents.CommunicatorObjects.UnityRLCapabilitiesProto(); } input.ReadMessage(capabilities_); break; diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInput.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInput.cs index 241294c19e..e8553e8b8e 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInput.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlInput.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/unity_rl_input.proto internal static partial class UnityRlInputReflection { @@ -36,12 +36,12 @@ static UnityRlInputReflection() { "Y29tbXVuaWNhdG9yX29iamVjdHMuQWdlbnRBY3Rpb25Qcm90bxpxChFBZ2Vu", "dEFjdGlvbnNFbnRyeRILCgNrZXkYASABKAkSSwoFdmFsdWUYAiABKAsyPC5j", "b21tdW5pY2F0b3Jfb2JqZWN0cy5Vbml0eVJMSW5wdXRQcm90by5MaXN0QWdl", - "bnRBY3Rpb25Qcm90bzoCOAFKBAgCEANKBAgDEARCH6oCHE1MQWdlbnRzLkNv", - "bW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); + "bnRBY3Rpb25Qcm90bzoCOAFKBAgCEANKBAgDEARCJaoCIlVuaXR5Lk1MQWdl", + "bnRzLkNvbW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.AgentActionReflection.Descriptor, global::MLAgents.CommunicatorObjects.CommandReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.AgentActionReflection.Descriptor, global::Unity.MLAgents.CommunicatorObjects.CommandReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityRLInputProto), global::MLAgents.CommunicatorObjects.UnityRLInputProto.Parser, new[]{ "AgentActions", "Command", "SideChannel" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityRLInputProto.Types.ListAgentActionProto), global::MLAgents.CommunicatorObjects.UnityRLInputProto.Types.ListAgentActionProto.Parser, new[]{ "Value" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto.Parser, new[]{ "AgentActions", "Command", "SideChannel" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto.Types.ListAgentActionProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto.Types.ListAgentActionProto.Parser, new[]{ "Value" }, null, null, null), null, }) })); } @@ -57,7 +57,7 @@ internal sealed partial class UnityRLInputProto : pb::IMessageField number for the "agent_actions" field. public const int AgentActionsFieldNumber = 1; - private static readonly pbc::MapField.Codec _map_agentActions_codec - = new pbc::MapField.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::MLAgents.CommunicatorObjects.UnityRLInputProto.Types.ListAgentActionProto.Parser), 10); - private readonly pbc::MapField agentActions_ = new pbc::MapField(); + private static readonly pbc::MapField.Codec _map_agentActions_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::Unity.MLAgents.CommunicatorObjects.UnityRLInputProto.Types.ListAgentActionProto.Parser), 10); + private readonly pbc::MapField agentActions_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::MapField AgentActions { + public pbc::MapField AgentActions { get { return agentActions_; } } /// Field number for the "command" field. public const int CommandFieldNumber = 4; - private global::MLAgents.CommunicatorObjects.CommandProto command_ = 0; + private global::Unity.MLAgents.CommunicatorObjects.CommandProto command_ = 0; [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public global::MLAgents.CommunicatorObjects.CommandProto Command { + public global::Unity.MLAgents.CommunicatorObjects.CommandProto Command { get { return command_; } set { command_ = value; @@ -213,7 +213,7 @@ public void MergeFrom(pb::CodedInputStream input) { break; } case 32: { - command_ = (global::MLAgents.CommunicatorObjects.CommandProto) input.ReadEnum(); + command_ = (global::Unity.MLAgents.CommunicatorObjects.CommandProto) input.ReadEnum(); break; } case 42: { @@ -236,7 +236,7 @@ internal sealed partial class ListAgentActionProto : pb::IMessageField number for the "value" field. public const int ValueFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_value_codec - = pb::FieldCodec.ForMessage(10, global::MLAgents.CommunicatorObjects.AgentActionProto.Parser); - private readonly pbc::RepeatedField value_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_value_codec + = pb::FieldCodec.ForMessage(10, global::Unity.MLAgents.CommunicatorObjects.AgentActionProto.Parser); + private readonly pbc::RepeatedField value_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Value { + public pbc::RepeatedField Value { get { return value_; } } diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlOutput.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlOutput.cs index 65453e45b7..0971d50299 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlOutput.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityRlOutput.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/unity_rl_output.proto internal static partial class UnityRlOutputReflection { @@ -34,11 +34,12 @@ static UnityRlOutputReflection() { "cy5BZ2VudEluZm9Qcm90bxpuCg9BZ2VudEluZm9zRW50cnkSCwoDa2V5GAEg", "ASgJEkoKBXZhbHVlGAIgASgLMjsuY29tbXVuaWNhdG9yX29iamVjdHMuVW5p", "dHlSTE91dHB1dFByb3RvLkxpc3RBZ2VudEluZm9Qcm90bzoCOAFKBAgBEAJC", - "H6oCHE1MQWdlbnRzLkNvbW11bmljYXRvck9iamVjdHNiBnByb3RvMw==")); + "JaoCIlVuaXR5Lk1MQWdlbnRzLkNvbW11bmljYXRvck9iamVjdHNiBnByb3Rv", + "Mw==")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.AgentInfoReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.AgentInfoReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { - new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityRLOutputProto), global::MLAgents.CommunicatorObjects.UnityRLOutputProto.Parser, new[]{ "AgentInfos", "SideChannel" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::MLAgents.CommunicatorObjects.UnityRLOutputProto.Types.ListAgentInfoProto), global::MLAgents.CommunicatorObjects.UnityRLOutputProto.Types.ListAgentInfoProto.Parser, new[]{ "Value" }, null, null, null), + new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto.Parser, new[]{ "AgentInfos", "SideChannel" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto.Types.ListAgentInfoProto), global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto.Types.ListAgentInfoProto.Parser, new[]{ "Value" }, null, null, null), null, }) })); } @@ -54,7 +55,7 @@ internal sealed partial class UnityRLOutputProto : pb::IMessageField number for the "agentInfos" field. public const int AgentInfosFieldNumber = 2; - private static readonly pbc::MapField.Codec _map_agentInfos_codec - = new pbc::MapField.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::MLAgents.CommunicatorObjects.UnityRLOutputProto.Types.ListAgentInfoProto.Parser), 18); - private readonly pbc::MapField agentInfos_ = new pbc::MapField(); + private static readonly pbc::MapField.Codec _map_agentInfos_codec + = new pbc::MapField.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::Unity.MLAgents.CommunicatorObjects.UnityRLOutputProto.Types.ListAgentInfoProto.Parser), 18); + private readonly pbc::MapField agentInfos_ = new pbc::MapField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::MapField AgentInfos { + public pbc::MapField AgentInfos { get { return agentInfos_; } } @@ -205,7 +206,7 @@ internal sealed partial class ListAgentInfoProto : pb::IMessageField number for the "value" field. public const int ValueFieldNumber = 1; - private static readonly pb::FieldCodec _repeated_value_codec - = pb::FieldCodec.ForMessage(10, global::MLAgents.CommunicatorObjects.AgentInfoProto.Parser); - private readonly pbc::RepeatedField value_ = new pbc::RepeatedField(); + private static readonly pb::FieldCodec _repeated_value_codec + = pb::FieldCodec.ForMessage(10, global::Unity.MLAgents.CommunicatorObjects.AgentInfoProto.Parser); + private readonly pbc::RepeatedField value_ = new pbc::RepeatedField(); [global::System.Diagnostics.DebuggerNonUserCodeAttribute] - public pbc::RepeatedField Value { + public pbc::RepeatedField Value { get { return value_; } } diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityToExternal.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityToExternal.cs index 6f460b5494..ddb47dea96 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityToExternal.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityToExternal.cs @@ -9,7 +9,7 @@ using pbc = global::Google.Protobuf.Collections; using pbr = global::Google.Protobuf.Reflection; using scg = global::System.Collections.Generic; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { /// Holder for reflection information generated from mlagents_envs/communicator_objects/unity_to_external.proto public static partial class UnityToExternalReflection { @@ -29,10 +29,10 @@ static UnityToExternalReflection() { "dHNfZW52cy9jb21tdW5pY2F0b3Jfb2JqZWN0cy91bml0eV9tZXNzYWdlLnBy", "b3RvMnYKFFVuaXR5VG9FeHRlcm5hbFByb3RvEl4KCEV4Y2hhbmdlEicuY29t", "bXVuaWNhdG9yX29iamVjdHMuVW5pdHlNZXNzYWdlUHJvdG8aJy5jb21tdW5p", - "Y2F0b3Jfb2JqZWN0cy5Vbml0eU1lc3NhZ2VQcm90byIAQh+qAhxNTEFnZW50", - "cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); + "Y2F0b3Jfb2JqZWN0cy5Vbml0eU1lc3NhZ2VQcm90byIAQiWqAiJVbml0eS5N", + "TEFnZW50cy5Db21tdW5pY2F0b3JPYmplY3RzYgZwcm90bzM=")); descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, - new pbr::FileDescriptor[] { global::MLAgents.CommunicatorObjects.UnityMessageReflection.Descriptor, }, + new pbr::FileDescriptor[] { global::Unity.MLAgents.CommunicatorObjects.UnityMessageReflection.Descriptor, }, new pbr::GeneratedClrTypeInfo(null, null)); } #endregion diff --git a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityToExternalGrpc.cs b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityToExternalGrpc.cs index 26fcf1a799..4c9a9aaaee 100644 --- a/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityToExternalGrpc.cs +++ b/com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/UnityToExternalGrpc.cs @@ -8,14 +8,14 @@ using grpc = global::Grpc.Core; -namespace MLAgents.CommunicatorObjects { +namespace Unity.MLAgents.CommunicatorObjects { internal static partial class UnityToExternalProto { static readonly string __ServiceName = "communicator_objects.UnityToExternalProto"; - static readonly grpc::Marshaller __Marshaller_communicator_objects_UnityMessageProto = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::MLAgents.CommunicatorObjects.UnityMessageProto.Parser.ParseFrom); + static readonly grpc::Marshaller __Marshaller_communicator_objects_UnityMessageProto = grpc::Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto.Parser.ParseFrom); - static readonly grpc::Method __Method_Exchange = new grpc::Method( + static readonly grpc::Method __Method_Exchange = new grpc::Method( grpc::MethodType.Unary, __ServiceName, "Exchange", @@ -25,7 +25,7 @@ internal static partial class UnityToExternalProto /// Service descriptor public static global::Google.Protobuf.Reflection.ServiceDescriptor Descriptor { - get { return global::MLAgents.CommunicatorObjects.UnityToExternalReflection.Descriptor.Services[0]; } + get { return global::Unity.MLAgents.CommunicatorObjects.UnityToExternalReflection.Descriptor.Services[0]; } } /// Base class for server-side implementations of UnityToExternalProto @@ -37,7 +37,7 @@ public abstract partial class UnityToExternalProtoBase /// The request received from the client. /// The context of the server-side call handler being invoked. /// The response to send back to the client (wrapped by a task). - public virtual global::System.Threading.Tasks.Task Exchange(global::MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::ServerCallContext context) + public virtual global::System.Threading.Tasks.Task Exchange(global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::ServerCallContext context) { throw new grpc::RpcException(new grpc::Status(grpc::StatusCode.Unimplemented, "")); } @@ -75,7 +75,7 @@ protected UnityToExternalProtoClient(ClientBaseConfiguration configuration) : ba /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The response received from the server. - public virtual global::MLAgents.CommunicatorObjects.UnityMessageProto Exchange(global::MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public virtual global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto Exchange(global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return Exchange(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } @@ -85,7 +85,7 @@ protected UnityToExternalProtoClient(ClientBaseConfiguration configuration) : ba /// The request to send to the server. /// The options for the call. /// The response received from the server. - public virtual global::MLAgents.CommunicatorObjects.UnityMessageProto Exchange(global::MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::CallOptions options) + public virtual global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto Exchange(global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::CallOptions options) { return CallInvoker.BlockingUnaryCall(__Method_Exchange, null, options, request); } @@ -97,7 +97,7 @@ protected UnityToExternalProtoClient(ClientBaseConfiguration configuration) : ba /// An optional deadline for the call. The call will be cancelled if deadline is hit. /// An optional token for canceling the call. /// The call object. - public virtual grpc::AsyncUnaryCall ExchangeAsync(global::MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) + public virtual grpc::AsyncUnaryCall ExchangeAsync(global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::Metadata headers = null, global::System.DateTime? deadline = null, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)) { return ExchangeAsync(request, new grpc::CallOptions(headers, deadline, cancellationToken)); } @@ -107,7 +107,7 @@ protected UnityToExternalProtoClient(ClientBaseConfiguration configuration) : ba /// The request to send to the server. /// The options for the call. /// The call object. - public virtual grpc::AsyncUnaryCall ExchangeAsync(global::MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::CallOptions options) + public virtual grpc::AsyncUnaryCall ExchangeAsync(global::Unity.MLAgents.CommunicatorObjects.UnityMessageProto request, grpc::CallOptions options) { return CallInvoker.AsyncUnaryCall(__Method_Exchange, null, options, request); } diff --git a/com.unity.ml-agents/Runtime/Inference/ApplierImpl.cs b/com.unity.ml-agents/Runtime/Inference/ApplierImpl.cs index 32c46fe360..7d69bd35b6 100644 --- a/com.unity.ml-agents/Runtime/Inference/ApplierImpl.cs +++ b/com.unity.ml-agents/Runtime/Inference/ApplierImpl.cs @@ -2,10 +2,10 @@ using System.Collections.Generic; using System.Linq; using Barracuda; -using MLAgents.Inference.Utils; +using Unity.MLAgents.Inference.Utils; using UnityEngine; -namespace MLAgents.Inference +namespace Unity.MLAgents.Inference { /// /// The Applier for the Continuous Action output tensor. Tensor is assumed to contain the diff --git a/com.unity.ml-agents/Runtime/Inference/BarracudaModelParamLoader.cs b/com.unity.ml-agents/Runtime/Inference/BarracudaModelParamLoader.cs index b3993cd997..305b3df44d 100644 --- a/com.unity.ml-agents/Runtime/Inference/BarracudaModelParamLoader.cs +++ b/com.unity.ml-agents/Runtime/Inference/BarracudaModelParamLoader.cs @@ -2,10 +2,10 @@ using System.Collections.Generic; using System.Linq; using Barracuda; -using MLAgents.Sensors; -using MLAgents.Policies; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.Policies; -namespace MLAgents.Inference +namespace Unity.MLAgents.Inference { /// /// Prepares the Tensors for the Learning Brain and exposes a list of failed checks if Model diff --git a/com.unity.ml-agents/Runtime/Inference/GeneratorImpl.cs b/com.unity.ml-agents/Runtime/Inference/GeneratorImpl.cs index 52e15a1a58..b2f8ded90c 100644 --- a/com.unity.ml-agents/Runtime/Inference/GeneratorImpl.cs +++ b/com.unity.ml-agents/Runtime/Inference/GeneratorImpl.cs @@ -1,11 +1,11 @@ using System.Collections.Generic; using System; using Barracuda; -using MLAgents.Inference.Utils; +using Unity.MLAgents.Inference.Utils; using UnityEngine; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Inference +namespace Unity.MLAgents.Inference { /// /// Reshapes a Tensor so that its first dimension becomes equal to the current batch size diff --git a/com.unity.ml-agents/Runtime/Inference/ModelRunner.cs b/com.unity.ml-agents/Runtime/Inference/ModelRunner.cs index b72824706c..a6084f086e 100644 --- a/com.unity.ml-agents/Runtime/Inference/ModelRunner.cs +++ b/com.unity.ml-agents/Runtime/Inference/ModelRunner.cs @@ -1,10 +1,10 @@ using System.Collections.Generic; using Barracuda; using UnityEngine.Profiling; -using MLAgents.Sensors; -using MLAgents.Policies; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.Policies; -namespace MLAgents.Inference +namespace Unity.MLAgents.Inference { internal struct AgentInfoSensorsPair { diff --git a/com.unity.ml-agents/Runtime/Inference/TensorApplier.cs b/com.unity.ml-agents/Runtime/Inference/TensorApplier.cs index b80e8b09a3..fcab4e4c4a 100644 --- a/com.unity.ml-agents/Runtime/Inference/TensorApplier.cs +++ b/com.unity.ml-agents/Runtime/Inference/TensorApplier.cs @@ -1,8 +1,8 @@ using System.Collections.Generic; using Barracuda; -using MLAgents.Policies; +using Unity.MLAgents.Policies; -namespace MLAgents.Inference +namespace Unity.MLAgents.Inference { /// /// Mapping between the output tensor names and the method that will use the diff --git a/com.unity.ml-agents/Runtime/Inference/TensorGenerator.cs b/com.unity.ml-agents/Runtime/Inference/TensorGenerator.cs index 73a6bcbf8d..62353250ff 100644 --- a/com.unity.ml-agents/Runtime/Inference/TensorGenerator.cs +++ b/com.unity.ml-agents/Runtime/Inference/TensorGenerator.cs @@ -1,8 +1,8 @@ using System.Collections.Generic; using Barracuda; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Inference +namespace Unity.MLAgents.Inference { /// /// Mapping between Tensor names and generators. diff --git a/com.unity.ml-agents/Runtime/Inference/TensorNames.cs b/com.unity.ml-agents/Runtime/Inference/TensorNames.cs index dd2f878ea3..e4c8ea56fd 100644 --- a/com.unity.ml-agents/Runtime/Inference/TensorNames.cs +++ b/com.unity.ml-agents/Runtime/Inference/TensorNames.cs @@ -1,4 +1,4 @@ -namespace MLAgents.Inference +namespace Unity.MLAgents.Inference { /// /// Contains the names of the input and output tensors for the Inference Brain. diff --git a/com.unity.ml-agents/Runtime/Inference/TensorProxy.cs b/com.unity.ml-agents/Runtime/Inference/TensorProxy.cs index 4c02521cb4..ba59b8edf1 100644 --- a/com.unity.ml-agents/Runtime/Inference/TensorProxy.cs +++ b/com.unity.ml-agents/Runtime/Inference/TensorProxy.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using Barracuda; -using MLAgents.Inference.Utils; +using Unity.MLAgents.Inference.Utils; -namespace MLAgents.Inference +namespace Unity.MLAgents.Inference { /// /// Tensor - A class to encapsulate a Tensor used for inference. diff --git a/com.unity.ml-agents/Runtime/Inference/Utils/Multinomial.cs b/com.unity.ml-agents/Runtime/Inference/Utils/Multinomial.cs index f81a5948cf..a2c06bcdce 100644 --- a/com.unity.ml-agents/Runtime/Inference/Utils/Multinomial.cs +++ b/com.unity.ml-agents/Runtime/Inference/Utils/Multinomial.cs @@ -1,4 +1,4 @@ -namespace MLAgents.Inference.Utils +namespace Unity.MLAgents.Inference.Utils { /// /// Multinomial - Draws samples from a multinomial distribution given a (potentially unscaled) diff --git a/com.unity.ml-agents/Runtime/Inference/Utils/RandomNormal.cs b/com.unity.ml-agents/Runtime/Inference/Utils/RandomNormal.cs index e3c2f05680..4b0e1e7e2f 100644 --- a/com.unity.ml-agents/Runtime/Inference/Utils/RandomNormal.cs +++ b/com.unity.ml-agents/Runtime/Inference/Utils/RandomNormal.cs @@ -1,6 +1,6 @@ using System; -namespace MLAgents.Inference.Utils +namespace Unity.MLAgents.Inference.Utils { /// /// RandomNormal - A random number generator that produces normally distributed random diff --git a/com.unity.ml-agents/Runtime/Policies/BarracudaPolicy.cs b/com.unity.ml-agents/Runtime/Policies/BarracudaPolicy.cs index 8af13d0e13..e13f691fec 100644 --- a/com.unity.ml-agents/Runtime/Policies/BarracudaPolicy.cs +++ b/com.unity.ml-agents/Runtime/Policies/BarracudaPolicy.cs @@ -1,9 +1,9 @@ using Barracuda; using System.Collections.Generic; -using MLAgents.Inference; -using MLAgents.Sensors; +using Unity.MLAgents.Inference; +using Unity.MLAgents.Sensors; -namespace MLAgents.Policies +namespace Unity.MLAgents.Policies { /// /// Where to perform inference. diff --git a/com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs b/com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs index 60859ab9dd..224a79eabb 100644 --- a/com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs +++ b/com.unity.ml-agents/Runtime/Policies/BehaviorParameters.cs @@ -3,7 +3,7 @@ using UnityEngine; using UnityEngine.Serialization; -namespace MLAgents.Policies +namespace Unity.MLAgents.Policies { /// /// Defines what type of behavior the Agent will be using diff --git a/com.unity.ml-agents/Runtime/Policies/BrainParameters.cs b/com.unity.ml-agents/Runtime/Policies/BrainParameters.cs index 11a7802dc3..e427ead794 100644 --- a/com.unity.ml-agents/Runtime/Policies/BrainParameters.cs +++ b/com.unity.ml-agents/Runtime/Policies/BrainParameters.cs @@ -2,7 +2,7 @@ using UnityEngine; using UnityEngine.Serialization; -namespace MLAgents.Policies +namespace Unity.MLAgents.Policies { /// /// Whether the action space is discrete or continuous. diff --git a/com.unity.ml-agents/Runtime/Policies/HeuristicPolicy.cs b/com.unity.ml-agents/Runtime/Policies/HeuristicPolicy.cs index 3db93ba81f..209de3ff31 100644 --- a/com.unity.ml-agents/Runtime/Policies/HeuristicPolicy.cs +++ b/com.unity.ml-agents/Runtime/Policies/HeuristicPolicy.cs @@ -1,9 +1,9 @@ using System.Collections.Generic; using System; using System.Collections; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Policies +namespace Unity.MLAgents.Policies { /// /// The Heuristic Policy uses a hards coded Heuristic method diff --git a/com.unity.ml-agents/Runtime/Policies/IPolicy.cs b/com.unity.ml-agents/Runtime/Policies/IPolicy.cs index a7b913a1f9..7203853589 100644 --- a/com.unity.ml-agents/Runtime/Policies/IPolicy.cs +++ b/com.unity.ml-agents/Runtime/Policies/IPolicy.cs @@ -1,8 +1,8 @@ using System; using System.Collections.Generic; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Policies +namespace Unity.MLAgents.Policies { /// /// IPolicy is connected to a single Agent. Each time the agent needs diff --git a/com.unity.ml-agents/Runtime/Policies/RemotePolicy.cs b/com.unity.ml-agents/Runtime/Policies/RemotePolicy.cs index a75e6e9ae7..2f88d37f53 100644 --- a/com.unity.ml-agents/Runtime/Policies/RemotePolicy.cs +++ b/com.unity.ml-agents/Runtime/Policies/RemotePolicy.cs @@ -1,9 +1,9 @@ using UnityEngine; using System.Collections.Generic; using System; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Policies +namespace Unity.MLAgents.Policies { /// /// The Remote Policy only works when training. diff --git a/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs b/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs index 10feff6341..a4beef5f29 100644 --- a/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs +++ b/com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// A sensor that wraps a Camera object to generate visual observations for an agent. diff --git a/com.unity.ml-agents/Runtime/Sensors/CameraSensorComponent.cs b/com.unity.ml-agents/Runtime/Sensors/CameraSensorComponent.cs index 29d0a8fdac..d6fb86f329 100644 --- a/com.unity.ml-agents/Runtime/Sensors/CameraSensorComponent.cs +++ b/com.unity.ml-agents/Runtime/Sensors/CameraSensorComponent.cs @@ -1,7 +1,7 @@ using UnityEngine; using UnityEngine.Serialization; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// A SensorComponent that creates a . diff --git a/com.unity.ml-agents/Runtime/Sensors/ISensor.cs b/com.unity.ml-agents/Runtime/Sensors/ISensor.cs index 59399f1301..7d06f2cf01 100644 --- a/com.unity.ml-agents/Runtime/Sensors/ISensor.cs +++ b/com.unity.ml-agents/Runtime/Sensors/ISensor.cs @@ -1,4 +1,4 @@ -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// The compression setting for visual/camera observations. diff --git a/com.unity.ml-agents/Runtime/Sensors/Observation.cs b/com.unity.ml-agents/Runtime/Sensors/Observation.cs index f2c2e7a476..2c503377ba 100644 --- a/com.unity.ml-agents/Runtime/Sensors/Observation.cs +++ b/com.unity.ml-agents/Runtime/Sensors/Observation.cs @@ -1,6 +1,6 @@ using System; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { internal struct Observation { diff --git a/com.unity.ml-agents/Runtime/Sensors/ObservationWriter.cs b/com.unity.ml-agents/Runtime/Sensors/ObservationWriter.cs index 53894422ca..4afb107e9e 100644 --- a/com.unity.ml-agents/Runtime/Sensors/ObservationWriter.cs +++ b/com.unity.ml-agents/Runtime/Sensors/ObservationWriter.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; using Barracuda; -using MLAgents.Inference; +using Unity.MLAgents.Inference; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// Allows sensors to write to both TensorProxy and float arrays/lists. diff --git a/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs b/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs index df671ef4cf..036e090c29 100644 --- a/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs +++ b/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensor.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using UnityEngine; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// Determines which dimensions the sensor will perform the casts in. diff --git a/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent2D.cs b/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent2D.cs index 08c8e80f2e..cb055d4558 100644 --- a/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent2D.cs +++ b/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent2D.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// A component for 2D Ray Perception. diff --git a/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent3D.cs b/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent3D.cs index ebfa4cf7b4..34bde48140 100644 --- a/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent3D.cs +++ b/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponent3D.cs @@ -1,7 +1,7 @@ using UnityEngine; using UnityEngine.Serialization; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// A component for 3D Ray Perception. diff --git a/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponentBase.cs b/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponentBase.cs index 3fcc3b14e3..5909eb84d0 100644 --- a/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponentBase.cs +++ b/com.unity.ml-agents/Runtime/Sensors/RayPerceptionSensorComponentBase.cs @@ -3,7 +3,7 @@ using UnityEngine; using UnityEngine.Serialization; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// A base class to support sensor components for raycast-based sensors. diff --git a/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensor.cs b/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensor.cs index 209d69f350..63a8277c76 100644 --- a/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensor.cs +++ b/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensor.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// Sensor class that wraps a instance. diff --git a/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensorComponent.cs b/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensorComponent.cs index 80d90d2e01..22b0be3751 100644 --- a/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensorComponent.cs +++ b/com.unity.ml-agents/Runtime/Sensors/RenderTextureSensorComponent.cs @@ -1,7 +1,7 @@ using UnityEngine; using UnityEngine.Serialization; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// Component that wraps a . diff --git a/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs b/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs index 2e1883efd3..3ffa95a8bf 100644 --- a/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs +++ b/com.unity.ml-agents/Runtime/Sensors/SensorComponent.cs @@ -1,6 +1,6 @@ using UnityEngine; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// Editor components for creating Sensors. Generally an ISensor implementation should have a diff --git a/com.unity.ml-agents/Runtime/Sensors/SensorShapeValidator.cs b/com.unity.ml-agents/Runtime/Sensors/SensorShapeValidator.cs index 68250f0e9c..e7959ecd02 100644 --- a/com.unity.ml-agents/Runtime/Sensors/SensorShapeValidator.cs +++ b/com.unity.ml-agents/Runtime/Sensors/SensorShapeValidator.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using UnityEngine; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { internal class SensorShapeValidator { diff --git a/com.unity.ml-agents/Runtime/Sensors/StackingSensor.cs b/com.unity.ml-agents/Runtime/Sensors/StackingSensor.cs index 15027d4a64..962ffe1a9e 100644 --- a/com.unity.ml-agents/Runtime/Sensors/StackingSensor.cs +++ b/com.unity.ml-agents/Runtime/Sensors/StackingSensor.cs @@ -1,6 +1,6 @@ using System; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// Sensor that wraps around another Sensor to provide temporal stacking. diff --git a/com.unity.ml-agents/Runtime/Sensors/VectorSensor.cs b/com.unity.ml-agents/Runtime/Sensors/VectorSensor.cs index 48d0a8939d..6c60c5c81c 100644 --- a/com.unity.ml-agents/Runtime/Sensors/VectorSensor.cs +++ b/com.unity.ml-agents/Runtime/Sensors/VectorSensor.cs @@ -2,7 +2,7 @@ using System.Collections.ObjectModel; using UnityEngine; -namespace MLAgents.Sensors +namespace Unity.MLAgents.Sensors { /// /// A sensor implementation for vector observations. diff --git a/com.unity.ml-agents/Runtime/SideChannels/EngineConfigurationChannel.cs b/com.unity.ml-agents/Runtime/SideChannels/EngineConfigurationChannel.cs index 530656e711..2ecf40d51a 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/EngineConfigurationChannel.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/EngineConfigurationChannel.cs @@ -1,7 +1,7 @@ using System; using UnityEngine; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// diff --git a/com.unity.ml-agents/Runtime/SideChannels/EnvironmentParametersChannel.cs b/com.unity.ml-agents/Runtime/SideChannels/EnvironmentParametersChannel.cs index 55242b329c..5c9fd509b6 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/EnvironmentParametersChannel.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/EnvironmentParametersChannel.cs @@ -2,7 +2,7 @@ using System; using UnityEngine; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// /// Lists the different data types supported. diff --git a/com.unity.ml-agents/Runtime/SideChannels/FloatPropertiesChannel.cs b/com.unity.ml-agents/Runtime/SideChannels/FloatPropertiesChannel.cs index 2bcaf3c919..f112b1c196 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/FloatPropertiesChannel.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/FloatPropertiesChannel.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// /// Side channel that is comprised of a collection of float variables. diff --git a/com.unity.ml-agents/Runtime/SideChannels/IncomingMessage.cs b/com.unity.ml-agents/Runtime/SideChannels/IncomingMessage.cs index 01d5282424..90425955de 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/IncomingMessage.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/IncomingMessage.cs @@ -4,7 +4,7 @@ using System.IO; using System.Text; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// /// Utility class for reading the data sent to the SideChannel. diff --git a/com.unity.ml-agents/Runtime/SideChannels/OutgoingMessage.cs b/com.unity.ml-agents/Runtime/SideChannels/OutgoingMessage.cs index 40423dba3a..70a7948e22 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/OutgoingMessage.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/OutgoingMessage.cs @@ -3,7 +3,7 @@ using System.IO; using System.Text; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// /// Utility class for forming the data that is sent to the SideChannel. diff --git a/com.unity.ml-agents/Runtime/SideChannels/RawBytesChannel.cs b/com.unity.ml-agents/Runtime/SideChannels/RawBytesChannel.cs index 4720c4c7d6..133832447b 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/RawBytesChannel.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/RawBytesChannel.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// /// Side channel for managing raw bytes of data. It is up to the clients of this side channel diff --git a/com.unity.ml-agents/Runtime/SideChannels/SideChannel.cs b/com.unity.ml-agents/Runtime/SideChannels/SideChannel.cs index 8edaeb4655..e9b6160edb 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/SideChannel.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/SideChannel.cs @@ -1,7 +1,7 @@ using System.Collections.Generic; using System; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// /// Side channels provide an alternative mechanism of sending/receiving data from Unity diff --git a/com.unity.ml-agents/Runtime/SideChannels/SideChannelsManager.cs b/com.unity.ml-agents/Runtime/SideChannels/SideChannelsManager.cs index 09edd63ec9..98006d0eae 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/SideChannelsManager.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/SideChannelsManager.cs @@ -3,7 +3,7 @@ using UnityEngine; using System.IO; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// /// Collection of static utilities for managing the registering/unregistering of diff --git a/com.unity.ml-agents/Runtime/SideChannels/StatsSideChannel.cs b/com.unity.ml-agents/Runtime/SideChannels/StatsSideChannel.cs index 5ab776d2bb..dbe1b5aeec 100644 --- a/com.unity.ml-agents/Runtime/SideChannels/StatsSideChannel.cs +++ b/com.unity.ml-agents/Runtime/SideChannels/StatsSideChannel.cs @@ -1,5 +1,5 @@ using System; -namespace MLAgents.SideChannels +namespace Unity.MLAgents.SideChannels { /// /// A Side Channel for sending data. diff --git a/com.unity.ml-agents/Runtime/StatsRecorder.cs b/com.unity.ml-agents/Runtime/StatsRecorder.cs index a4c6af352e..5f9241e666 100644 --- a/com.unity.ml-agents/Runtime/StatsRecorder.cs +++ b/com.unity.ml-agents/Runtime/StatsRecorder.cs @@ -1,6 +1,6 @@ -using MLAgents.SideChannels; +using Unity.MLAgents.SideChannels; -namespace MLAgents +namespace Unity.MLAgents { /// /// Determines the behavior of how multiple stats within the same summary period are combined. diff --git a/com.unity.ml-agents/Runtime/Timer.cs b/com.unity.ml-agents/Runtime/Timer.cs index 3d7dbc7239..dac7d9f2f5 100644 --- a/com.unity.ml-agents/Runtime/Timer.cs +++ b/com.unity.ml-agents/Runtime/Timer.cs @@ -8,7 +8,7 @@ using System.Runtime.Serialization.Json; using UnityEngine.SceneManagement; -namespace MLAgents +namespace Unity.MLAgents { [DataContract] internal class TimerNode diff --git a/com.unity.ml-agents/Runtime/UnityAgentsException.cs b/com.unity.ml-agents/Runtime/UnityAgentsException.cs index c976506b58..0abc1ace88 100644 --- a/com.unity.ml-agents/Runtime/UnityAgentsException.cs +++ b/com.unity.ml-agents/Runtime/UnityAgentsException.cs @@ -1,6 +1,6 @@ using System; -namespace MLAgents +namespace Unity.MLAgents { /// /// Contains exceptions specific to ML-Agents. diff --git a/com.unity.ml-agents/Runtime/Utilities.cs b/com.unity.ml-agents/Runtime/Utilities.cs index c8f301ea36..228153450a 100644 --- a/com.unity.ml-agents/Runtime/Utilities.cs +++ b/com.unity.ml-agents/Runtime/Utilities.cs @@ -1,8 +1,8 @@ using System; using UnityEngine; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents +namespace Unity.MLAgents { internal static class Utilities { diff --git a/com.unity.ml-agents/Tests/Editor/AcademyTests.cs b/com.unity.ml-agents/Tests/Editor/AcademyTests.cs index 25a85c0748..35b34f0251 100644 --- a/com.unity.ml-agents/Tests/Editor/AcademyTests.cs +++ b/com.unity.ml-agents/Tests/Editor/AcademyTests.cs @@ -1,9 +1,9 @@ using NUnit.Framework; using UnityEngine; using System.Reflection; -using MLAgents; +using Unity.MLAgents; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] public class AcademyTests diff --git a/com.unity.ml-agents/Tests/Editor/BehaviorParameterTests.cs b/com.unity.ml-agents/Tests/Editor/BehaviorParameterTests.cs index b2f3c4d155..0125afee75 100644 --- a/com.unity.ml-agents/Tests/Editor/BehaviorParameterTests.cs +++ b/com.unity.ml-agents/Tests/Editor/BehaviorParameterTests.cs @@ -1,9 +1,9 @@ using NUnit.Framework; using UnityEngine; -using MLAgents; -using MLAgents.Policies; +using Unity.MLAgents; +using Unity.MLAgents.Policies; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] public class BehaviorParameterTests diff --git a/com.unity.ml-agents/Tests/Editor/Communicator/RpcCommunicatorTests.cs b/com.unity.ml-agents/Tests/Editor/Communicator/RpcCommunicatorTests.cs index 8b733d842a..13e2c5663d 100644 --- a/com.unity.ml-agents/Tests/Editor/Communicator/RpcCommunicatorTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Communicator/RpcCommunicatorTests.cs @@ -5,7 +5,7 @@ using UnityEngine; using UnityEngine.TestTools; -namespace MLAgents.Tests.Communicator +namespace Unity.MLAgents.Tests.Communicator { [TestFixture] public class RpcCommunicatorTests diff --git a/com.unity.ml-agents/Tests/Editor/Communicator/UnityRLCapabilitiesTests.cs b/com.unity.ml-agents/Tests/Editor/Communicator/UnityRLCapabilitiesTests.cs index 73e0ed2e05..fd3ef3acee 100644 --- a/com.unity.ml-agents/Tests/Editor/Communicator/UnityRLCapabilitiesTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Communicator/UnityRLCapabilitiesTests.cs @@ -3,7 +3,7 @@ using UnityEngine; using UnityEngine.TestTools; -namespace MLAgents.Tests.Communicator +namespace Unity.MLAgents.Tests.Communicator { [TestFixture] public class UnityRLCapabilitiesTests diff --git a/com.unity.ml-agents/Tests/Editor/DemonstrationTests.cs b/com.unity.ml-agents/Tests/Editor/DemonstrationTests.cs index 172d0b4cc5..d392421d8b 100644 --- a/com.unity.ml-agents/Tests/Editor/DemonstrationTests.cs +++ b/com.unity.ml-agents/Tests/Editor/DemonstrationTests.cs @@ -2,12 +2,12 @@ using UnityEngine; using System.IO.Abstractions.TestingHelpers; using System.Reflection; -using MLAgents.CommunicatorObjects; -using MLAgents.Sensors; -using MLAgents.Demonstrations; -using MLAgents.Policies; +using Unity.MLAgents.CommunicatorObjects; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.Demonstrations; +using Unity.MLAgents.Policies; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] public class DemonstrationTests diff --git a/com.unity.ml-agents/Tests/Editor/DiscreteActionOutputApplierTest.cs b/com.unity.ml-agents/Tests/Editor/DiscreteActionOutputApplierTest.cs index f132a7ab0b..282f6ab94b 100644 --- a/com.unity.ml-agents/Tests/Editor/DiscreteActionOutputApplierTest.cs +++ b/com.unity.ml-agents/Tests/Editor/DiscreteActionOutputApplierTest.cs @@ -2,10 +2,10 @@ using Barracuda; using NUnit.Framework; using UnityEngine; -using MLAgents.Inference; -using MLAgents.Inference.Utils; +using Unity.MLAgents.Inference; +using Unity.MLAgents.Inference.Utils; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class DiscreteActionOutputApplierTest { diff --git a/com.unity.ml-agents/Tests/Editor/EditModeTestActionMasker.cs b/com.unity.ml-agents/Tests/Editor/EditModeTestActionMasker.cs index 63465b1076..0f5c24edbd 100644 --- a/com.unity.ml-agents/Tests/Editor/EditModeTestActionMasker.cs +++ b/com.unity.ml-agents/Tests/Editor/EditModeTestActionMasker.cs @@ -1,7 +1,7 @@ using NUnit.Framework; -using MLAgents.Policies; +using Unity.MLAgents.Policies; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class EditModeTestActionMasker { diff --git a/com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorApplier.cs b/com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorApplier.cs index 23430d0fb0..6536013d82 100644 --- a/com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorApplier.cs +++ b/com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorApplier.cs @@ -1,10 +1,10 @@ using System.Collections.Generic; using NUnit.Framework; using Barracuda; -using MLAgents.Inference; -using MLAgents.Policies; +using Unity.MLAgents.Inference; +using Unity.MLAgents.Policies; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class EditModeTestInternalBrainTensorApplier { diff --git a/com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorGenerator.cs b/com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorGenerator.cs index 2eba831582..17d12d0396 100644 --- a/com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorGenerator.cs +++ b/com.unity.ml-agents/Tests/Editor/EditModeTestInternalBrainTensorGenerator.cs @@ -2,10 +2,10 @@ using Barracuda; using NUnit.Framework; using UnityEngine; -using MLAgents.Inference; -using MLAgents.Policies; +using Unity.MLAgents.Inference; +using Unity.MLAgents.Policies; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] public class EditModeTestInternalBrainTensorGenerator diff --git a/com.unity.ml-agents/Tests/Editor/MLAgentsEditModeTest.cs b/com.unity.ml-agents/Tests/Editor/MLAgentsEditModeTest.cs index ab4147ef83..c799c6776c 100644 --- a/com.unity.ml-agents/Tests/Editor/MLAgentsEditModeTest.cs +++ b/com.unity.ml-agents/Tests/Editor/MLAgentsEditModeTest.cs @@ -4,11 +4,11 @@ using NUnit.Framework; using System.Reflection; using System.Collections.Generic; -using MLAgents.Sensors; -using MLAgents.Policies; -using MLAgents.SideChannels; +using Unity.MLAgents.Sensors; +using Unity.MLAgents.Policies; +using Unity.MLAgents.SideChannels; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { internal class TestPolicy : IPolicy { diff --git a/com.unity.ml-agents/Tests/Editor/ModelRunnerTest.cs b/com.unity.ml-agents/Tests/Editor/ModelRunnerTest.cs index 7a9864b33f..aca37d6085 100644 --- a/com.unity.ml-agents/Tests/Editor/ModelRunnerTest.cs +++ b/com.unity.ml-agents/Tests/Editor/ModelRunnerTest.cs @@ -2,12 +2,12 @@ using UnityEngine; using UnityEditor; using Barracuda; -using MLAgents.Inference; -using MLAgents.Sensors; +using Unity.MLAgents.Inference; +using Unity.MLAgents.Sensors; using System.Linq; -using MLAgents.Policies; +using Unity.MLAgents.Policies; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] public class ModelRunnerTest diff --git a/com.unity.ml-agents/Tests/Editor/MultinomialTest.cs b/com.unity.ml-agents/Tests/Editor/MultinomialTest.cs index 4c903dd834..a91b4d9d2b 100644 --- a/com.unity.ml-agents/Tests/Editor/MultinomialTest.cs +++ b/com.unity.ml-agents/Tests/Editor/MultinomialTest.cs @@ -1,7 +1,7 @@ using NUnit.Framework; -using MLAgents.Inference.Utils; +using Unity.MLAgents.Inference.Utils; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class MultinomialTest { diff --git a/com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs b/com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs index cf4d81bd8d..50f74df92f 100644 --- a/com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs +++ b/com.unity.ml-agents/Tests/Editor/ParameterLoaderTest.cs @@ -2,12 +2,12 @@ using UnityEngine; using UnityEditor; using Barracuda; -using MLAgents.Inference; -using MLAgents.Sensors; +using Unity.MLAgents.Inference; +using Unity.MLAgents.Sensors; using System.Linq; -using MLAgents.Policies; +using Unity.MLAgents.Policies; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class Test3DSensorComponent : SensorComponent { diff --git a/com.unity.ml-agents/Tests/Editor/PublicAPI/PublicApiValidation.cs b/com.unity.ml-agents/Tests/Editor/PublicAPI/PublicApiValidation.cs index d0e6db6450..ff0f83c363 100644 --- a/com.unity.ml-agents/Tests/Editor/PublicAPI/PublicApiValidation.cs +++ b/com.unity.ml-agents/Tests/Editor/PublicAPI/PublicApiValidation.cs @@ -1,12 +1,12 @@ using System.Collections.Generic; -using MLAgents; -using MLAgents.Policies; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgents.Policies; +using Unity.MLAgents.Sensors; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; -namespace MLAgentsExamples +namespace Unity.MLAgentsExamples { /// /// The purpose of these tests is to make sure that we can do basic operations like creating diff --git a/com.unity.ml-agents/Tests/Editor/RandomNormalTest.cs b/com.unity.ml-agents/Tests/Editor/RandomNormalTest.cs index 964fca0577..520e3e656f 100644 --- a/com.unity.ml-agents/Tests/Editor/RandomNormalTest.cs +++ b/com.unity.ml-agents/Tests/Editor/RandomNormalTest.cs @@ -1,8 +1,8 @@ using System; using NUnit.Framework; -using MLAgents.Inference.Utils; +using Unity.MLAgents.Inference.Utils; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class RandomNormalTest { diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/CameraSensorComponentTest.cs b/com.unity.ml-agents/Tests/Editor/Sensor/CameraSensorComponentTest.cs index 4d079e0ac3..e65ad4b0b6 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/CameraSensorComponentTest.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/CameraSensorComponentTest.cs @@ -1,9 +1,9 @@ using System; using NUnit.Framework; using UnityEngine; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/CameraSensorTest.cs b/com.unity.ml-agents/Tests/Editor/Sensor/CameraSensorTest.cs index c4226f3fd7..ff4ab3bdc2 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/CameraSensorTest.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/CameraSensorTest.cs @@ -1,9 +1,9 @@ using System; using NUnit.Framework; using UnityEngine; - using MLAgents.Sensors; + using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/FloatVisualSensorTests.cs b/com.unity.ml-agents/Tests/Editor/Sensor/FloatVisualSensorTests.cs index f636720a30..04eb6b6c03 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/FloatVisualSensorTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/FloatVisualSensorTests.cs @@ -1,7 +1,7 @@ using NUnit.Framework; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class Float2DSensor : ISensor { diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/ObservationWriterTests.cs b/com.unity.ml-agents/Tests/Editor/Sensor/ObservationWriterTests.cs index e0eb048d53..ac5c0f83ce 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/ObservationWriterTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/ObservationWriterTests.cs @@ -1,10 +1,10 @@ using NUnit.Framework; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; using Barracuda; -using MLAgents.Inference; +using Unity.MLAgents.Inference; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class ObservationWriterTests { diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/RayPerceptionSensorTests.cs b/com.unity.ml-agents/Tests/Editor/Sensor/RayPerceptionSensorTests.cs index 64005d7478..51e86d09ed 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/RayPerceptionSensorTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/RayPerceptionSensorTests.cs @@ -2,9 +2,9 @@ using System.Collections.Generic; using NUnit.Framework; using UnityEngine; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class RayPerceptionSensorTests { diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/RenderTextureSensorComponentTests.cs b/com.unity.ml-agents/Tests/Editor/Sensor/RenderTextureSensorComponentTests.cs index e12253142f..30f89f9d4d 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/RenderTextureSensorComponentTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/RenderTextureSensorComponentTests.cs @@ -1,9 +1,9 @@ using System; using NUnit.Framework; using UnityEngine; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] public class RenderTextureSensorComponentTest diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/RenderTextureSensorTests.cs b/com.unity.ml-agents/Tests/Editor/Sensor/RenderTextureSensorTests.cs index 5e5b0f36b3..0444037985 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/RenderTextureSensorTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/RenderTextureSensorTests.cs @@ -1,9 +1,9 @@ using System; using NUnit.Framework; using UnityEngine; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { [TestFixture] public class RenderTextureSensorTests diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/SensorShapeValidatorTests.cs b/com.unity.ml-agents/Tests/Editor/Sensor/SensorShapeValidatorTests.cs index 1ed429d303..3aa88fbf6d 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/SensorShapeValidatorTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/SensorShapeValidatorTests.cs @@ -2,9 +2,9 @@ using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class DummySensor : ISensor { diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/StackingSensorTests.cs b/com.unity.ml-agents/Tests/Editor/Sensor/StackingSensorTests.cs index e5cc2d659c..97192bea0c 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/StackingSensorTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/StackingSensorTests.cs @@ -1,7 +1,7 @@ using NUnit.Framework; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class StackingSensorTests { diff --git a/com.unity.ml-agents/Tests/Editor/Sensor/VectorSensorTests.cs b/com.unity.ml-agents/Tests/Editor/Sensor/VectorSensorTests.cs index 6afbd2428e..7cf3d7bcb9 100644 --- a/com.unity.ml-agents/Tests/Editor/Sensor/VectorSensorTests.cs +++ b/com.unity.ml-agents/Tests/Editor/Sensor/VectorSensorTests.cs @@ -1,8 +1,8 @@ using NUnit.Framework; using UnityEngine; -using MLAgents.Sensors; +using Unity.MLAgents.Sensors; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class SensorTestHelper { diff --git a/com.unity.ml-agents/Tests/Editor/SideChannelTests.cs b/com.unity.ml-agents/Tests/Editor/SideChannelTests.cs index 0cfdd0794f..267c3925ab 100644 --- a/com.unity.ml-agents/Tests/Editor/SideChannelTests.cs +++ b/com.unity.ml-agents/Tests/Editor/SideChannelTests.cs @@ -2,9 +2,9 @@ using NUnit.Framework; using System.Collections.Generic; using System.Text; -using MLAgents.SideChannels; +using Unity.MLAgents.SideChannels; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class SideChannelTests { diff --git a/com.unity.ml-agents/Tests/Editor/TensorUtilsTest.cs b/com.unity.ml-agents/Tests/Editor/TensorUtilsTest.cs index e8f423d25e..c1a3251e76 100644 --- a/com.unity.ml-agents/Tests/Editor/TensorUtilsTest.cs +++ b/com.unity.ml-agents/Tests/Editor/TensorUtilsTest.cs @@ -1,10 +1,10 @@ using System; using Barracuda; -using MLAgents.Inference; -using MLAgents.Inference.Utils; +using Unity.MLAgents.Inference; +using Unity.MLAgents.Inference.Utils; using NUnit.Framework; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class TensorUtilsTest { diff --git a/com.unity.ml-agents/Tests/Editor/TimerTest.cs b/com.unity.ml-agents/Tests/Editor/TimerTest.cs index e521773626..a2da0fdc69 100644 --- a/com.unity.ml-agents/Tests/Editor/TimerTest.cs +++ b/com.unity.ml-agents/Tests/Editor/TimerTest.cs @@ -1,7 +1,7 @@ using NUnit.Framework; using UnityEngine; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class TimerTests { diff --git a/com.unity.ml-agents/Tests/Editor/UtilitiesTests.cs b/com.unity.ml-agents/Tests/Editor/UtilitiesTests.cs index 4e636ce8f3..3109880599 100644 --- a/com.unity.ml-agents/Tests/Editor/UtilitiesTests.cs +++ b/com.unity.ml-agents/Tests/Editor/UtilitiesTests.cs @@ -1,6 +1,6 @@ using NUnit.Framework; -namespace MLAgents.Tests +namespace Unity.MLAgents.Tests { public class UtilitiesTests { diff --git a/com.unity.ml-agents/Tests/Runtime/RuntimeAPITest.cs b/com.unity.ml-agents/Tests/Runtime/RuntimeAPITest.cs index 600ac9e67e..535fbfb7b3 100644 --- a/com.unity.ml-agents/Tests/Runtime/RuntimeAPITest.cs +++ b/com.unity.ml-agents/Tests/Runtime/RuntimeAPITest.cs @@ -1,9 +1,9 @@ #if UNITY_INCLUDE_TESTS using System.Collections; using System.Collections.Generic; -using MLAgents; -using MLAgents.Policies; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgents.Policies; +using Unity.MLAgents.Sensors; using NUnit.Framework; using UnityEngine; using UnityEngine.TestTools; diff --git a/docs/Custom-SideChannels.md b/docs/Custom-SideChannels.md index b93e4fe30e..dbf5e999b5 100644 --- a/docs/Custom-SideChannels.md +++ b/docs/Custom-SideChannels.md @@ -63,8 +63,8 @@ from Unity to python. ```csharp using UnityEngine; -using MLAgents; -using MLAgents.SideChannels; +using Unity.MLAgents; +using Unity.MLAgents.SideChannels; using System.Text; using System; @@ -107,7 +107,7 @@ be live in your Unity scene. ```csharp using UnityEngine; -using MLAgents; +using Unity.MLAgents; public class RegisterStringLogSideChannel : MonoBehaviour diff --git a/docs/Feature-Monitor.md b/docs/Feature-Monitor.md index c8e8d7c242..652a1fe705 100644 --- a/docs/Feature-Monitor.md +++ b/docs/Feature-Monitor.md @@ -12,7 +12,7 @@ by calling `SetActive(boolean)`. For example to also show the monitor during training, you can call it in the `Awake()` method of your `MonoBehaviour`: ```csharp -using MLAgents; +using Unity.MLAgents; public class MyBehaviour : MonoBehaviour { public void Awake() diff --git a/docs/Learning-Environment-Create-New.md b/docs/Learning-Environment-Create-New.md index 226c147f1c..dda7a2526b 100644 --- a/docs/Learning-Environment-Create-New.md +++ b/docs/Learning-Environment-Create-New.md @@ -135,7 +135,7 @@ Then, edit the new `RollerAgent` script: 1. In the Unity Project window, double-click the `RollerAgent` script to open it in your code editor. -1. In the editor, add the `using MLAgents;` and `using MLAgents.Sensors` +1. In the editor, add the `using Unity.MLAgents;` and `using Unity.MLAgents.Sensors` statements and then change the base class from `MonoBehaviour` to `Agent`. 1. Delete the `Update()` method, but we will use the `Start()` function, so leave it alone for now. @@ -188,8 +188,8 @@ So far, our RollerAgent script looks like: ```csharp using System.Collections.Generic; using UnityEngine; -using MLAgents; -using MLAgents.Sensors; +using Unity.MLAgents; +using Unity.MLAgents.Sensors; public class RollerAgent : Agent { diff --git a/docs/Migrating.md b/docs/Migrating.md index 2974df6ac5..91e9e2251d 100644 --- a/docs/Migrating.md +++ b/docs/Migrating.md @@ -23,6 +23,8 @@ double-check that the versions are in the same. The versions can be found in ### Important changes +- The `MLAgents` C# namespace was renamed to `Unity.MLAgents`, and other nested + namespaces were similarly renamed (#3843). - The `--load` and `--train` command-line flags have been deprecated and replaced with `--resume` and `--inference`. - Running with the same `--run-id` twice will now throw an error. @@ -64,6 +66,9 @@ double-check that the versions are in the same. The versions can be found in ### Steps to Migrate +- In C# code, replace `using MLAgents` with `using Unity.MLAgents`. Replace + other nested namespaces such as `using MLAgents.Sensors` with + `using Unity.MLAgents.Sensors` - Replace the `--load` flag with `--resume` when calling `mlagents-learn`, and don't use the `--train` flag as training will happen by default. To run without training, use `--inference`. diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/agent_action_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/agent_action_pb2.py index fa71e6665b..7ac9f2d2ee 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/agent_action_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/agent_action_pb2.py @@ -19,7 +19,7 @@ name='mlagents_envs/communicator_objects/agent_action.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n5mlagents_envs/communicator_objects/agent_action.proto\x12\x14\x63ommunicator_objects\"K\n\x10\x41gentActionProto\x12\x16\n\x0evector_actions\x18\x01 \x03(\x02\x12\r\n\x05value\x18\x04 \x01(\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n5mlagents_envs/communicator_objects/agent_action.proto\x12\x14\x63ommunicator_objects\"K\n\x10\x41gentActionProto\x12\x16\n\x0evector_actions\x18\x01 \x03(\x02\x12\r\n\x05value\x18\x04 \x01(\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) @@ -74,5 +74,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_action_pair_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_action_pair_pb2.py index c50130606a..667b91a13d 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_action_pair_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_action_pair_pb2.py @@ -21,7 +21,7 @@ name='mlagents_envs/communicator_objects/agent_info_action_pair.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n?mlagents_envs/communicator_objects/agent_info_action_pair.proto\x12\x14\x63ommunicator_objects\x1a\x33mlagents_envs/communicator_objects/agent_info.proto\x1a\x35mlagents_envs/communicator_objects/agent_action.proto\"\x91\x01\n\x18\x41gentInfoActionPairProto\x12\x38\n\nagent_info\x18\x01 \x01(\x0b\x32$.communicator_objects.AgentInfoProto\x12;\n\x0b\x61\x63tion_info\x18\x02 \x01(\x0b\x32&.communicator_objects.AgentActionProtoB\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n?mlagents_envs/communicator_objects/agent_info_action_pair.proto\x12\x14\x63ommunicator_objects\x1a\x33mlagents_envs/communicator_objects/agent_info.proto\x1a\x35mlagents_envs/communicator_objects/agent_action.proto\"\x91\x01\n\x18\x41gentInfoActionPairProto\x12\x38\n\nagent_info\x18\x01 \x01(\x0b\x32$.communicator_objects.AgentInfoProto\x12;\n\x0b\x61\x63tion_info\x18\x02 \x01(\x0b\x32&.communicator_objects.AgentActionProtoB%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_agent__info__pb2.DESCRIPTOR,mlagents__envs_dot_communicator__objects_dot_agent__action__pb2.DESCRIPTOR,]) @@ -79,5 +79,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_pb2.py index c8a7fccc8b..e128cc76d8 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/agent_info_pb2.py @@ -20,7 +20,7 @@ name='mlagents_envs/communicator_objects/agent_info.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n3mlagents_envs/communicator_objects/agent_info.proto\x12\x14\x63ommunicator_objects\x1a\x34mlagents_envs/communicator_objects/observation.proto\"\xd1\x01\n\x0e\x41gentInfoProto\x12\x0e\n\x06reward\x18\x07 \x01(\x02\x12\x0c\n\x04\x64one\x18\x08 \x01(\x08\x12\x18\n\x10max_step_reached\x18\t \x01(\x08\x12\n\n\x02id\x18\n \x01(\x05\x12\x13\n\x0b\x61\x63tion_mask\x18\x0b \x03(\x08\x12<\n\x0cobservations\x18\r \x03(\x0b\x32&.communicator_objects.ObservationProtoJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x0c\x10\rB\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n3mlagents_envs/communicator_objects/agent_info.proto\x12\x14\x63ommunicator_objects\x1a\x34mlagents_envs/communicator_objects/observation.proto\"\xd1\x01\n\x0e\x41gentInfoProto\x12\x0e\n\x06reward\x18\x07 \x01(\x02\x12\x0c\n\x04\x64one\x18\x08 \x01(\x08\x12\x18\n\x10max_step_reached\x18\t \x01(\x08\x12\n\n\x02id\x18\n \x01(\x05\x12\x13\n\x0b\x61\x63tion_mask\x18\x0b \x03(\x08\x12<\n\x0cobservations\x18\r \x03(\x0b\x32&.communicator_objects.ObservationProtoJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x05\x10\x06J\x04\x08\x06\x10\x07J\x04\x08\x0c\x10\rB%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_observation__pb2.DESCRIPTOR,]) @@ -105,5 +105,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/brain_parameters_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/brain_parameters_pb2.py index c64fe64d15..ab43682a3d 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/brain_parameters_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/brain_parameters_pb2.py @@ -20,7 +20,7 @@ name='mlagents_envs/communicator_objects/brain_parameters.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n9mlagents_envs/communicator_objects/brain_parameters.proto\x12\x14\x63ommunicator_objects\x1a\x33mlagents_envs/communicator_objects/space_type.proto\"\xd9\x01\n\x14\x42rainParametersProto\x12\x1a\n\x12vector_action_size\x18\x03 \x03(\x05\x12\"\n\x1avector_action_descriptions\x18\x05 \x03(\t\x12\x46\n\x18vector_action_space_type\x18\x06 \x01(\x0e\x32$.communicator_objects.SpaceTypeProto\x12\x12\n\nbrain_name\x18\x07 \x01(\t\x12\x13\n\x0bis_training\x18\x08 \x01(\x08J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n9mlagents_envs/communicator_objects/brain_parameters.proto\x12\x14\x63ommunicator_objects\x1a\x33mlagents_envs/communicator_objects/space_type.proto\"\xd9\x01\n\x14\x42rainParametersProto\x12\x1a\n\x12vector_action_size\x18\x03 \x03(\x05\x12\"\n\x1avector_action_descriptions\x18\x05 \x03(\t\x12\x46\n\x18vector_action_space_type\x18\x06 \x01(\x0e\x32$.communicator_objects.SpaceTypeProto\x12\x12\n\nbrain_name\x18\x07 \x01(\t\x12\x13\n\x0bis_training\x18\x08 \x01(\x08J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x04\x10\x05\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_space__type__pb2.DESCRIPTOR,]) @@ -98,5 +98,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/capabilities_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/capabilities_pb2.py index 9827886821..222c03b2e7 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/capabilities_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/capabilities_pb2.py @@ -19,7 +19,7 @@ name='mlagents_envs/communicator_objects/capabilities.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n5mlagents_envs/communicator_objects/capabilities.proto\x12\x14\x63ommunicator_objects\"6\n\x18UnityRLCapabilitiesProto\x12\x1a\n\x12\x62\x61seRLCapabilities\x18\x01 \x01(\x08\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n5mlagents_envs/communicator_objects/capabilities.proto\x12\x14\x63ommunicator_objects\"6\n\x18UnityRLCapabilitiesProto\x12\x1a\n\x12\x62\x61seRLCapabilities\x18\x01 \x01(\x08\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) @@ -67,5 +67,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/command_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/command_pb2.py index 83d478f107..397f310980 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/command_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/command_pb2.py @@ -20,7 +20,7 @@ name='mlagents_envs/communicator_objects/command.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n0mlagents_envs/communicator_objects/command.proto\x12\x14\x63ommunicator_objects*-\n\x0c\x43ommandProto\x12\x08\n\x04STEP\x10\x00\x12\t\n\x05RESET\x10\x01\x12\x08\n\x04QUIT\x10\x02\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n0mlagents_envs/communicator_objects/command.proto\x12\x14\x63ommunicator_objects*-\n\x0c\x43ommandProto\x12\x08\n\x04STEP\x10\x00\x12\t\n\x05RESET\x10\x01\x12\x08\n\x04QUIT\x10\x02\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) _COMMANDPROTO = _descriptor.EnumDescriptor( @@ -60,5 +60,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/custom_reset_parameters_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/custom_reset_parameters_pb2.py index b245620c77..f4300d1016 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/custom_reset_parameters_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/custom_reset_parameters_pb2.py @@ -19,7 +19,7 @@ name='mlagents_envs/communicator_objects/custom_reset_parameters.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n@mlagents_envs/communicator_objects/custom_reset_parameters.proto\x12\x14\x63ommunicator_objects\"\x1c\n\x1a\x43ustomResetParametersProtoB\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n@mlagents_envs/communicator_objects/custom_reset_parameters.proto\x12\x14\x63ommunicator_objects\"\x1c\n\x1a\x43ustomResetParametersProtoB%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) @@ -60,5 +60,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/demonstration_meta_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/demonstration_meta_pb2.py index 2b21828d13..3b86fee455 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/demonstration_meta_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/demonstration_meta_pb2.py @@ -19,7 +19,7 @@ name='mlagents_envs/communicator_objects/demonstration_meta.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n;mlagents_envs/communicator_objects/demonstration_meta.proto\x12\x14\x63ommunicator_objects\"\x8d\x01\n\x16\x44\x65monstrationMetaProto\x12\x13\n\x0b\x61pi_version\x18\x01 \x01(\x05\x12\x1a\n\x12\x64\x65monstration_name\x18\x02 \x01(\t\x12\x14\n\x0cnumber_steps\x18\x03 \x01(\x05\x12\x17\n\x0fnumber_episodes\x18\x04 \x01(\x05\x12\x13\n\x0bmean_reward\x18\x05 \x01(\x02\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n;mlagents_envs/communicator_objects/demonstration_meta.proto\x12\x14\x63ommunicator_objects\"\x8d\x01\n\x16\x44\x65monstrationMetaProto\x12\x13\n\x0b\x61pi_version\x18\x01 \x01(\x05\x12\x1a\n\x12\x64\x65monstration_name\x18\x02 \x01(\t\x12\x14\n\x0cnumber_steps\x18\x03 \x01(\x05\x12\x17\n\x0fnumber_episodes\x18\x04 \x01(\x05\x12\x13\n\x0bmean_reward\x18\x05 \x01(\x02\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) @@ -95,5 +95,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/engine_configuration_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/engine_configuration_pb2.py index 5193a0bb91..9f4656ca8c 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/engine_configuration_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/engine_configuration_pb2.py @@ -19,7 +19,7 @@ name='mlagents_envs/communicator_objects/engine_configuration.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n=mlagents_envs/communicator_objects/engine_configuration.proto\x12\x14\x63ommunicator_objects\"\x95\x01\n\x18\x45ngineConfigurationProto\x12\r\n\x05width\x18\x01 \x01(\x05\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\x15\n\rquality_level\x18\x03 \x01(\x05\x12\x12\n\ntime_scale\x18\x04 \x01(\x02\x12\x19\n\x11target_frame_rate\x18\x05 \x01(\x05\x12\x14\n\x0cshow_monitor\x18\x06 \x01(\x08\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n=mlagents_envs/communicator_objects/engine_configuration.proto\x12\x14\x63ommunicator_objects\"\x95\x01\n\x18\x45ngineConfigurationProto\x12\r\n\x05width\x18\x01 \x01(\x05\x12\x0e\n\x06height\x18\x02 \x01(\x05\x12\x15\n\rquality_level\x18\x03 \x01(\x05\x12\x12\n\ntime_scale\x18\x04 \x01(\x02\x12\x19\n\x11target_frame_rate\x18\x05 \x01(\x05\x12\x14\n\x0cshow_monitor\x18\x06 \x01(\x08\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) @@ -102,5 +102,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/header_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/header_pb2.py index 0355f70e94..5aa8eb8954 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/header_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/header_pb2.py @@ -19,7 +19,7 @@ name='mlagents_envs/communicator_objects/header.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n/mlagents_envs/communicator_objects/header.proto\x12\x14\x63ommunicator_objects\".\n\x0bHeaderProto\x12\x0e\n\x06status\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\tB\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n/mlagents_envs/communicator_objects/header.proto\x12\x14\x63ommunicator_objects\".\n\x0bHeaderProto\x12\x0e\n\x06status\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\tB%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) @@ -74,5 +74,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/observation_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/observation_pb2.py index 1f80199448..e31a806676 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/observation_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/observation_pb2.py @@ -20,7 +20,7 @@ name='mlagents_envs/communicator_objects/observation.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n4mlagents_envs/communicator_objects/observation.proto\x12\x14\x63ommunicator_objects\"\xf9\x01\n\x10ObservationProto\x12\r\n\x05shape\x18\x01 \x03(\x05\x12\x44\n\x10\x63ompression_type\x18\x02 \x01(\x0e\x32*.communicator_objects.CompressionTypeProto\x12\x19\n\x0f\x63ompressed_data\x18\x03 \x01(\x0cH\x00\x12\x46\n\nfloat_data\x18\x04 \x01(\x0b\x32\x30.communicator_objects.ObservationProto.FloatDataH\x00\x1a\x19\n\tFloatData\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x02\x42\x12\n\x10observation_data*)\n\x14\x43ompressionTypeProto\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03PNG\x10\x01\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n4mlagents_envs/communicator_objects/observation.proto\x12\x14\x63ommunicator_objects\"\xf9\x01\n\x10ObservationProto\x12\r\n\x05shape\x18\x01 \x03(\x05\x12\x44\n\x10\x63ompression_type\x18\x02 \x01(\x0e\x32*.communicator_objects.CompressionTypeProto\x12\x19\n\x0f\x63ompressed_data\x18\x03 \x01(\x0cH\x00\x12\x46\n\nfloat_data\x18\x04 \x01(\x0b\x32\x30.communicator_objects.ObservationProto.FloatDataH\x00\x1a\x19\n\tFloatData\x12\x0c\n\x04\x64\x61ta\x18\x01 \x03(\x02\x42\x12\n\x10observation_data*)\n\x14\x43ompressionTypeProto\x12\x08\n\x04NONE\x10\x00\x12\x07\n\x03PNG\x10\x01\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) _COMPRESSIONTYPEPROTO = _descriptor.EnumDescriptor( @@ -165,5 +165,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/space_type_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/space_type_pb2.py index 55b6885103..df62c23319 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/space_type_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/space_type_pb2.py @@ -20,7 +20,7 @@ name='mlagents_envs/communicator_objects/space_type.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n3mlagents_envs/communicator_objects/space_type.proto\x12\x14\x63ommunicator_objects*.\n\x0eSpaceTypeProto\x12\x0c\n\x08\x64iscrete\x10\x00\x12\x0e\n\ncontinuous\x10\x01\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n3mlagents_envs/communicator_objects/space_type.proto\x12\x14\x63ommunicator_objects*.\n\x0eSpaceTypeProto\x12\x0c\n\x08\x64iscrete\x10\x00\x12\x0e\n\ncontinuous\x10\x01\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') ) _SPACETYPEPROTO = _descriptor.EnumDescriptor( @@ -55,5 +55,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/unity_input_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/unity_input_pb2.py index 3c2f75a5d9..6c4a24f392 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/unity_input_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/unity_input_pb2.py @@ -21,7 +21,7 @@ name='mlagents_envs/communicator_objects/unity_input.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n4mlagents_envs/communicator_objects/unity_input.proto\x12\x14\x63ommunicator_objects\x1a\x37mlagents_envs/communicator_objects/unity_rl_input.proto\x1a\x46mlagents_envs/communicator_objects/unity_rl_initialization_input.proto\"\xa4\x01\n\x0fUnityInputProto\x12\x39\n\x08rl_input\x18\x01 \x01(\x0b\x32\'.communicator_objects.UnityRLInputProto\x12V\n\x17rl_initialization_input\x18\x02 \x01(\x0b\x32\x35.communicator_objects.UnityRLInitializationInputProtoB\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n4mlagents_envs/communicator_objects/unity_input.proto\x12\x14\x63ommunicator_objects\x1a\x37mlagents_envs/communicator_objects/unity_rl_input.proto\x1a\x46mlagents_envs/communicator_objects/unity_rl_initialization_input.proto\"\xa4\x01\n\x0fUnityInputProto\x12\x39\n\x08rl_input\x18\x01 \x01(\x0b\x32\'.communicator_objects.UnityRLInputProto\x12V\n\x17rl_initialization_input\x18\x02 \x01(\x0b\x32\x35.communicator_objects.UnityRLInitializationInputProtoB%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_unity__rl__input__pb2.DESCRIPTOR,mlagents__envs_dot_communicator__objects_dot_unity__rl__initialization__input__pb2.DESCRIPTOR,]) @@ -79,5 +79,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/unity_message_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/unity_message_pb2.py index 04a7c53275..e01b52298f 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/unity_message_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/unity_message_pb2.py @@ -22,7 +22,7 @@ name='mlagents_envs/communicator_objects/unity_message.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n6mlagents_envs/communicator_objects/unity_message.proto\x12\x14\x63ommunicator_objects\x1a\x35mlagents_envs/communicator_objects/unity_output.proto\x1a\x34mlagents_envs/communicator_objects/unity_input.proto\x1a/mlagents_envs/communicator_objects/header.proto\"\xc0\x01\n\x11UnityMessageProto\x12\x31\n\x06header\x18\x01 \x01(\x0b\x32!.communicator_objects.HeaderProto\x12<\n\x0cunity_output\x18\x02 \x01(\x0b\x32&.communicator_objects.UnityOutputProto\x12:\n\x0bunity_input\x18\x03 \x01(\x0b\x32%.communicator_objects.UnityInputProtoB\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n6mlagents_envs/communicator_objects/unity_message.proto\x12\x14\x63ommunicator_objects\x1a\x35mlagents_envs/communicator_objects/unity_output.proto\x1a\x34mlagents_envs/communicator_objects/unity_input.proto\x1a/mlagents_envs/communicator_objects/header.proto\"\xc0\x01\n\x11UnityMessageProto\x12\x31\n\x06header\x18\x01 \x01(\x0b\x32!.communicator_objects.HeaderProto\x12<\n\x0cunity_output\x18\x02 \x01(\x0b\x32&.communicator_objects.UnityOutputProto\x12:\n\x0bunity_input\x18\x03 \x01(\x0b\x32%.communicator_objects.UnityInputProtoB%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_unity__output__pb2.DESCRIPTOR,mlagents__envs_dot_communicator__objects_dot_unity__input__pb2.DESCRIPTOR,mlagents__envs_dot_communicator__objects_dot_header__pb2.DESCRIPTOR,]) @@ -88,5 +88,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/unity_output_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/unity_output_pb2.py index bc2607253d..400fdb00f7 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/unity_output_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/unity_output_pb2.py @@ -21,7 +21,7 @@ name='mlagents_envs/communicator_objects/unity_output.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n5mlagents_envs/communicator_objects/unity_output.proto\x12\x14\x63ommunicator_objects\x1a\x38mlagents_envs/communicator_objects/unity_rl_output.proto\x1aGmlagents_envs/communicator_objects/unity_rl_initialization_output.proto\"\xa9\x01\n\x10UnityOutputProto\x12;\n\trl_output\x18\x01 \x01(\x0b\x32(.communicator_objects.UnityRLOutputProto\x12X\n\x18rl_initialization_output\x18\x02 \x01(\x0b\x32\x36.communicator_objects.UnityRLInitializationOutputProtoB\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n5mlagents_envs/communicator_objects/unity_output.proto\x12\x14\x63ommunicator_objects\x1a\x38mlagents_envs/communicator_objects/unity_rl_output.proto\x1aGmlagents_envs/communicator_objects/unity_rl_initialization_output.proto\"\xa9\x01\n\x10UnityOutputProto\x12;\n\trl_output\x18\x01 \x01(\x0b\x32(.communicator_objects.UnityRLOutputProto\x12X\n\x18rl_initialization_output\x18\x02 \x01(\x0b\x32\x36.communicator_objects.UnityRLInitializationOutputProtoB%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_unity__rl__output__pb2.DESCRIPTOR,mlagents__envs_dot_communicator__objects_dot_unity__rl__initialization__output__pb2.DESCRIPTOR,]) @@ -79,5 +79,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_input_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_input_pb2.py index 4b274919d6..7f5f4875f5 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_input_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_input_pb2.py @@ -20,7 +20,7 @@ name='mlagents_envs/communicator_objects/unity_rl_initialization_input.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\nFmlagents_envs/communicator_objects/unity_rl_initialization_input.proto\x12\x14\x63ommunicator_objects\x1a\x35mlagents_envs/communicator_objects/capabilities.proto\"\xad\x01\n\x1fUnityRLInitializationInputProto\x12\x0c\n\x04seed\x18\x01 \x01(\x05\x12\x1d\n\x15\x63ommunication_version\x18\x02 \x01(\t\x12\x17\n\x0fpackage_version\x18\x03 \x01(\t\x12\x44\n\x0c\x63\x61pabilities\x18\x04 \x01(\x0b\x32..communicator_objects.UnityRLCapabilitiesProtoB\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\nFmlagents_envs/communicator_objects/unity_rl_initialization_input.proto\x12\x14\x63ommunicator_objects\x1a\x35mlagents_envs/communicator_objects/capabilities.proto\"\xad\x01\n\x1fUnityRLInitializationInputProto\x12\x0c\n\x04seed\x18\x01 \x01(\x05\x12\x1d\n\x15\x63ommunication_version\x18\x02 \x01(\t\x12\x17\n\x0fpackage_version\x18\x03 \x01(\t\x12\x44\n\x0c\x63\x61pabilities\x18\x04 \x01(\x0b\x32..communicator_objects.UnityRLCapabilitiesProtoB%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_capabilities__pb2.DESCRIPTOR,]) @@ -91,5 +91,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_output_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_output_pb2.py index 255fa7077c..155af96d82 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_output_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_initialization_output_pb2.py @@ -21,7 +21,7 @@ name='mlagents_envs/communicator_objects/unity_rl_initialization_output.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\nGmlagents_envs/communicator_objects/unity_rl_initialization_output.proto\x12\x14\x63ommunicator_objects\x1a\x35mlagents_envs/communicator_objects/capabilities.proto\x1a\x39mlagents_envs/communicator_objects/brain_parameters.proto\"\x8c\x02\n UnityRLInitializationOutputProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1d\n\x15\x63ommunication_version\x18\x02 \x01(\t\x12\x10\n\x08log_path\x18\x03 \x01(\t\x12\x44\n\x10\x62rain_parameters\x18\x05 \x03(\x0b\x32*.communicator_objects.BrainParametersProto\x12\x17\n\x0fpackage_version\x18\x07 \x01(\t\x12\x44\n\x0c\x63\x61pabilities\x18\x08 \x01(\x0b\x32..communicator_objects.UnityRLCapabilitiesProtoJ\x04\x08\x06\x10\x07\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\nGmlagents_envs/communicator_objects/unity_rl_initialization_output.proto\x12\x14\x63ommunicator_objects\x1a\x35mlagents_envs/communicator_objects/capabilities.proto\x1a\x39mlagents_envs/communicator_objects/brain_parameters.proto\"\x8c\x02\n UnityRLInitializationOutputProto\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x1d\n\x15\x63ommunication_version\x18\x02 \x01(\t\x12\x10\n\x08log_path\x18\x03 \x01(\t\x12\x44\n\x10\x62rain_parameters\x18\x05 \x03(\x0b\x32*.communicator_objects.BrainParametersProto\x12\x17\n\x0fpackage_version\x18\x07 \x01(\t\x12\x44\n\x0c\x63\x61pabilities\x18\x08 \x01(\x0b\x32..communicator_objects.UnityRLCapabilitiesProtoJ\x04\x08\x06\x10\x07\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_capabilities__pb2.DESCRIPTOR,mlagents__envs_dot_communicator__objects_dot_brain__parameters__pb2.DESCRIPTOR,]) @@ -107,5 +107,5 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_input_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_input_pb2.py index 31d40a8f58..69e14f3fd2 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_input_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_input_pb2.py @@ -21,7 +21,7 @@ name='mlagents_envs/communicator_objects/unity_rl_input.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n7mlagents_envs/communicator_objects/unity_rl_input.proto\x12\x14\x63ommunicator_objects\x1a\x35mlagents_envs/communicator_objects/agent_action.proto\x1a\x30mlagents_envs/communicator_objects/command.proto\"\xfe\x02\n\x11UnityRLInputProto\x12P\n\ragent_actions\x18\x01 \x03(\x0b\x32\x39.communicator_objects.UnityRLInputProto.AgentActionsEntry\x12\x33\n\x07\x63ommand\x18\x04 \x01(\x0e\x32\".communicator_objects.CommandProto\x12\x14\n\x0cside_channel\x18\x05 \x01(\x0c\x1aM\n\x14ListAgentActionProto\x12\x35\n\x05value\x18\x01 \x03(\x0b\x32&.communicator_objects.AgentActionProto\x1aq\n\x11\x41gentActionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12K\n\x05value\x18\x02 \x01(\x0b\x32<.communicator_objects.UnityRLInputProto.ListAgentActionProto:\x02\x38\x01J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n7mlagents_envs/communicator_objects/unity_rl_input.proto\x12\x14\x63ommunicator_objects\x1a\x35mlagents_envs/communicator_objects/agent_action.proto\x1a\x30mlagents_envs/communicator_objects/command.proto\"\xfe\x02\n\x11UnityRLInputProto\x12P\n\ragent_actions\x18\x01 \x03(\x0b\x32\x39.communicator_objects.UnityRLInputProto.AgentActionsEntry\x12\x33\n\x07\x63ommand\x18\x04 \x01(\x0e\x32\".communicator_objects.CommandProto\x12\x14\n\x0cside_channel\x18\x05 \x01(\x0c\x1aM\n\x14ListAgentActionProto\x12\x35\n\x05value\x18\x01 \x03(\x0b\x32&.communicator_objects.AgentActionProto\x1aq\n\x11\x41gentActionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12K\n\x05value\x18\x02 \x01(\x0b\x32<.communicator_objects.UnityRLInputProto.ListAgentActionProto:\x02\x38\x01J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_agent__action__pb2.DESCRIPTOR,mlagents__envs_dot_communicator__objects_dot_command__pb2.DESCRIPTOR,]) @@ -173,7 +173,7 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) _UNITYRLINPUTPROTO_AGENTACTIONSENTRY.has_options = True _UNITYRLINPUTPROTO_AGENTACTIONSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_output_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_output_pb2.py index 19e1ef0231..099d0b0040 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_output_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/unity_rl_output_pb2.py @@ -20,7 +20,7 @@ name='mlagents_envs/communicator_objects/unity_rl_output.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n8mlagents_envs/communicator_objects/unity_rl_output.proto\x12\x14\x63ommunicator_objects\x1a\x33mlagents_envs/communicator_objects/agent_info.proto\"\xb9\x02\n\x12UnityRLOutputProto\x12L\n\nagentInfos\x18\x02 \x03(\x0b\x32\x38.communicator_objects.UnityRLOutputProto.AgentInfosEntry\x12\x14\n\x0cside_channel\x18\x03 \x01(\x0c\x1aI\n\x12ListAgentInfoProto\x12\x33\n\x05value\x18\x01 \x03(\x0b\x32$.communicator_objects.AgentInfoProto\x1an\n\x0f\x41gentInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.communicator_objects.UnityRLOutputProto.ListAgentInfoProto:\x02\x38\x01J\x04\x08\x01\x10\x02\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n8mlagents_envs/communicator_objects/unity_rl_output.proto\x12\x14\x63ommunicator_objects\x1a\x33mlagents_envs/communicator_objects/agent_info.proto\"\xb9\x02\n\x12UnityRLOutputProto\x12L\n\nagentInfos\x18\x02 \x03(\x0b\x32\x38.communicator_objects.UnityRLOutputProto.AgentInfosEntry\x12\x14\n\x0cside_channel\x18\x03 \x01(\x0c\x1aI\n\x12ListAgentInfoProto\x12\x33\n\x05value\x18\x01 \x03(\x0b\x32$.communicator_objects.AgentInfoProto\x1an\n\x0f\x41gentInfosEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12J\n\x05value\x18\x02 \x01(\x0b\x32;.communicator_objects.UnityRLOutputProto.ListAgentInfoProto:\x02\x38\x01J\x04\x08\x01\x10\x02\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_agent__info__pb2.DESCRIPTOR,]) @@ -164,7 +164,7 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) _UNITYRLOUTPUTPROTO_AGENTINFOSENTRY.has_options = True _UNITYRLOUTPUTPROTO_AGENTINFOSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) # @@protoc_insertion_point(module_scope) diff --git a/ml-agents-envs/mlagents_envs/communicator_objects/unity_to_external_pb2.py b/ml-agents-envs/mlagents_envs/communicator_objects/unity_to_external_pb2.py index 22b6abdc2a..6053ccc46a 100644 --- a/ml-agents-envs/mlagents_envs/communicator_objects/unity_to_external_pb2.py +++ b/ml-agents-envs/mlagents_envs/communicator_objects/unity_to_external_pb2.py @@ -20,7 +20,7 @@ name='mlagents_envs/communicator_objects/unity_to_external.proto', package='communicator_objects', syntax='proto3', - serialized_pb=_b('\n:mlagents_envs/communicator_objects/unity_to_external.proto\x12\x14\x63ommunicator_objects\x1a\x36mlagents_envs/communicator_objects/unity_message.proto2v\n\x14UnityToExternalProto\x12^\n\x08\x45xchange\x12\'.communicator_objects.UnityMessageProto\x1a\'.communicator_objects.UnityMessageProto\"\x00\x42\x1f\xaa\x02\x1cMLAgents.CommunicatorObjectsb\x06proto3') + serialized_pb=_b('\n:mlagents_envs/communicator_objects/unity_to_external.proto\x12\x14\x63ommunicator_objects\x1a\x36mlagents_envs/communicator_objects/unity_message.proto2v\n\x14UnityToExternalProto\x12^\n\x08\x45xchange\x12\'.communicator_objects.UnityMessageProto\x1a\'.communicator_objects.UnityMessageProto\"\x00\x42%\xaa\x02\"Unity.MLAgents.CommunicatorObjectsb\x06proto3') , dependencies=[mlagents__envs_dot_communicator__objects_dot_unity__message__pb2.DESCRIPTOR,]) @@ -30,7 +30,7 @@ DESCRIPTOR.has_options = True -DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\034MLAgents.CommunicatorObjects')) +DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\252\002\"Unity.MLAgents.CommunicatorObjects')) _UNITYTOEXTERNALPROTO = _descriptor.ServiceDescriptor( name='UnityToExternalProto', diff --git a/ml-agents/tests/yamato/yamato_utils.py b/ml-agents/tests/yamato/yamato_utils.py index 8a208b18e5..341783722d 100644 --- a/ml-agents/tests/yamato/yamato_utils.py +++ b/ml-agents/tests/yamato/yamato_utils.py @@ -52,7 +52,7 @@ def run_standalone_build( f"{base_path}/Project", "-batchmode", "-executeMethod", - "MLAgents.StandaloneBuildTest.BuildStandalonePlayerOSX", + "Unity.MLAgents.StandaloneBuildTest.BuildStandalonePlayerOSX", ] os.makedirs(os.path.dirname(log_output_path), exist_ok=True) diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_action.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_action.proto index cd0545c415..9178f9b96e 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_action.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_action.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message AgentActionProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_info.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_info.proto index 5811abc171..403540a6c5 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_info.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_info.proto @@ -2,7 +2,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/observation.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message AgentInfoProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_info_action_pair.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_info_action_pair.proto index 4fc8e3f1ef..e51ed2a3ef 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_info_action_pair.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/agent_info_action_pair.proto @@ -3,7 +3,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/agent_info.proto"; import "mlagents_envs/communicator_objects/agent_action.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message AgentInfoActionPairProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/brain_parameters.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/brain_parameters.proto index b33b997833..bdb93274a8 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/brain_parameters.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/brain_parameters.proto @@ -2,7 +2,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/space_type.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message BrainParametersProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/capabilities.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/capabilities.proto index 7458572a41..d3d2ae37fb 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/capabilities.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/capabilities.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace="MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; /* diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/command.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/command.proto index 49f6f2af37..b0645d2f8a 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/command.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/command.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; enum CommandProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/custom_reset_parameters.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/custom_reset_parameters.proto index f321ffccd8..d371166a89 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/custom_reset_parameters.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/custom_reset_parameters.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message CustomResetParametersProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/demonstration_meta.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/demonstration_meta.proto index 951b87daec..520508e778 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/demonstration_meta.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/demonstration_meta.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message DemonstrationMetaProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/engine_configuration.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/engine_configuration.proto index 0a0e90dc73..2f014d2066 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/engine_configuration.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/engine_configuration.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message EngineConfigurationProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/header.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/header.proto index 26478347bf..10a9f96342 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/header.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/header.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message HeaderProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/observation.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/observation.proto index 07d2e8df1c..3b57ba5bbd 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/observation.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/observation.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; enum CompressionTypeProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/space_type.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/space_type.proto index 80e360e5d1..412fdd5109 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/space_type.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/space_type.proto @@ -1,6 +1,6 @@ syntax = "proto3"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; enum SpaceTypeProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_input.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_input.proto index 8344be2e39..82432fc3a9 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_input.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_input.proto @@ -3,7 +3,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/unity_rl_input.proto"; import "mlagents_envs/communicator_objects/unity_rl_initialization_input.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message UnityInputProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_message.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_message.proto index 533f0d7d32..0bff435fb4 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_message.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_message.proto @@ -4,7 +4,7 @@ import "mlagents_envs/communicator_objects/unity_output.proto"; import "mlagents_envs/communicator_objects/unity_input.proto"; import "mlagents_envs/communicator_objects/header.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message UnityMessageProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_output.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_output.proto index d35ff41dcd..2714f25669 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_output.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_output.proto @@ -3,7 +3,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/unity_rl_output.proto"; import "mlagents_envs/communicator_objects/unity_rl_initialization_output.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message UnityOutputProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_initialization_input.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_initialization_input.proto index bd97d5a74c..6db949d0c2 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_initialization_input.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_initialization_input.proto @@ -1,7 +1,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/capabilities.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; // The initializaiton message - this is typically sent from the Python trainer to the C# environment. diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_initialization_output.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_initialization_output.proto index 1166ef77cc..775dd6577c 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_initialization_output.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_initialization_output.proto @@ -3,7 +3,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/capabilities.proto"; import "mlagents_envs/communicator_objects/brain_parameters.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; // The request message containing the academy's parameters. diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_input.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_input.proto index 47cb071911..1795203409 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_input.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_input.proto @@ -3,7 +3,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/agent_action.proto"; import "mlagents_envs/communicator_objects/command.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message UnityRLInputProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_output.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_output.proto index a14b37fb09..223480cede 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_output.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_rl_output.proto @@ -2,7 +2,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/agent_info.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; message UnityRLOutputProto { diff --git a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_to_external.proto b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_to_external.proto index d540017080..798dac86ed 100644 --- a/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_to_external.proto +++ b/protobuf-definitions/proto/mlagents_envs/communicator_objects/unity_to_external.proto @@ -2,7 +2,7 @@ syntax = "proto3"; import "mlagents_envs/communicator_objects/unity_message.proto"; -option csharp_namespace = "MLAgents.CommunicatorObjects"; +option csharp_namespace = "Unity.MLAgents.CommunicatorObjects"; package communicator_objects; service UnityToExternalProto {