Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions UnitySDK/Assets/ML-Agents/Scripts/Academy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public abstract class Academy : MonoBehaviour
[SerializeField]
public BroadcastHub broadcastHub = new BroadcastHub();

private const string k_KApiVersion = "API-9";
private const string k_KApiVersion = "API-10";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we want to increment this since I don't think anything has changed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had the same discussion with Vince during 0.9.0. Our current process is to tick at every version - not sure if we should continue to do so. It's a pain for our developers TBH, esp. if we don't change anything on the C# API side.


/// Temporary storage for global gravity value
/// Used to restore oringal value when deriving Academy modifies it
Expand Down Expand Up @@ -360,7 +360,7 @@ private void UpdateResetParameters()
customResetParameters = newResetParameters.CustomResetParameters;
}
}

/// <summary>
/// Configures the environment settings depending on the training/inference
/// mode and the corresponding parameters passed in the Editor.
Expand Down
4 changes: 2 additions & 2 deletions gym-unity/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

setup(
name="gym_unity",
version="0.4.6",
version="0.4.7",
description="Unity Machine Learning Agents Gym Interface",
license="Apache License 2.0",
author="Unity Technologies",
author_email="ML-Agents@unity3d.com",
url="https://github.com/Unity-Technologies/ml-agents",
packages=find_packages(),
install_requires=["gym", "mlagents_envs==0.9.3"],
install_requires=["gym", "mlagents_envs==0.10.0"],
)
2 changes: 1 addition & 1 deletion ml-agents-envs/mlagents/envs/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def __init__(
atexit.register(self._close)
self.port = base_port + worker_id
self._buffer_size = 12000
self._version_ = "API-9"
self._version_ = "API-10"
self._loaded = (
False
) # If true, this means the environment was successfully loaded
Expand Down
2 changes: 1 addition & 1 deletion ml-agents-envs/mlagents/envs/mock_communicator.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def initialize(self, inputs: UnityInput) -> UnityOutput:
is_training=True,
)
rl_init = UnityRLInitializationOutput(
name="RealFakeAcademy", version="API-9", log_path="", brain_parameters=[bp]
name="RealFakeAcademy", version="API-10", log_path="", brain_parameters=[bp]
)
return UnityOutput(rl_initialization_output=rl_init)

Expand Down
2 changes: 1 addition & 1 deletion ml-agents-envs/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="mlagents_envs",
version="0.9.3",
version="0.10.0",
description="Unity Machine Learning Agents Interface",
url="https://github.com/Unity-Technologies/ml-agents",
author="Unity Technologies",
Expand Down
4 changes: 2 additions & 2 deletions ml-agents/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="mlagents",
version="0.9.3",
version="0.10.0",
description="Unity Machine Learning Agents",
long_description=long_description,
long_description_content_type="text/markdown",
Expand All @@ -35,7 +35,7 @@
"h5py>=2.9.0",
"jupyter",
"matplotlib",
"mlagents_envs==0.9.3",
"mlagents_envs==0.10.0",
"numpy>=1.13.3,<2.0",
"Pillow>=4.2.1",
"protobuf>=3.6",
Expand Down