浏览代码

More experimentation

/hw20-segmentation
Jonathan Harper 4 年前
当前提交
7656f419
共有 23 个文件被更改,包括 6428 次插入533 次删除
  1. 4
      Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/BadFood.prefab
  2. 4
      Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/Food.prefab
  3. 71
      Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/FoodCollectorArea.prefab
  4. 851
      Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/VisualFoodCollectorArea.prefab
  5. 809
      Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector.unity
  6. 2
      Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector.unity.meta
  7. 4
      Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs
  8. 2
      Project/ProjectSettings/DynamicsManager.asset
  9. 8
      Project/ProjectSettings/EditorBuildSettings.asset
  10. 1
      Project/ProjectSettings/GraphicsSettings.asset
  11. 125
      com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs
  12. 2
      com.unity.ml-agents/Runtime/Sensors/ColorEncoding.cs
  13. 1001
      Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector-hackweekbackup.unity
  14. 7
      Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector-hackweekbackup.unity.meta
  15. 1001
      Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector-segmented.unity
  16. 7
      Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector-segmented.unity.meta
  17. 1001
      Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-autoseg-linux-1.nn
  18. 11
      Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-autoseg-linux-1.nn.meta
  19. 1001
      Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-autoseg-linux-2.nn
  20. 11
      Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-autoseg-linux-2.nn.meta
  21. 1001
      Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-depthfood-1agent3.nn
  22. 11
      Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-depthfood-1agent3.nn.meta
  23. 26
      config/ppo/VisualFoodCollector-linuxworking.yaml

4
Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/BadFood.prefab


m_GameObject: {fileID: 1853821981215314}
serializedVersion: 2
m_Mass: 5
m_Drag: 0
m_AngularDrag: 0.05
m_Drag: 0.1
m_AngularDrag: 0.1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0

4
Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/Food.prefab


m_GameObject: {fileID: 1699568242032636}
serializedVersion: 2
m_Mass: 5
m_Drag: 0
m_AngularDrag: 0.05
m_Drag: 0.1
m_AngularDrag: 0.1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0

71
Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/FoodCollectorArea.prefab


m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
vectorObservationSize: 4
numStackedVectorObservations: 1
vectorActionSize: 03000000030000000300000002000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
VectorObservationSize: 4
NumStackedVectorObservations: 1
VectorActionSize: 03000000030000000300000002000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 36ab3e93020504f48858d0856f939685, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0

m_ObservableAttributeHandling: 0
--- !u!114 &114176228333253036
MonoBehaviour:
m_ObjectHideFlags: 0

agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
maxStep: 5000
MaxStep: 5000
area: {fileID: 1819751139121548}
turnSpeed: 300
moveSpeed: 2

m_EditorClassIdentifier:
DecisionPeriod: 5
TakeActionsBetweenDecisions: 1
offsetStep: 0
--- !u!114 &1222199865870203693
MonoBehaviour:
m_ObjectHideFlags: 0

m_Script: {fileID: 11500000, guid: 3a6da8f78a394c6ab027688eab81e04d, type: 3}
m_Name:
m_EditorClassIdentifier:
debugCommandLineOverride:
--- !u!1 &1482701732800114
GameObject:
m_ObjectHideFlags: 0

m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
vectorObservationSize: 4
numStackedVectorObservations: 1
vectorActionSize: 03000000030000000300000002000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
VectorObservationSize: 4
NumStackedVectorObservations: 1
VectorActionSize: 03000000030000000300000002000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 36ab3e93020504f48858d0856f939685, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0

m_ObservableAttributeHandling: 0
--- !u!114 &114711827726849508
MonoBehaviour:
m_ObjectHideFlags: 0

agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
maxStep: 5000
MaxStep: 5000
area: {fileID: 1819751139121548}
turnSpeed: 300
moveSpeed: 2

m_EditorClassIdentifier:
DecisionPeriod: 5
TakeActionsBetweenDecisions: 1
offsetStep: 0
--- !u!1 &1528397385587768
GameObject:
m_ObjectHideFlags: 0

m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
vectorObservationSize: 4
numStackedVectorObservations: 1
vectorActionSize: 03000000030000000300000002000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
VectorObservationSize: 4
NumStackedVectorObservations: 1
VectorActionSize: 03000000030000000300000002000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 36ab3e93020504f48858d0856f939685, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0

m_ObservableAttributeHandling: 0
--- !u!114 &114542632553128056
MonoBehaviour:
m_ObjectHideFlags: 0

agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
maxStep: 5000
MaxStep: 5000
area: {fileID: 1819751139121548}
turnSpeed: 300
moveSpeed: 2

m_EditorClassIdentifier:
DecisionPeriod: 5
TakeActionsBetweenDecisions: 1
offsetStep: 0
--- !u!1 &1617924810425504
GameObject:
m_ObjectHideFlags: 0

m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
vectorObservationSize: 4
numStackedVectorObservations: 1
vectorActionSize: 03000000030000000300000002000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
VectorObservationSize: 4
NumStackedVectorObservations: 1
VectorActionSize: 03000000030000000300000002000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 36ab3e93020504f48858d0856f939685, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0

m_ObservableAttributeHandling: 0
--- !u!114 &114189751434580810
MonoBehaviour:
m_ObjectHideFlags: 0

agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
maxStep: 5000
MaxStep: 5000
area: {fileID: 1819751139121548}
turnSpeed: 300
moveSpeed: 2

m_EditorClassIdentifier:
DecisionPeriod: 5
TakeActionsBetweenDecisions: 1
offsetStep: 0
--- !u!1 &1688105343773098
GameObject:
m_ObjectHideFlags: 0

m_Name:
m_EditorClassIdentifier:
m_BrainParameters:
vectorObservationSize: 4
numStackedVectorObservations: 1
vectorActionSize: 03000000030000000300000002000000
vectorActionDescriptions: []
vectorActionSpaceType: 0
VectorObservationSize: 4
NumStackedVectorObservations: 1
VectorActionSize: 03000000030000000300000002000000
VectorActionDescriptions: []
VectorActionSpaceType: 0
m_Model: {fileID: 11400000, guid: 36ab3e93020504f48858d0856f939685, type: 3}
m_InferenceDevice: 0
m_BehaviorType: 0

m_ObservableAttributeHandling: 0
--- !u!114 &114235147148547996
MonoBehaviour:
m_ObjectHideFlags: 0

agentParameters:
maxStep: 0
hasUpgradedFromAgentParameters: 1
maxStep: 5000
MaxStep: 5000
area: {fileID: 1819751139121548}
turnSpeed: 300
moveSpeed: 2

m_EditorClassIdentifier:
DecisionPeriod: 5
TakeActionsBetweenDecisions: 1
offsetStep: 0
--- !u!1 &1729825611722018
GameObject:
m_ObjectHideFlags: 0

851
Project/Assets/ML-Agents/Examples/FoodCollector/Prefabs/VisualFoodCollectorArea.prefab
文件差异内容过多而无法显示
查看文件

809
Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector.unity


m_AmbientIntensity: 1
m_AmbientMode: 3
m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
m_SkyboxMaterial: {fileID: 0}
m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3

m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_IndirectSpecularColor: {r: 0.44971162, g: 0.49977726, b: 0.5756362, a: 1}
m_UseRadianceAmbientProbe: 0
--- !u!157 &3
LightmapSettings:

m_CompAOExponent: 1
m_CompAOExponentDirect: 0
m_Padding: 2
m_LightmapParameters: {fileID: 0}
m_LightmapParameters: {fileID: 15204, guid: 0000000000000000f000000000000000,
type: 0}
m_LightmapsBakeMode: 1
m_TextureCompression: 1
m_FinalGather: 0

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 273651478}
m_CullTransparentMesh: 0
--- !u!1001 &319126439
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1145096862361766, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_Name
value: VisualFoodCollectorArea
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalPosition.y
value: 12.3
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_RootOrder
value: 6
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 388844068572732955, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1206132776009993105, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 1206132776009993105, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 1885620624539145840, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2034865352926823123, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2998257954453135152, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 2998257954453135152, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 5034354815516504833, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5149732301250347434, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5996503233874835621, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 5996503233874835621, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 6465564399590757004, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6981080584877106066, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 3323fafb8b6b84159b4bc0b81dfddd13,
type: 3}
- target: {fileID: 7792873244987358972, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8057085080167528306, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8700737784952367316, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8770797731974984656, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8770797731974984656, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
--- !u!1 &378228137
GameObject:
m_ObjectHideFlags: 0

- {fileID: 1799584681}
- {fileID: 1086444498}
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}

--- !u!1001 &611835165
--- !u!1 &499540684
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 499540687}
- component: {fileID: 499540686}
- component: {fileID: 499540685}
m_Layer: 0
m_Name: EventSystem
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &499540685
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499540684}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 1077351063, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_HorizontalAxis: Horizontal
m_VerticalAxis: Vertical
m_SubmitButton: Submit
m_CancelButton: Cancel
m_InputActionsPerSecond: 10
m_RepeatDelay: 0.5
m_ForceModuleActive: 0
--- !u!114 &499540686
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499540684}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: -619905303, guid: f70555f144d8491a825f0804e09c671c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_FirstSelected: {fileID: 0}
m_sendNavigationEvents: 1
m_DragThreshold: 5
--- !u!4 &499540687
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 499540684}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &639811942
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2

- target: {fileID: 1537641056927260, guid: 3ce107b4a79bc4eef83afde434932a68, type: 3}
propertyPath: m_IsActive
value: 0
- target: {fileID: 1145096862361766, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_Name
value: VisualFoodCollectorArea (3)
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
value: 0
value: -300
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
value: 0
value: -0
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
value: 0
value: -0
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
value: 0
value: -0
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_RootOrder
value: 9
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 388844068572732955, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_RootOrder
propertyPath: contribute
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 1206132776009993105, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_AnchoredPosition.x
value: 0
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 1206132776009993105, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_AnchoredPosition.y
value: 0
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 1885620624539145840, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_SizeDelta.x
propertyPath: m_IsActive
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 2034865352926823123, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_SizeDelta.y
value: 0
propertyPath: contribute
value: 1
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 2998257954453135152, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_AnchorMin.x
value: 0
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 2998257954453135152, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 5149732301250347434, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5996503233874835621, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 5996503233874835621, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 6465564399590757004, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 6981080584877106066, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 3323fafb8b6b84159b4bc0b81dfddd13,
propertyPath: m_AnchorMin.y
- target: {fileID: 7792873244987358972, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 8057085080167528306, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_AnchorMax.x
propertyPath: m_IsActive
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 8700737784952367316, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_AnchorMax.y
propertyPath: m_IsActive
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 8770797731974984656, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_Pivot.x
value: 0
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
- target: {fileID: 8770797731974984656, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_Pivot.y
value: 0
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
m_SourcePrefab: {fileID: 100100000, guid: 3ce107b4a79bc4eef83afde434932a68, type: 3}
--- !u!1001 &868060419
m_SourcePrefab: {fileID: 100100000, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
--- !u!1001 &846304648
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2

- target: {fileID: 1145096862361766, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_Name
value: VisualFoodCollectorArea (1)
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalPosition.x
value: 0

value: 0
value: -100
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalPosition.z

objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_RootOrder
value: 5
value: 7
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 388844068572732955, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1206132776009993105, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 1206132776009993105, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 1885620624539145840, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2034865352926823123, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2998257954453135152, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 2998257954453135152, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 5034354815516504833, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5149732301250347434, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5996503233874835621, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 5996503233874835621, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
- target: {fileID: 20696931947702132, guid: c85b585836e104587b4efdc4d8b9d62b,
- target: {fileID: 6465564399590757004, guid: c85b585836e104587b4efdc4d8b9d62b,
propertyPath: m_TargetDisplay
propertyPath: contribute
- target: {fileID: 6981080584877106066, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 3323fafb8b6b84159b4bc0b81dfddd13,
type: 3}
- target: {fileID: 7792873244987358972, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8057085080167528306, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8700737784952367316, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8770797731974984656, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8770797731974984656, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
--- !u!1001 &916917435
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalRotation.x
value: 0.31598538
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalRotation.y
value: -0.3596048
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalRotation.z
value: 0.13088542
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalRotation.w
value: 0.8681629
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
--- !u!1 &1009000883
GameObject:
m_ObjectHideFlags: 0

m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 30, y: 0, z: 0}
--- !u!20 &1009000887
Camera:

m_AnchoredPosition: {x: -1000, y: -239.57645}
m_SizeDelta: {x: 160, y: 30}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1001 &1232021009
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1537121661968964, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_Name
value: Directional Light
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalPosition.x
value: 106.38621
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalPosition.y
value: 38.840767
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalPosition.z
value: 34.72934
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalRotation.x
value: 0.31598538
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalRotation.y
value: -0.3596048
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalRotation.z
value: 0.13088542
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_LocalRotation.w
value: 0.8681629
objectReference: {fileID: 0}
- target: {fileID: 4943719350691982, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 5889392e3f05b448a8a06c5def6c2dec, type: 3}
--- !u!1 &1574236047
GameObject:
m_ObjectHideFlags: 0

m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1799584680
GameObject:

m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1799584680}
m_CullTransparentMesh: 0
--- !u!1001 &1924527812
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 1145096862361766, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_Name
value: VisualFoodCollectorArea (2)
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalPosition.y
value: -200
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalRotation.x
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalRotation.y
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalRotation.z
value: -0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_RootOrder
value: 8
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4307641258646068, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 388844068572732955, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 1206132776009993105, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 1206132776009993105, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 1885620624539145840, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2034865352926823123, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2998257954453135152, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 2998257954453135152, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 5149732301250347434, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5996503233874835621, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 5996503233874835621, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
- target: {fileID: 6465564399590757004, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: contribute
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6981080584877106066, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_Model
value:
objectReference: {fileID: 11400000, guid: 3323fafb8b6b84159b4bc0b81dfddd13,
type: 3}
- target: {fileID: 7792873244987358972, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8057085080167528306, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8700737784952367316, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8770797731974984656, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 8770797731974984656, guid: c85b585836e104587b4efdc4d8b9d62b,
type: 3}
propertyPath: m_CameraSensorSettings.LayerMasks.Array.data[0]
value: 13
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c85b585836e104587b4efdc4d8b9d62b, type: 3}
--- !u!1001 &2124876351
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_RootOrder
value: 5
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_AnchoredPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_AnchoredPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_Pivot.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 224194346362733190, guid: 3ce107b4a79bc4eef83afde434932a68,
type: 3}
propertyPath: m_Pivot.y
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 3ce107b4a79bc4eef83afde434932a68, type: 3}

2
Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector.unity.meta


fileFormatVersion: 2
guid: dbc5c542957ef47bd8ebe87fc1000c37
guid: f20e977ac950e415792850aabc6c6812
DefaultImporter:
externalObjects: {}
userData:

4
Project/Assets/ML-Agents/Examples/FoodCollector/Scripts/FoodCollectorAgent.cs


public override void Heuristic(float[] actionsOut)
{
actionsOut[0] = 0f;
actionsOut[1] = 0f;
actionsOut[2] = 0f;
if (Input.GetKey(KeyCode.D))
{
actionsOut[2] = 2f;

}
if (collision.gameObject.CompareTag("badFood"))
{
//Debug.Log("Colliding with bad food!");
Poison();
collision.gameObject.GetComponent<FoodLogic>().OnEaten();

2
Project/ProjectSettings/DynamicsManager.asset


m_ClothInterCollisionDistance: 0
m_ClothInterCollisionStiffness: 0
m_ContactsGeneration: 1
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffebffffffddffffffeffffffff5fffffffbffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
m_AutoSimulation: 1
m_AutoSyncTransforms: 1
m_ReuseCollisionCallbacks: 1

8
Project/ProjectSettings/EditorBuildSettings.asset


m_ObjectHideFlags: 0
serializedVersion: 2
m_Scenes:
- enabled: 0
path: Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollectorOld.unity
guid: dbc5c542957ef47bd8ebe87fc1000c37
- enabled: 0
path: Assets/ML-Agents/Examples/FoodCollector/Scenes/FoodCollector.unity
guid: 11583205ab5b74bb4bb1b9951cf9e437
guid: dbc5c542957ef47bd8ebe87fc1000c37
guid: f20e977ac950e415792850aabc6c6812
m_configObjects: {}

1
Project/ProjectSettings/GraphicsSettings.asset


- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,

125
com.unity.ml-agents/Runtime/Sensors/CameraSensor.cs


{
RGB,
Depth,
Segmentation
Segmentation,
AutoSegmentation
}
struct CameraSensorPass

}
}
internal enum CameraChannelType
{
RGB,
Grayscale,
Depth,
OpticalFlow,
LayerMask
}
internal struct CameraSensorChannel
{
public CameraChannelType ChannelType;
public int? LayerNumber;
public CameraSensorChannel(CameraChannelType channelType, int? layerNumber = null)
{
ChannelType = channelType;
LayerNumber = layerNumber;
}
}
/// <summary>
/// A sensor that wraps a Camera object to generate visual observations for an agent.
/// </summary>

static readonly int _categoryColor = Shader.PropertyToID("_CategoryColor");
static readonly int _layerNumber = Shader.PropertyToID("_LayerNumber");
CameraSensorSettings m_Settings;
CommandBuffer m_AddedBuffer;
List<CameraSensorPass> m_Passes;
/// <summary>

{
passes.Add(new CameraSensorPass(CameraSensorPassType.Segmentation, CreateHiddenCamera("segmentationCam")));
}
if (m_Settings.EnableAutoSegment)
{
passes.Add(new CameraSensorPass(CameraSensorPassType.AutoSegmentation, CreateHiddenCamera("autoSegmentationCam")));
}
return passes;
}

{
get { return m_CompressionType; }
set { m_CompressionType = value; }
}
internal List<CameraSensorChannel> Channels()
{
var channels = new List<CameraSensorChannel>();
if (!m_Settings.DisableCamera)
{
if (m_Grayscale)
{
channels.Add(new CameraSensorChannel(CameraChannelType.Grayscale));
}
else
{
channels.Add(new CameraSensorChannel(CameraChannelType.RGB));
}
}
if (m_Settings.EnableDepth)
{
channels.Add(new CameraSensorChannel(CameraChannelType.Depth));
}
if (m_Settings.LayerMasks.Length > 0)
{
foreach (var layerToMask in m_Settings.LayerMasks)
{
channels.Add(
new CameraSensorChannel(CameraChannelType.LayerMask, layerToMask)
);
}
}
return channels;
}
/// <summary>

public void OnSceneChange()
{
var segPasses = m_Passes.Where(
p => p.PassType == CameraSensorPassType.Segmentation
p => p.PassType == CameraSensorPassType.Segmentation || p.PassType == CameraSensorPassType.AutoSegmentation
);
// NOTE: This avoids the expensive search for all renderers if we don't need segmentation.
if (!segPasses.Any()) return;

var height = texture.height;
var texturePixels = texture.GetPixels();
if (pass.PassType == CameraSensorPassType.RGB)
if (pass.PassType == CameraSensorPassType.RGB || pass.PassType == CameraSensorPassType.AutoSegmentation)
{
var r = new float[texture.width, texture.height];
var g = new float[texture.width, texture.height];

}
else if (pass.PassType == CameraSensorPassType.Segmentation)
{
var loggedInThisPass = false;
var layerChannels = new List<float[,]>();
foreach (var layer in m_Settings.LayerMasks)
{

}
foreach (var layerChannel in layerChannels) channels.Add(layerChannel);
}
// else if (pass.PassType == CameraSensorPassType.AutoSegmentation)
// {
// var r = new float[texture.width, texture.height];
// var g = new float[texture.width, texture.height];
// var b = new float[texture.width, texture.height];
// for (var h = height - 1; h >= 0; h--)
// {
// for (var w = 0; w < width; w++)
// {
// var currentPixel = texturePixels[(height - h - 1) * width + w];
// // For Color32, the r, g and b values are between 0 and 1.
// r[h, w] = currentPixel.r;
// g[h, w] = currentPixel.g;
// b[h, w] = currentPixel.b;
// }
// }
//
// channels.Add(r);
// channels.Add(g);
// channels.Add(b);
// }
DestroyTexture(texture);
}

channelVals[i] = texturePixels[i].grayscale;
}
singleChannels.Add(channelVals);
DestroyTexture(texture);
}
else if (pass.PassType == CameraSensorPassType.Segmentation)
{

}
}
foreach (var layerChannel in layerChannels) singleChannels.Add(layerChannel);
// Since we captured these layers as a float array, we need to destroy the texture
DestroyTexture(texture);
}
else if (pass.PassType == CameraSensorPassType.AutoSegmentation)
{
if (m_Grayscale)
{
// turn to grayscale
for (var i = 0; i < texturePixels.Length; ++i)
{
var grayVal = texturePixels[i].grayscale;
texturePixels[i] = new Color(grayVal, grayVal, grayVal, texturePixels[i].a);
}
texture.SetPixels(texturePixels);
texture.Apply();
textures.Add(texture);
}
else
{
textures.Add(texture);
}
}
}
// Single channels need to be converted to colors and assigned to new textures.

// cleanup capturing camera
pass.Camera.RemoveAllCommandBuffers();
pass.Camera.ResetReplacementShader();
// copy all "main" camera parameters into capturing camera
pass.Camera.CopyFrom(m_Camera);

//Debug.Log("Setting shader mode to 3");
mode = 3;
}
else if (passType == CameraSensorPassType.AutoSegmentation)
{
mode = 1;
}
if (mode < 0)
{

{
using (TimerStack.Instance.Scoped("CameraSensor.WriteToTensor"))
{
//var texture = ObservationToTexture(m_Camera, m_Width, m_Height);
//var numWritten = Utilities.TextureToTensorProxy(texture, writer, m_Grayscale);
//DestroyTexture(texture);
var numWritten = 0;
var channels = GetObservationChannels();
for (var channelInd = 0; channelInd < channels.Count; ++channelInd)

if (pass.PassType == CameraSensorPassType.Segmentation)
{
channels += m_Settings.LayerMasks.Length;
}
if (pass.PassType == CameraSensorPassType.AutoSegmentation)
{
if (m_Grayscale) channels += 1;
else channels += 3;
}
}
return new[] { m_Height, m_Width, channels };

2
com.unity.ml-agents/Runtime/Sensors/ColorEncoding.cs


return color;
}
}
}

1001
Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector-hackweekbackup.unity
文件差异内容过多而无法显示
查看文件

7
Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector-hackweekbackup.unity.meta


fileFormatVersion: 2
guid: 269b9915616d54f788f7a6d7b86cf5a0
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1001
Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector-segmented.unity
文件差异内容过多而无法显示
查看文件

7
Project/Assets/ML-Agents/Examples/FoodCollector/Scenes/VisualFoodCollector-segmented.unity.meta


fileFormatVersion: 2
guid: 9aef3dc1213244eb7baca088b43649cf
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1001
Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-autoseg-linux-1.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-autoseg-linux-1.nn.meta


fileFormatVersion: 2
guid: 1fdb1c796f9f942dfb458ab95b2f74e2
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-autoseg-linux-2.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-autoseg-linux-2.nn.meta


fileFormatVersion: 2
guid: 3323fafb8b6b84159b4bc0b81dfddd13
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

1001
Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-depthfood-1agent3.nn
文件差异内容过多而无法显示
查看文件

11
Project/Assets/ML-Agents/Examples/FoodCollector/TFModels/VisualFoodCollector-depthfood-1agent3.nn.meta


fileFormatVersion: 2
guid: d0ba90886892941509b7782249943202
ScriptedImporter:
fileIDToRecycleName:
11400000: main obj
11400002: model data
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 19ed1486aa27d4903b34839f37b8f69f, type: 3}

26
config/ppo/VisualFoodCollector-linuxworking.yaml


behaviors:
VisualFoodCollector:
trainer_type: ppo
hyperparameters:
batch_size: 500
buffer_size: 5000
learning_rate: 0.0003
beta: 0.005
epsilon: 0.2
lambd: 0.95
num_epoch: 3
learning_rate_schedule: linear
network_settings:
normalize: false
hidden_units: 128
num_layers: 2
vis_encode_type: simple
reward_signals:
extrinsic:
gamma: 0.99
strength: 1.0
keep_checkpoints: 5
max_steps: 10000000
time_horizon: 100
summary_freq: 40000
threaded: true
正在加载...
取消
保存