浏览代码

Tick version of API and pypi packages to 10 (#2610)

* Tick versions for pip packages
* Tick API version to 10
/develop-gpu-test
GitHub 5 年前
当前提交
6f9a2dfa
共有 6 个文件被更改,包括 9 次插入9 次删除
  1. 4
      UnitySDK/Assets/ML-Agents/Scripts/Academy.cs
  2. 4
      gym-unity/setup.py
  3. 2
      ml-agents-envs/mlagents/envs/environment.py
  4. 2
      ml-agents-envs/mlagents/envs/mock_communicator.py
  5. 2
      ml-agents-envs/setup.py
  6. 4
      ml-agents/setup.py

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


[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

customResetParameters = newResetParameters.CustomResetParameters;
}
}
/// <summary>
/// Configures the environment settings depending on the training/inference
/// mode and the corresponding parameters passed in the Editor.

4
gym-unity/setup.py


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",

install_requires=["gym", "mlagents_envs==0.9.3"],
install_requires=["gym", "mlagents_envs==0.10.0"],
)

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


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

2
ml-agents-envs/mlagents/envs/mock_communicator.py


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)

2
ml-agents-envs/setup.py


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",

4
ml-agents/setup.py


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",

"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",

正在加载...
取消
保存