浏览代码

fix the exception typo, should be "3D" not "2D"

/fix-3Dexception-typo
RuiyuZ 3 年前
当前提交
823ee73d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      com.unity.perception/Runtime/GroundTruth/Labelers/BoundingBox3DLabeler.cs

2
com.unity.perception/Runtime/GroundTruth/Labelers/BoundingBox3DLabeler.cs


protected override void Setup()
{
if (idLabelConfig == null)
throw new InvalidOperationException("BoundingBox2DLabeler's idLabelConfig field must be assigned");
throw new InvalidOperationException("BoundingBox3DLabeler's idLabelConfig field must be assigned");
m_AnnotationDefinition = DatasetCapture.RegisterAnnotationDefinition("bounding box 3D", idLabelConfig.GetAnnotationSpecification(),
"Bounding box for each labeled object visible to the sensor", id: new Guid(annotationId));

正在加载...
取消
保存