diff --git a/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs b/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs index 65ce475e39..c96e723e6f 100644 --- a/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs +++ b/UnitySDK/Assets/ML-Agents/Scripts/Academy.cs @@ -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"; /// Temporary storage for global gravity value /// Used to restore oringal value when deriving Academy modifies it @@ -360,7 +360,7 @@ private void UpdateResetParameters() customResetParameters = newResetParameters.CustomResetParameters; } } - + /// /// Configures the environment settings depending on the training/inference /// mode and the corresponding parameters passed in the Editor. diff --git a/gym-unity/setup.py b/gym-unity/setup.py index 2095409f87..565858e076 100755 --- a/gym-unity/setup.py +++ b/gym-unity/setup.py @@ -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"], ) diff --git a/ml-agents-envs/mlagents/envs/environment.py b/ml-agents-envs/mlagents/envs/environment.py index 77dd3f9824..f7a6522272 100644 --- a/ml-agents-envs/mlagents/envs/environment.py +++ b/ml-agents-envs/mlagents/envs/environment.py @@ -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 diff --git a/ml-agents-envs/mlagents/envs/mock_communicator.py b/ml-agents-envs/mlagents/envs/mock_communicator.py index b24938515a..3c621cf667 100755 --- a/ml-agents-envs/mlagents/envs/mock_communicator.py +++ b/ml-agents-envs/mlagents/envs/mock_communicator.py @@ -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) diff --git a/ml-agents-envs/setup.py b/ml-agents-envs/setup.py index 24e6a3b777..0c768c85a3 100644 --- a/ml-agents-envs/setup.py +++ b/ml-agents-envs/setup.py @@ -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", diff --git a/ml-agents/setup.py b/ml-agents/setup.py index 19895b86ff..7a43f16a1f 100644 --- a/ml-agents/setup.py +++ b/ml-agents/setup.py @@ -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", @@ -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",