Aryan Mann
3 年前
当前提交
92ec0466
共有 11 个文件被更改,包括 410 次插入 和 449 次删除
-
40com.unity.perception/Runtime/PerceptionAnalytics.cs
-
68com.unity.perception/Runtime/PerceptionAnalyticsStructs.cs
-
241com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/ScenarioTests.cs
-
224com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/analyticsSerializationExample.json
-
7com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/analyticsSerializationExample.json.meta
-
24com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/sampleAnimationPoseConfig.asset
-
8com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/sampleAnimationPoseConfig.asset.meta
-
23com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/sampleIdLabelConfig.asset
-
8com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/sampleIdLabelConfig.asset.meta
-
209com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/randomizerAnalyticsSerializationExample.json
-
7com.unity.perception/Tests/Runtime/Randomization/ScenarioTests/Resources/randomizerAnalyticsSerializationExample.json.meta
|
|||
{ |
|||
"platform": "OSXEditor", |
|||
"perceptionCamera": { |
|||
"captureTriggerMode": "Scheduled", |
|||
"startAtFrame": 2, |
|||
"framesBetweenCaptures": 10 |
|||
}, |
|||
"labelers": [ |
|||
{ "name": "BoundingBox2DLabeler", "labelConfigCount": 3, "objectFilter": "", "animationPoseCount": 0 }, |
|||
{ "name": "RenderedObjectInfoLabeler", "labelConfigCount": 3, "objectFilter": "", "animationPoseCount": 0 }, |
|||
{ "name": "KeypointLabeler", "labelConfigCount": 3, "objectFilter": "Visible", "animationPoseCount": 2 } |
|||
], |
|||
"randomizers": [ |
|||
{ |
|||
"name": "AllMembersAndParametersTestRandomizer", |
|||
"members": [ |
|||
{ |
|||
"name": "booleanMember", |
|||
"value": "False", |
|||
"type": "System.Boolean" |
|||
}, |
|||
{ |
|||
"name": "intMember", |
|||
"value": "4", |
|||
"type": "System.Int32" |
|||
}, |
|||
{ |
|||
"name": "uintMember", |
|||
"value": "2", |
|||
"type": "System.UInt32" |
|||
}, |
|||
{ |
|||
"name": "floatMember", |
|||
"value": "5", |
|||
"type": "System.Single" |
|||
}, |
|||
{ |
|||
"name": "vector2Member", |
|||
"value": "(4.0, 7.0)", |
|||
"type": "UnityEngine.Vector2" |
|||
}, |
|||
{ |
|||
"name": "unsupportedMember", |
|||
"value": "UnityEngine.Perception.Randomization.Samplers.UniformSampler", |
|||
"type": "UnityEngine.Perception.Randomization.Samplers.UniformSampler" |
|||
} |
|||
], |
|||
"parameters": [ |
|||
{ |
|||
"name": "booleanParam", |
|||
"type": "BooleanParameter", |
|||
"fields": [ |
|||
{ |
|||
"name": "value", |
|||
"distribution": "Constant", |
|||
"value": 1.0, |
|||
"rangeMinimum": 0.0, |
|||
"rangeMaximum": 0.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "floatParam", |
|||
"type": "FloatParameter", |
|||
"fields": [ |
|||
{ |
|||
"name": "value", |
|||
"distribution": "AnimationCurve", |
|||
"value": 0.0, |
|||
"rangeMinimum": 0.0, |
|||
"rangeMaximum": 0.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "integerParam", |
|||
"type": "IntegerParameter", |
|||
"fields": [ |
|||
{ |
|||
"name": "value", |
|||
"distribution": "Uniform", |
|||
"value": 0.0, |
|||
"rangeMinimum": -3.0, |
|||
"rangeMaximum": 7.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "vector2Param", |
|||
"type": "Vector2Parameter", |
|||
"fields": [ |
|||
{ |
|||
"name": "x", |
|||
"distribution": "Constant", |
|||
"value": 2.0, |
|||
"rangeMinimum": 0.0, |
|||
"rangeMaximum": 0.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
}, |
|||
{ |
|||
"name": "y", |
|||
"distribution": "Uniform", |
|||
"value": 0.0, |
|||
"rangeMinimum": -4.0, |
|||
"rangeMaximum": 8.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "vector3Param", |
|||
"type": "Vector3Parameter", |
|||
"fields": [ |
|||
{ |
|||
"name": "x", |
|||
"distribution": "Normal", |
|||
"value": 0.0, |
|||
"rangeMinimum": -5.0, |
|||
"rangeMaximum": 9.0, |
|||
"mean": 4.0, |
|||
"stdDev": 2.0, |
|||
"categoricalParameterCount": 0 |
|||
}, |
|||
{ |
|||
"name": "y", |
|||
"distribution": "Constant", |
|||
"value": 3.0, |
|||
"rangeMinimum": 0.0, |
|||
"rangeMaximum": 0.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
}, |
|||
{ |
|||
"name": "z", |
|||
"distribution": "AnimationCurve", |
|||
"value": 0.0, |
|||
"rangeMinimum": 0.0, |
|||
"rangeMaximum": 0.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "vector4Param", |
|||
"type": "Vector4Parameter", |
|||
"fields": [ |
|||
{ |
|||
"name": "x", |
|||
"distribution": "Normal", |
|||
"value": 0.0, |
|||
"rangeMinimum": -5.0, |
|||
"rangeMaximum": 9.0, |
|||
"mean": 4.0, |
|||
"stdDev": 2.0, |
|||
"categoricalParameterCount": 0 |
|||
}, |
|||
{ |
|||
"name": "y", |
|||
"distribution": "Constant", |
|||
"value": 3.0, |
|||
"rangeMinimum": 0.0, |
|||
"rangeMaximum": 0.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
}, |
|||
{ |
|||
"name": "z", |
|||
"distribution": "AnimationCurve", |
|||
"value": 0.0, |
|||
"rangeMinimum": 0.0, |
|||
"rangeMaximum": 0.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
}, |
|||
{ |
|||
"name": "w", |
|||
"distribution": "Uniform", |
|||
"value": 0.0, |
|||
"rangeMinimum": -12.0, |
|||
"rangeMaximum": 42.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 0 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name": "colorRgbCategoricalParam", |
|||
"type": "ColorRgbCategoricalParameter", |
|||
"fields": [ |
|||
{ |
|||
"name": "values", |
|||
"distribution": "Categorical", |
|||
"value": 0.0, |
|||
"rangeMinimum": 0.0, |
|||
"rangeMaximum": 0.0, |
|||
"mean": 0.0, |
|||
"stdDev": 0.0, |
|||
"categoricalParameterCount": 3 |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 72cc983a50b61400a8489261c65b3e41 |
|||
TextScriptImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 4c69656f5dd14516a3a18e42b3b43a4e, type: 3} |
|||
m_Name: sampleAnimationPoseConfig |
|||
m_EditorClassIdentifier: |
|||
animationClip: {fileID: 0} |
|||
m_Timestamps: |
|||
- startOffsetPercent: 0 |
|||
poseLabel: a |
|||
- startOffsetPercent: 24 |
|||
poseLabel: b |
|||
- startOffsetPercent: 45 |
|||
poseLabel: c |
|||
- startOffsetPercent: 89 |
|||
poseLabel: d |
|
|||
fileFormatVersion: 2 |
|||
guid: 92646dbc24d95413084b0787214fdcb3 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!114 &11400000 |
|||
MonoBehaviour: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 0} |
|||
m_Enabled: 1 |
|||
m_EditorHideFlags: 0 |
|||
m_Script: {fileID: 11500000, guid: 2f09f279848e42cea259348b13bce4c5, type: 3} |
|||
m_Name: sampleIdLabelConfig |
|||
m_EditorClassIdentifier: |
|||
m_LabelEntries: |
|||
- label: Test 1 |
|||
id: 1 |
|||
- label: Test 2 |
|||
id: 2 |
|||
- label: Test 3 |
|||
id: 3 |
|||
autoAssignIds: 1 |
|||
startingLabelId: 1 |
|
|||
fileFormatVersion: 2 |
|||
guid: c3dce9f8036624486bdc1e97f0934aa1 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 11400000 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
{ |
|||
"name":"AllMembersAndParametersTestRandomizer", |
|||
"members":[ |
|||
{ |
|||
"name":"booleanMember", |
|||
"value":"False", |
|||
"type":"System.Boolean" |
|||
}, |
|||
{ |
|||
"name":"intMember", |
|||
"value":"4", |
|||
"type":"System.Int32" |
|||
}, |
|||
{ |
|||
"name":"uintMember", |
|||
"value":"2", |
|||
"type":"System.UInt32" |
|||
}, |
|||
{ |
|||
"name":"floatMember", |
|||
"value":"5", |
|||
"type":"System.Single" |
|||
}, |
|||
{ |
|||
"name":"vector2Member", |
|||
"value":"(4.0, 7.0)", |
|||
"type":"UnityEngine.Vector2" |
|||
}, |
|||
{ |
|||
"name":"unsupportedMember", |
|||
"value":"UnityEngine.Perception.Randomization.Samplers.UniformSampler", |
|||
"type":"UnityEngine.Perception.Randomization.Samplers.UniformSampler" |
|||
} |
|||
], |
|||
"parameters":[ |
|||
{ |
|||
"name":"booleanParam", |
|||
"type":"BooleanParameter", |
|||
"fields":[ |
|||
{ |
|||
"name":"value", |
|||
"distribution":"Constant", |
|||
"value":1.0, |
|||
"rangeMinimum":-2.14748365E+09, |
|||
"rangeMaximum":-2.14748365E+09, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name":"floatParam", |
|||
"type":"FloatParameter", |
|||
"fields":[ |
|||
{ |
|||
"name":"value", |
|||
"distribution":"AnimationCurve", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-2.14748365E+09, |
|||
"rangeMaximum":-2.14748365E+09, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name":"integerParam", |
|||
"type":"IntegerParameter", |
|||
"fields":[ |
|||
{ |
|||
"name":"value", |
|||
"distribution":"Uniform", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-3.0, |
|||
"rangeMaximum":7.0, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name":"vector2Param", |
|||
"type":"Vector2Parameter", |
|||
"fields":[ |
|||
{ |
|||
"name":"x", |
|||
"distribution":"Constant", |
|||
"value":2.0, |
|||
"rangeMinimum":-2.14748365E+09, |
|||
"rangeMaximum":-2.14748365E+09, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
}, |
|||
{ |
|||
"name":"y", |
|||
"distribution":"Uniform", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-4.0, |
|||
"rangeMaximum":8.0, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name":"vector3Param", |
|||
"type":"Vector3Parameter", |
|||
"fields":[ |
|||
{ |
|||
"name":"x", |
|||
"distribution":"Normal", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-5.0, |
|||
"rangeMaximum":9.0, |
|||
"mean":4.0, |
|||
"stdDev":2.0, |
|||
"categoricalParameterCount":-2147483648 |
|||
}, |
|||
{ |
|||
"name":"y", |
|||
"distribution":"Constant", |
|||
"value":3.0, |
|||
"rangeMinimum":-2.14748365E+09, |
|||
"rangeMaximum":-2.14748365E+09, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
}, |
|||
{ |
|||
"name":"z", |
|||
"distribution":"AnimationCurve", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-2.14748365E+09, |
|||
"rangeMaximum":-2.14748365E+09, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name":"vector4Param", |
|||
"type":"Vector4Parameter", |
|||
"fields":[ |
|||
{ |
|||
"name":"x", |
|||
"distribution":"Normal", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-5.0, |
|||
"rangeMaximum":9.0, |
|||
"mean":4.0, |
|||
"stdDev":2.0, |
|||
"categoricalParameterCount":-2147483648 |
|||
}, |
|||
{ |
|||
"name":"y", |
|||
"distribution":"Constant", |
|||
"value":3.0, |
|||
"rangeMinimum":-2.14748365E+09, |
|||
"rangeMaximum":-2.14748365E+09, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
}, |
|||
{ |
|||
"name":"z", |
|||
"distribution":"AnimationCurve", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-2.14748365E+09, |
|||
"rangeMaximum":-2.14748365E+09, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
}, |
|||
{ |
|||
"name":"w", |
|||
"distribution":"Uniform", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-12.0, |
|||
"rangeMaximum":42.0, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":-2147483648 |
|||
} |
|||
] |
|||
}, |
|||
{ |
|||
"name":"colorRgbCategoricalParam", |
|||
"type":"ColorRgbCategoricalParameter", |
|||
"fields":[ |
|||
{ |
|||
"name":"values", |
|||
"distribution":"Categorical", |
|||
"value":-2.14748365E+09, |
|||
"rangeMinimum":-2.14748365E+09, |
|||
"rangeMaximum":-2.14748365E+09, |
|||
"mean":-2.14748365E+09, |
|||
"stdDev":-2.14748365E+09, |
|||
"categoricalParameterCount":3 |
|||
} |
|||
] |
|||
} |
|||
] |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: cc8e181627cad4a7d99440e32e0c03ea |
|||
TextScriptImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue