浏览代码

not using output path.

/develop/sample-curation
Christopher Goy 4 年前
当前提交
65ebddc5
共有 1 个文件被更改,包括 0 次插入7 次删除
  1. 7
      Project/Assets/ML-Agents/Editor/Tests/SampleExporter.cs

7
Project/Assets/ML-Agents/Editor/Tests/SampleExporter.cs


{
public class SampleExporter
{
const string k_OutputCommandLineFlag = "--mlagents-sample-ouput-path";
const string k_SceneFlag = "--mlagents-scene-path";
public static void ExportCuratedSamples()

try
{
var args = Environment.GetCommandLineArgs();
var outputPath = "exported_samples";
if (args[i] == k_OutputCommandLineFlag)
{
outputPath = args[i + 1];
Debug.Log($"Overriding output path to {outputPath}");
}
if (args[i] == k_SceneFlag)
{
scenes.Add(args[i + 1]);

正在加载...
取消
保存