浏览代码

Tick version number for 0.9 (#2331)

* Tick versions of gym, ml-agents, ml-agents-envs

* Tick communication API to 9
/develop-generalizationTraining-TrainerController
GitHub 6 年前
当前提交
33cb438b
共有 6 个文件被更改,包括 8 次插入8 次删除
  1. 2
      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

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


[SerializeField]
public BroadcastHub broadcastHub = new BroadcastHub();
private const string kApiVersion = "API-8";
private const string kApiVersion = "API-9";
/// Temporary storage for global gravity value
/// Used to restore oringal value when deriving Academy modifies it

4
gym-unity/setup.py


setup(
name="gym_unity",
version="0.4.2",
version="0.4.3",
description="Unity Machine Learning Agents Gym Interface",
license="Apache License 2.0",
author="Unity Technologies",

install_requires=["gym", "mlagents_envs==0.8.2"],
install_requires=["gym", "mlagents_envs==0.9.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-8"
self._version_ = "API-9"
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-8", log_path="", brain_parameters=[bp]
name="RealFakeAcademy", version="API-9", log_path="", brain_parameters=[bp]
)
return UnityOutput(rl_initialization_output=rl_init)

2
ml-agents-envs/setup.py


setup(
name="mlagents_envs",
version="0.8.2",
version="0.9.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.8.2",
version="0.9.0",
description="Unity Machine Learning Agents",
long_description=long_description,
long_description_content_type="text/markdown",

),
zip_safe=False,
install_requires=[
"mlagents_envs==0.8.2",
"mlagents_envs==0.9.0",
"tensorflow>=1.7,<1.8",
"Pillow>=4.2.1",
"matplotlib",

正在加载...
取消
保存