浏览代码

Merge remote-tracking branch 'upstream/develop' into develop-flat-code-restructure

/develop-generalizationTraining-TrainerController
Deric Pang 6 年前
当前提交
e55b1764
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      mlagents/trainers/ppo/trainer.py

2
mlagents/trainers/ppo/trainer.py


prev_text_actions = []
for agent_id in next_info.agents:
agent_brain_info = self.training_buffer[agent_id].last_brain_info
agent_index = agent_brain_info.agents.index(agent_id)
agent_index = agent_brain_info.agents.index(agent_id)
for i in range(len(next_info.visual_observations)):
visual_observations[i].append(agent_brain_info.visual_observations[i][agent_index])
vector_observations.append(agent_brain_info.vector_observations[agent_index])

正在加载...
取消
保存