浏览代码

Fixing strange issues

/layernorm
vincentpierre 3 年前
当前提交
a1d1d7a7
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      gym-unity/gym_unity/tests/test_gym.py
  2. 2
      ml-agents-envs/mlagents_envs/environment.py

2
gym-unity/gym_unity/tests/test_gym.py


def setup_mock_unityenvironment(mock_env, mock_spec, mock_decision, mock_termination):
"""
Takes a mock Unitsensor_specst and adds the appropriate properties, defined by the mock
Takes a mock UnityEnvironment and adds the appropriate properties, defined by the mock
GroupSpec and BatchedStepResult.
:Mock mock_env: A mock UnityEnvironment, usually empty.

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


if not caps.baseRLCapabilities:
logger.warning(
"WARNING: The Unity process is not running with the expected base Reinforcement Learning"
" capabilities. Please be sure upgrade the Unity Package sensor_specsn that is compatible with this "
" capabilities. Please be sure upgrade the Unity Package to a version that is compatible with this "
"python package.\n"
f"Python package version: {python_package_ver}, C# package version: {unity_package_ver}"
f"Please find the versions that work best together from our release page.\n"

正在加载...
取消
保存