浏览代码

Merge branch 'master' into undo-moved-from

/main
GitHub 4 年前
当前提交
6bfd0e2b
共有 5 个文件被更改,包括 11 次插入4 次删除
  1. 2
      com.unity.perception/CHANGELOG.md
  2. 9
      com.unity.perception/Runtime/GroundTruth/Labelers/InstanceSegmentationLabeler.cs
  3. 1
      com.unity.perception/Runtime/GroundTruth/Labelers/JointLabel.cs
  4. 1
      com.unity.perception/Runtime/GroundTruth/Labeling/Labeling.cs
  5. 2
      com.unity.perception/Runtime/Randomization/Scenarios/FixedLengthScenario.cs

2
com.unity.perception/CHANGELOG.md


The uniform toggle on Categorical Parameters will now reset the Parameter's probability weights to be uniform.
Reorganized Perception MonoBehaviour paths within the AddComponentMenu.
### Deprecated
### Removed

9
com.unity.perception/Runtime/GroundTruth/Labelers/InstanceSegmentationLabeler.cs


}
}
void OnImageCaptured(int frame, NativeArray<Color32> data, RenderTexture renderTexture)
void OnImageCaptured(int frameCount, NativeArray<Color32> data, RenderTexture renderTexture)
if (!m_AsyncAnnotations.ContainsKey(frameCount))
return;
m_InstancePath = $"{k_Directory}/{k_FilePrefix}{frame}.png";
var localPath = $"{Manager.Instance.GetDirectoryFor(k_Directory)}/{k_FilePrefix}{frame}.png";
m_InstancePath = $"{k_Directory}/{k_FilePrefix}{frameCount}.png";
var localPath = $"{Manager.Instance.GetDirectoryFor(k_Directory)}/{k_FilePrefix}{frameCount}.png";
var colors = new NativeArray<Color32>(data, Allocator.TempJob);

1
com.unity.perception/Runtime/GroundTruth/Labelers/JointLabel.cs


/// Label to designate a custom joint/keypoint. These are needed to add body
/// parts to a humanoid model that are not contained in its <see cref="Animator"/> <see cref="Avatar"/>
/// </summary>
[AddComponentMenu("Perception/Labeling/Joint Label")]
public class JointLabel : MonoBehaviour
{
/// <summary>

1
com.unity.perception/Runtime/GroundTruth/Labeling/Labeling.cs


/// <summary>
/// Defines a set of labels associated with the object and its descendants. A Labeling component will override any Labeling components on the object's ancestors.
/// </summary>
[AddComponentMenu("Perception/Labeling/Labeling")]
public class Labeling : MonoBehaviour
{
/// <summary>

2
com.unity.perception/Runtime/Randomization/Scenarios/FixedLengthScenario.cs


/// <summary>
/// A scenario that runs for a fixed number of frames during each iteration
/// </summary>
[AddComponentMenu("Perception/Randomization/Scenarios/Fixed Length Scenario")]
[AddComponentMenu("Perception/Scenarios/Fixed Length Scenario")]
public class FixedLengthScenario: UnitySimulationScenario<FixedLengthScenario.Constants>
{
/// <summary>

正在加载...
取消
保存