Skip to content

Commit 600d94c

Browse files
authored
Fix visual hallway and visual pushblock brains and scenes. (#2645)
1 parent 83e3924 commit 600d94c

File tree

5 files changed

+105
-28
lines changed

5 files changed

+105
-28
lines changed

UnitySDK/Assets/ML-Agents/Examples/Hallway/Brains/VisualHallwayLearning.asset

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,15 @@ MonoBehaviour:
1212
m_Name: VisualHallwayLearning
1313
m_EditorClassIdentifier:
1414
brainParameters:
15-
vectorObservationSize: 1
15+
vectorObservationSize: 0
1616
numStackedVectorObservations: 1
17-
vectorActionSize: 01000000
18-
cameraResolutions: []
17+
vectorActionSize: 05000000
18+
cameraResolutions:
19+
- width: 84
20+
height: 84
21+
blackAndWhite: 0
1922
vectorActionDescriptions:
2023
-
2124
vectorActionSpaceType: 0
22-
graphModel: {fileID: 0}
23-
graphPlaceholders: []
24-
BatchSizePlaceholderName: batch_size
25-
VectorObservationPlacholderName: vector_observation
26-
RecurrentInPlaceholderName: recurrent_in
27-
RecurrentOutPlaceholderName: recurrent_out
28-
VisualObservationPlaceholderName: []
29-
ActionPlaceholderName: action
30-
PreviousActionPlaceholderName: prev_action
25+
model: {fileID: 0}
26+
inferenceDevice: 0

UnitySDK/Assets/ML-Agents/Examples/Hallway/Scenes/VisualHallway.unity

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ Prefab:
161161
propertyPath: m_IsActive
162162
value: 0
163163
objectReference: {fileID: 0}
164+
- target: {fileID: 114451776683649118, guid: f2281a3adc3e640b490f89407c2e12d1,
165+
type: 2}
166+
propertyPath: brain
167+
value:
168+
objectReference: {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2,
169+
type: 2}
164170
m_RemovedComponents: []
165171
m_ParentPrefab: {fileID: 100100000, guid: f2281a3adc3e640b490f89407c2e12d1, type: 2}
166172
m_IsPrefabParent: 0
@@ -303,6 +309,12 @@ Prefab:
303309
propertyPath: m_IsActive
304310
value: 0
305311
objectReference: {fileID: 0}
312+
- target: {fileID: 114451776683649118, guid: f2281a3adc3e640b490f89407c2e12d1,
313+
type: 2}
314+
propertyPath: brain
315+
value:
316+
objectReference: {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2,
317+
type: 2}
306318
m_RemovedComponents: []
307319
m_ParentPrefab: {fileID: 100100000, guid: f2281a3adc3e640b490f89407c2e12d1, type: 2}
308320
m_IsPrefabParent: 0
@@ -382,6 +394,12 @@ Prefab:
382394
propertyPath: m_IsActive
383395
value: 0
384396
objectReference: {fileID: 0}
397+
- target: {fileID: 114451776683649118, guid: f2281a3adc3e640b490f89407c2e12d1,
398+
type: 2}
399+
propertyPath: brain
400+
value:
401+
objectReference: {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2,
402+
type: 2}
385403
m_RemovedComponents: []
386404
m_ParentPrefab: {fileID: 100100000, guid: f2281a3adc3e640b490f89407c2e12d1, type: 2}
387405
m_IsPrefabParent: 0
@@ -432,6 +450,12 @@ Prefab:
432450
propertyPath: m_IsActive
433451
value: 0
434452
objectReference: {fileID: 0}
453+
- target: {fileID: 114451776683649118, guid: f2281a3adc3e640b490f89407c2e12d1,
454+
type: 2}
455+
propertyPath: brain
456+
value:
457+
objectReference: {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2,
458+
type: 2}
435459
m_RemovedComponents: []
436460
m_ParentPrefab: {fileID: 100100000, guid: f2281a3adc3e640b490f89407c2e12d1, type: 2}
437461
m_IsPrefabParent: 0
@@ -637,6 +661,12 @@ Prefab:
637661
propertyPath: m_RootOrder
638662
value: 6
639663
objectReference: {fileID: 0}
664+
- target: {fileID: 114451776683649118, guid: f2281a3adc3e640b490f89407c2e12d1,
665+
type: 2}
666+
propertyPath: brain
667+
value:
668+
objectReference: {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2,
669+
type: 2}
640670
m_RemovedComponents: []
641671
m_ParentPrefab: {fileID: 100100000, guid: f2281a3adc3e640b490f89407c2e12d1, type: 2}
642672
m_IsPrefabParent: 0
@@ -687,6 +717,12 @@ Prefab:
687717
propertyPath: m_IsActive
688718
value: 0
689719
objectReference: {fileID: 0}
720+
- target: {fileID: 114451776683649118, guid: f2281a3adc3e640b490f89407c2e12d1,
721+
type: 2}
722+
propertyPath: brain
723+
value:
724+
objectReference: {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2,
725+
type: 2}
690726
m_RemovedComponents: []
691727
m_ParentPrefab: {fileID: 100100000, guid: f2281a3adc3e640b490f89407c2e12d1, type: 2}
692728
m_IsPrefabParent: 0
@@ -737,6 +773,12 @@ Prefab:
737773
propertyPath: m_IsActive
738774
value: 0
739775
objectReference: {fileID: 0}
776+
- target: {fileID: 114451776683649118, guid: f2281a3adc3e640b490f89407c2e12d1,
777+
type: 2}
778+
propertyPath: brain
779+
value:
780+
objectReference: {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2,
781+
type: 2}
740782
m_RemovedComponents: []
741783
m_ParentPrefab: {fileID: 100100000, guid: f2281a3adc3e640b490f89407c2e12d1, type: 2}
742784
m_IsPrefabParent: 0
@@ -771,7 +813,6 @@ MonoBehaviour:
771813
broadcastingBrains:
772814
- {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2, type: 2}
773815
m_BrainsToControl: []
774-
m_MaxSteps: 0
775816
m_TrainingConfiguration:
776817
width: 128
777818
height: 128
@@ -851,6 +892,12 @@ Prefab:
851892
propertyPath: m_IsActive
852893
value: 0
853894
objectReference: {fileID: 0}
895+
- target: {fileID: 114451776683649118, guid: f2281a3adc3e640b490f89407c2e12d1,
896+
type: 2}
897+
propertyPath: brain
898+
value:
899+
objectReference: {fileID: 11400000, guid: fe56dd72ed38a4c2fb5419aba1e2d5f2,
900+
type: 2}
854901
m_RemovedComponents: []
855902
m_ParentPrefab: {fileID: 100100000, guid: f2281a3adc3e640b490f89407c2e12d1, type: 2}
856903
m_IsPrefabParent: 0

UnitySDK/Assets/ML-Agents/Examples/PushBlock/Brains/PushBlockLearning.asset

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ MonoBehaviour:
1212
m_Name: PushBlockLearning
1313
m_EditorClassIdentifier:
1414
brainParameters:
15-
vectorObservationSize: 70
15+
vectorObservationSize: 0
1616
numStackedVectorObservations: 3
1717
vectorActionSize: 07000000
18-
cameraResolutions: []
18+
cameraResolutions:
19+
- width: 84
20+
height: 84
21+
blackAndWhite: 0
1922
vectorActionDescriptions:
2023
-
2124
vectorActionSpaceType: 0

UnitySDK/Assets/ML-Agents/Examples/PushBlock/Brains/VisualPushBlockLearning.asset

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,15 @@ MonoBehaviour:
1212
m_Name: VisualPushBlockLearning
1313
m_EditorClassIdentifier:
1414
brainParameters:
15-
vectorObservationSize: 1
15+
vectorObservationSize: 0
1616
numStackedVectorObservations: 1
17-
vectorActionSize: 01000000
18-
cameraResolutions: []
17+
vectorActionSize: 07000000
18+
cameraResolutions:
19+
- width: 84
20+
height: 84
21+
blackAndWhite: 0
1922
vectorActionDescriptions:
2023
-
2124
vectorActionSpaceType: 0
22-
graphModel: {fileID: 0}
23-
graphPlaceholders: []
24-
BatchSizePlaceholderName: batch_size
25-
VectorObservationPlacholderName: vector_observation
26-
RecurrentInPlaceholderName: recurrent_in
27-
RecurrentOutPlaceholderName: recurrent_out
28-
VisualObservationPlaceholderName: []
29-
ActionPlaceholderName: action
30-
PreviousActionPlaceholderName: prev_action
25+
model: {fileID: 0}
26+
inferenceDevice: 0

UnitySDK/Assets/ML-Agents/Examples/PushBlock/Scenes/VisualPushBlock.unity

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,12 @@ Prefab:
161161
propertyPath: m_IsActive
162162
value: 0
163163
objectReference: {fileID: 0}
164+
- target: {fileID: 114812843792483960, guid: 9d9b85a2a80e74e5294bdfb248825335,
165+
type: 2}
166+
propertyPath: brain
167+
value:
168+
objectReference: {fileID: 11400000, guid: d359d2290a825421e930c94284994e3f,
169+
type: 2}
164170
m_RemovedComponents: []
165171
m_ParentPrefab: {fileID: 100100000, guid: 9d9b85a2a80e74e5294bdfb248825335, type: 2}
166172
m_IsPrefabParent: 0
@@ -332,6 +338,12 @@ Prefab:
332338
propertyPath: m_IsActive
333339
value: 0
334340
objectReference: {fileID: 0}
341+
- target: {fileID: 114812843792483960, guid: 9d9b85a2a80e74e5294bdfb248825335,
342+
type: 2}
343+
propertyPath: brain
344+
value:
345+
objectReference: {fileID: 11400000, guid: d359d2290a825421e930c94284994e3f,
346+
type: 2}
335347
m_RemovedComponents: []
336348
m_ParentPrefab: {fileID: 100100000, guid: 9d9b85a2a80e74e5294bdfb248825335, type: 2}
337349
m_IsPrefabParent: 0
@@ -447,6 +459,12 @@ Prefab:
447459
propertyPath: m_IsActive
448460
value: 0
449461
objectReference: {fileID: 0}
462+
- target: {fileID: 114812843792483960, guid: 9d9b85a2a80e74e5294bdfb248825335,
463+
type: 2}
464+
propertyPath: brain
465+
value:
466+
objectReference: {fileID: 11400000, guid: d359d2290a825421e930c94284994e3f,
467+
type: 2}
450468
m_RemovedComponents: []
451469
m_ParentPrefab: {fileID: 100100000, guid: 9d9b85a2a80e74e5294bdfb248825335, type: 2}
452470
m_IsPrefabParent: 0
@@ -602,7 +620,6 @@ MonoBehaviour:
602620
broadcastingBrains:
603621
- {fileID: 11400000, guid: d359d2290a825421e930c94284994e3f, type: 2}
604622
m_BrainsToControl: []
605-
m_MaxSteps: 0
606623
m_TrainingConfiguration:
607624
width: 1280
608625
height: 720
@@ -691,6 +708,12 @@ Prefab:
691708
propertyPath: m_IsActive
692709
value: 0
693710
objectReference: {fileID: 0}
711+
- target: {fileID: 114812843792483960, guid: 9d9b85a2a80e74e5294bdfb248825335,
712+
type: 2}
713+
propertyPath: brain
714+
value:
715+
objectReference: {fileID: 11400000, guid: d359d2290a825421e930c94284994e3f,
716+
type: 2}
694717
m_RemovedComponents: []
695718
m_ParentPrefab: {fileID: 100100000, guid: 9d9b85a2a80e74e5294bdfb248825335, type: 2}
696719
m_IsPrefabParent: 0
@@ -741,6 +764,12 @@ Prefab:
741764
propertyPath: m_IsActive
742765
value: 0
743766
objectReference: {fileID: 0}
767+
- target: {fileID: 114812843792483960, guid: 9d9b85a2a80e74e5294bdfb248825335,
768+
type: 2}
769+
propertyPath: brain
770+
value:
771+
objectReference: {fileID: 11400000, guid: d359d2290a825421e930c94284994e3f,
772+
type: 2}
744773
m_RemovedComponents: []
745774
m_ParentPrefab: {fileID: 100100000, guid: 9d9b85a2a80e74e5294bdfb248825335, type: 2}
746775
m_IsPrefabParent: 0
@@ -783,6 +812,12 @@ Prefab:
783812
propertyPath: m_RootOrder
784813
value: 6
785814
objectReference: {fileID: 0}
815+
- target: {fileID: 114812843792483960, guid: 9d9b85a2a80e74e5294bdfb248825335,
816+
type: 2}
817+
propertyPath: brain
818+
value:
819+
objectReference: {fileID: 11400000, guid: d359d2290a825421e930c94284994e3f,
820+
type: 2}
786821
m_RemovedComponents: []
787822
m_ParentPrefab: {fileID: 100100000, guid: 9d9b85a2a80e74e5294bdfb248825335, type: 2}
788823
m_IsPrefabParent: 0

0 commit comments

Comments
 (0)