Skip to content

Commit 9a7d65b

Browse files
author
Chris Elion
authored
bump version strings (#2955)
* bump version strings * API version strings too
1 parent 5d69850 commit 9a7d65b

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

UnitySDK/Assets/ML-Agents/Scripts/Academy.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public EnvironmentConfiguration(
9292
"docs/Learning-Environment-Design-Academy.md")]
9393
public abstract class Academy : MonoBehaviour
9494
{
95-
const string k_ApiVersion = "API-11";
95+
const string k_ApiVersion = "API-12";
9696

9797
/// Temporary storage for global gravity value
9898
/// Used to restore oringal value when deriving Academy modifies it
@@ -153,7 +153,7 @@ public bool IsCommunicatorOn
153153

154154
/// If true, the Academy will use inference settings. This field is
155155
/// initialized in <see cref="Awake"/> depending on the presence
156-
/// or absence of a communicator. Furthermore, it can be modified during
156+
/// or absence of a communicator. Furthermore, it can be modified during
157157
/// training via <see cref="SetIsInference"/>.
158158
bool m_IsInference = true;
159159

@@ -184,13 +184,13 @@ public bool IsCommunicatorOn
184184
// Flag used to keep track of the first time the Academy is reset.
185185
bool m_FirstAcademyReset;
186186

187-
// The Academy uses a series of events to communicate with agents
187+
// The Academy uses a series of events to communicate with agents
188188
// to facilitate synchronization. More specifically, it ensure
189189
// that all the agents performs their steps in a consistent order (i.e. no
190190
// agent can act based on a decision before another agent has had a chance
191191
// to request a decision).
192192

193-
// Signals to all the Agents at each environment step so they can use
193+
// Signals to all the Agents at each environment step so they can use
194194
// their Policy to decide on their next action.
195195
public event System.Action DecideAction;
196196

@@ -568,13 +568,13 @@ void FixedUpdate()
568568
}
569569

570570
/// <summary>
571-
/// Creates or retrieves an existing ModelRunner that uses the same
571+
/// Creates or retrieves an existing ModelRunner that uses the same
572572
/// NNModel and the InferenceDevice as provided.
573573
/// </summary>
574574
/// <param name="model"> The NNModel the ModelRunner must use </param>
575-
/// <param name="brainParameters"> The brainParameters used to create
575+
/// <param name="brainParameters"> The brainParameters used to create
576576
/// the ModelRunner </param>
577-
/// <param name="inferenceDevice"> The inference device (CPU or GPU)
577+
/// <param name="inferenceDevice"> The inference device (CPU or GPU)
578578
/// the ModelRunner will use </param>
579579
/// <returns> The ModelRunner compatible with the input settings</returns>
580580
public ModelRunner GetOrCreateModelRunner(

gym-unity/gym_unity/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.11.0"
1+
__version__ = "0.12.0"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.11.0"
1+
__version__ = "0.12.0"

ml-agents-envs/mlagents/envs/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
class UnityEnvironment(BaseUnityEnvironment):
4141
SCALAR_ACTION_TYPES = (int, np.int32, np.int64, float, np.float32, np.float64)
4242
SINGLE_BRAIN_ACTION_TYPES = SCALAR_ACTION_TYPES + (list, np.ndarray)
43-
API_VERSION = "API-11"
43+
API_VERSION = "API-12"
4444

4545
def __init__(
4646
self,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.11.0"
1+
__version__ = "0.12.0"

0 commit comments

Comments
 (0)