diff --git a/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs b/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs index 9fd45df26b..6d297f7406 100644 --- a/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs +++ b/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs @@ -92,7 +92,7 @@ public EnvironmentConfiguration( "docs/Learning-Environment-Design-Academy.md")] public abstract class Academy : MonoBehaviour { - const string k_ApiVersion = "API-11"; + const string k_ApiVersion = "API-12"; /// Temporary storage for global gravity value /// Used to restore oringal value when deriving Academy modifies it @@ -153,7 +153,7 @@ public bool IsCommunicatorOn /// If true, the Academy will use inference settings. This field is /// initialized in depending on the presence - /// or absence of a communicator. Furthermore, it can be modified during + /// or absence of a communicator. Furthermore, it can be modified during /// training via . bool m_IsInference = true; @@ -184,13 +184,13 @@ public bool IsCommunicatorOn // Flag used to keep track of the first time the Academy is reset. bool m_FirstAcademyReset; - // The Academy uses a series of events to communicate with agents + // The Academy uses a series of events to communicate with agents // to facilitate synchronization. More specifically, it ensure // that all the agents performs their steps in a consistent order (i.e. no // agent can act based on a decision before another agent has had a chance // to request a decision). - // Signals to all the Agents at each environment step so they can use + // Signals to all the Agents at each environment step so they can use // their Policy to decide on their next action. public event System.Action DecideAction; @@ -568,13 +568,13 @@ void FixedUpdate() } /// - /// Creates or retrieves an existing ModelRunner that uses the same + /// Creates or retrieves an existing ModelRunner that uses the same /// NNModel and the InferenceDevice as provided. /// /// The NNModel the ModelRunner must use - /// The brainParameters used to create + /// The brainParameters used to create /// the ModelRunner - /// The inference device (CPU or GPU) + /// The inference device (CPU or GPU) /// the ModelRunner will use /// The ModelRunner compatible with the input settings public ModelRunner GetOrCreateModelRunner( diff --git a/gym-unity/gym_unity/__init__.py b/gym-unity/gym_unity/__init__.py index ae6db5f176..ea370a8e55 100644 --- a/gym-unity/gym_unity/__init__.py +++ b/gym-unity/gym_unity/__init__.py @@ -1 +1 @@ -__version__ = "0.11.0" +__version__ = "0.12.0" diff --git a/ml-agents-envs/mlagents/envs/__init__.py b/ml-agents-envs/mlagents/envs/__init__.py index ae6db5f176..ea370a8e55 100644 --- a/ml-agents-envs/mlagents/envs/__init__.py +++ b/ml-agents-envs/mlagents/envs/__init__.py @@ -1 +1 @@ -__version__ = "0.11.0" +__version__ = "0.12.0" diff --git a/ml-agents-envs/mlagents/envs/environment.py b/ml-agents-envs/mlagents/envs/environment.py index 8d45522ee5..57d30956bf 100644 --- a/ml-agents-envs/mlagents/envs/environment.py +++ b/ml-agents-envs/mlagents/envs/environment.py @@ -40,7 +40,7 @@ class UnityEnvironment(BaseUnityEnvironment): SCALAR_ACTION_TYPES = (int, np.int32, np.int64, float, np.float32, np.float64) SINGLE_BRAIN_ACTION_TYPES = SCALAR_ACTION_TYPES + (list, np.ndarray) - API_VERSION = "API-11" + API_VERSION = "API-12" def __init__( self, diff --git a/ml-agents/mlagents/trainers/__init__.py b/ml-agents/mlagents/trainers/__init__.py index ae6db5f176..ea370a8e55 100644 --- a/ml-agents/mlagents/trainers/__init__.py +++ b/ml-agents/mlagents/trainers/__init__.py @@ -1 +1 @@ -__version__ = "0.11.0" +__version__ = "0.12.0"