浏览代码

Merge pull request #967 from dericp/develop-fix-python-tests

Fixed Python tests.
/develop-generalizationTraining-TrainerController
GitHub 6 年前
当前提交
dcd4b4f9
共有 2 个文件被更改,包括 1 次插入3 次删除
  1. 1
      python/tests/mock_communicator.py
  2. 3
      python/tests/test_unitytrainers.py

1
python/tests/mock_communicator.py


camera_resolutions=resolutions,
vector_action_descriptions=["", ""],
vector_action_space_type=int(not self.is_discrete),
vector_observation_space_type=1,
brain_name="RealFakeBrain",
brain_type=2
)

3
python/tests/test_unitytrainers.py


"memorySize": 0,
"cameraResolutions": [],
"vectorActionDescriptions": ["",""],
"vectorActionSpaceType": 1,
"vectorObservationSpaceType": 1
"vectorActionSpaceType": 1
}]
}'''.encode()

正在加载...
取消
保存