浏览代码

fix agent processor test

/develop/action-slice
Andrew Cohen 4 年前
当前提交
d81d0be3
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 3
      ml-agents/mlagents/trainers/tests/test_agent_processor.py

3
ml-agents/mlagents/trainers/tests/test_agent_processor.py


fake_action_info = ActionInfo(
action=ActionTuple(continuous=np.array([[0.1], [0.1]])),
env_action=ActionTuple(continuous=np.array([[0.1], [0.1]])),
value=[0.1, 0.1],
outputs=fake_action_outputs,
agent_ids=mock_decision_steps.agent_id,
)

fake_action_info = ActionInfo(
action=ActionTuple(continuous=np.array([[0.1]])),
env_action=ActionTuple(continuous=np.array([[0.1]])),
value=[0.1],
outputs=fake_action_outputs,
agent_ids=mock_decision_step.agent_id,
)

fake_action_info = ActionInfo(
action=ActionTuple(continuous=np.array([[0.1]])),
env_action=ActionTuple(continuous=np.array([[0.1]])),
value=[0.1],
outputs=fake_action_outputs,
agent_ids=mock_decision_step.agent_id,
)

正在加载...
取消
保存