小编Jad*_*ams的帖子

ML Agents - 多个代理打破了训练

我一直在研究一种自平衡代理,它努力将腰部保持在一定的高度。最近,我升级了“大腿”,允许 3 轴旋转,而不是之前的 2 轴。完成此操作并修改机器学习代理代码以允许使用子传感器后,代理现在似乎不再与多个代理/区域一起工作。我不知道为什么会发生这种情况。需要明确的是,唯一的工作特工表现得比平时更加​​“爆炸”。当它独自一人时,它在尝试平衡时会更加平静。也许我在这个过程中搞砸了其他事情?如果有人有任何想法,我都愿意。谢谢你!

损坏的机器学习代理 代理人检验员

代理脚本:

using MLAgents;
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using MLAgents.Sensor;
using Random = UnityEngine.Random;

public class BalanceAgent : Agent
{
    private BalancingArea area;
    public GameObject floor;
    public GameObject sensor;
    public GameObject waist;
    public GameObject wFront;           //Used to check balance of waist.
    public GameObject wBack;           //Used to check balance of waist.
    public GameObject hipR;
    public GameObject hipL;
    public GameObject buttR;
    public GameObject buttL;
    public GameObject thighR;
    public …
Run Code Online (Sandbox Code Playgroud)

c# artificial-intelligence machine-learning unity-game-engine ml-agent

5
推荐指数
1
解决办法
150
查看次数