Skip to content

Commit e6a7c0b

Browse files
Fixed texture sensor test.
1 parent 2196124 commit e6a7c0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Project/Assets/ML-Agents/TestScenes/TestCompressedTexture/TestTextureSensor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public TestTextureSensor(
2525
var width = texture.width;
2626
var height = texture.height;
2727
m_Name = name;
28-
m_ObservationSpec = ObservationSpec.Visual(height, width, 3);
28+
m_ObservationSpec = ObservationSpec.Visual(3, height, width);
2929
m_CompressionType = compressionType;
3030
}
3131

0 commit comments

Comments
 (0)