浏览代码

[Fix bug 1040] (#1062)

/develop-generalizationTraining-TrainerController
Arthur Juliani 6 年前
当前提交
52865022
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      python/unitytrainers/ppo/trainer.py

2
python/unitytrainers/ppo/trainer.py


self.training_buffer[agent_id]['visual_obs%d' % i].append(
stored_info.visual_observations[i][idx])
self.training_buffer[agent_id]['next_visual_obs%d' % i].append(
next_info.visual_observations[i][idx])
next_info.visual_observations[i][next_idx])
if self.use_vector_obs:
self.training_buffer[agent_id]['vector_obs'].append(stored_info.vector_observations[idx])
self.training_buffer[agent_id]['next_vector_in'].append(

正在加载...
取消
保存