浏览代码

fix push data into buffer

/ai-hw-2021
Ruo-Ping Dong 4 年前
当前提交
5691d9f6
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 9
      com.unity.ml-agents/Runtime/Policies/TrainingPolicy.cs

9
com.unity.ml-agents/Runtime/Policies/TrainingPolicy.cs


m_buffer.Push(m_LastInfo, m_LastObservations, m_CurrentObservations);
}
m_LastInfo = info;
m_LastObservations = m_CurrentObservations;
m_buffer.Push(info, m_CurrentObservations, m_CurrentObservations); // dummy next_state
}
else
{
m_LastInfo = info;
m_LastObservations = m_CurrentObservations;
}
}

正在加载...
取消
保存