浏览代码

Edited the Tennis code and retrained the model (#1746)

Addressing #1739
/develop-generalizationTraining-TrainerController
GitHub 6 年前
当前提交
7703355e
共有 3 个文件被更改,包括 534 次插入278 次删除
  1. 2
      UnitySDK/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs
  2. 808
      UnitySDK/Assets/ML-Agents/Examples/Tennis/TFModels/TennisLearning.nn
  3. 2
      UnitySDK/Assets/ML-Agents/Examples/Tennis/TFModels/TennisLearning.nn.meta

2
UnitySDK/Assets/ML-Agents/Examples/Tennis/Scripts/TennisAgent.cs


public override void InitializeAgent()
{
agentRb = GetComponent<Rigidbody>();
ballRb = GetComponent<Rigidbody>();
ballRb = ball.GetComponent<Rigidbody>();
var canvas = GameObject.Find(CanvasName);
GameObject scoreBoard;
if (invertX)

808
UnitySDK/Assets/ML-Agents/Examples/Tennis/TFModels/TennisLearning.nn
文件差异内容过多而无法显示
查看文件

2
UnitySDK/Assets/ML-Agents/Examples/Tennis/TFModels/TennisLearning.nn.meta


fileFormatVersion: 2
guid: 14a6405c810e241918d14d3b6226b87b
guid: 0b22bc7e45e8347fd897bdf0e1d38c6e
ScriptedImporter:
userData:
assetBundleName:
正在加载...
取消
保存