浏览代码

Update Barracuda to 0.5.0-preview. (#3329)

/asymm-envs
GitHub 5 年前
当前提交
93fa865e
共有 20 个文件被更改,包括 25 次插入9 次删除
  1. 1
      Project/Assets/ML-Agents/Examples/3DBall/TFModels/3DBall.nn.meta
  2. 1
      Project/Assets/ML-Agents/Examples/3DBall/TFModels/3DBallHard.nn.meta
  3. 1
      Project/Assets/ML-Agents/Examples/Basic/TFModels/Basic.nn.meta
  4. 1
      Project/Assets/ML-Agents/Examples/Bouncer/TFModels/Bouncer.nn.meta
  5. 1
      Project/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamic.nn.meta
  6. 1
      Project/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerStatic.nn.meta
  7. 1
      Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/FoodCollector.nn.meta
  8. 1
      Project/Assets/ML-Agents/Examples/GridWorld/TFModels/GridWorld.nn.meta
  9. 1
      Project/Assets/ML-Agents/Examples/Hallway/TFModels/Hallway.nn.meta
  10. 1
      Project/Assets/ML-Agents/Examples/PushBlock/TFModels/PushBlock.nn.meta
  11. 1
      Project/Assets/ML-Agents/Examples/Pyramids/TFModels/Pyramids.nn.meta
  12. 1
      Project/Assets/ML-Agents/Examples/Reacher/TFModels/Reacher.nn.meta
  13. 2
      Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs
  14. 1
      Project/Assets/ML-Agents/Examples/Tennis/TFModels/Tennis.nn.meta
  15. 1
      Project/Assets/ML-Agents/Examples/Walker/TFModels/Walker.nn.meta
  16. 1
      Project/Assets/ML-Agents/Examples/WallJump/TFModels/BigWallJump.nn.meta
  17. 1
      Project/Assets/ML-Agents/Examples/WallJump/TFModels/SmallWallJump.nn.meta
  18. 2
      com.unity.ml-agents/Editor/BehaviorParametersEditor.cs
  19. 10
      com.unity.ml-agents/Runtime/InferenceBrain/ModelRunner.cs
  20. 4
      com.unity.ml-agents/package.json

1
Project/Assets/ML-Agents/Examples/3DBall/TFModels/3DBall.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/3DBall/TFModels/3DBallHard.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/Basic/TFModels/Basic.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/Bouncer/TFModels/Bouncer.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerDynamic.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/Crawler/TFModels/CrawlerStatic.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/FoodCollector.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/GridWorld/TFModels/GridWorld.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/Hallway/TFModels/Hallway.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/PushBlock/TFModels/PushBlock.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/Pyramids/TFModels/Pyramids.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/Reacher/TFModels/Reacher.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

2
Project/Assets/ML-Agents/Examples/SharedAssets/Scripts/ModelOverrider.cs


}
var asset = ScriptableObject.CreateInstance<NNModel>();
asset.Value = model;
asset.modelData.Value = model;
asset.name = "Override - " + Path.GetFileName(assetPath);
m_CachedModels[behaviorName] = asset;
return asset;

1
Project/Assets/ML-Agents/Examples/Tennis/TFModels/Tennis.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/Walker/TFModels/Walker.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/WallJump/TFModels/BigWallJump.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

1
Project/Assets/ML-Agents/Examples/WallJump/TFModels/SmallWallJump.nn.meta


ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:

2
com.unity.ml-agents/Editor/BehaviorParametersEditor.cs


var brainParameters = behaviorParameters.brainParameters;
if (model != null)
{
barracudaModel = ModelLoader.Load(model.Value);
barracudaModel = ModelLoader.Load(model);
}
if (brainParameters != null)
{

10
com.unity.ml-agents/Runtime/InferenceBrain/ModelRunner.cs


D.logEnabled = m_Verbose;
barracudaModel = ModelLoader.Load(model.Value);
barracudaModel = ModelLoader.Load(model);
? BarracudaWorkerFactory.Type.ComputePrecompiled
: BarracudaWorkerFactory.Type.CSharp;
m_Engine = BarracudaWorkerFactory.CreateWorker(executionDevice, barracudaModel, m_Verbose);
? WorkerFactory.Type.ComputePrecompiled
: WorkerFactory.Type.CSharp;
m_Engine = WorkerFactory.CreateWorker(executionDevice, barracudaModel, m_Verbose);
}
else
{

var outputs = new List<TensorProxy>();
foreach (var n in names)
{
var output = m_Engine.Peek(n);
var output = m_Engine.PeekOutput(n);
outputs.Add(TensorUtils.TensorProxyFromBarracuda(output, n));
}

4
com.unity.ml-agents/package.json


"displayName":"ML Agents",
"version": "0.13.0-preview",
"unity": "2018.4",
"description": "Add interactivity to your game with ML-Agents trained using Deep Reinforcement Learning. \n\nFor best results, use this text to summarize: \n\u25AA What the package does \n\u25AA How it can benefit the user \n\nNote: Special formatting characters are supported, including line breaks ('\\n') and bullets ('\\u25AA').",
"description": "Add interactivity to your game with ML-Agents trained using Deep Reinforcement Learning.",
"com.unity.barracuda": "0.4.0-preview"
"com.unity.barracuda": "0.5.0-preview"
}
}
正在加载...
取消
保存