浏览代码

scenario's random seed is now reported as a metric automatically

/main
Steven Leal 4 年前
当前提交
d9776715
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
      com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs

5
com.unity.perception/Runtime/Randomization/Scenarios/ScenarioBase.cs


void Start()
{
var randomSeedMetricDefinition = DatasetCapture.RegisterMetricDefinition(
"random-seed",
"The random seed used to initialize the random state of the simulation. Only triggered once per simulation.",
Guid.Parse("A0B4Z92C-7420-4D9F-B5FC-854B8F7B75A0"));
DatasetCapture.ReportMetric(randomSeedMetricDefinition, new[] { genericConstants.randomSeed });
Deserialize();
}

正在加载...
取消
保存