浏览代码

Fix mypy issue

/develop-newnormalization
Ervin Teng 5 年前
当前提交
4981c856
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 4
      ml-agents/mlagents/trainers/agent_processor.py

4
ml-agents/mlagents/trainers/agent_processor.py


for agent_id in next_info.agents:
stored_info = self.last_brain_info.get(agent_id, None)
stored_take_action_outputs = self.last_take_action_outputs.get(
agent_id, None
)
stored_take_action_outputs = self.last_take_action_outputs[agent_id]
idx = stored_info.agents.index(agent_id)
next_idx = next_info.agents.index(agent_id)
obs = []

正在加载...
取消
保存