浏览代码

reduced laser cd/increased heal

/asymm-envs
Andrew Cohen 5 年前
当前提交
384f6439
共有 2 个文件被更改,包括 6 次插入6 次删除
  1. 4
      Project/Assets/ML-Agents/Examples/CubeWars/Scripts/SmallCubeAgent.cs
  2. 8
      config/trainer_config.yaml

4
Project/Assets/ML-Agents/Examples/CubeWars/Scripts/SmallCubeAgent.cs


}
if (shootCommand)
{
if (Time.time > m_ShootTime + .5f)
if (Time.time > m_ShootTime + .4f)
{
m_Shoot = true;
dirToGo *= 0.5f;

{
if (m_HitPoints < 1f)
{
m_HitPoints = Mathf.Min(m_HitPoints + .2f, 1f);
m_HitPoints = Mathf.Min(m_HitPoints + .25f, 1f);
HealthStatus();
}
}

8
config/trainer_config.yaml


SmallCubeSoldier:
normalize: false
max_steps: 2.0e7
max_steps: 5.0e7
learning_rate_schedule: constant
batch_size: 2048
buffer_size: 20480

self_play:
window: 50
window: 20
play_against_latest_model_ratio: 0.5
save_steps: 50000
swap_steps: 150000

normalize: false
max_steps: 2.0e7
max_steps: 5.0e7
learning_rate_schedule: constant
batch_size: 2048
buffer_size: 20480

self_play:
window: 50
window: 20
play_against_latest_model_ratio: 0.5
save_steps: 50000
swap_steps: 17000

正在加载...
取消
保存