Search Unity

Question ML-Agents and Size and other things

Discussion in 'ML-Agents' started by InitusInteractive, Dec 31, 2023.

  1. InitusInteractive

    InitusInteractive

    Joined:
    Aug 16, 2018
    Posts:
    128
    Hi, I need some insight here.

    I am using IList of floats, can someone confirm that each item in the list is considered an individual observation and therefore the Vector Observation size must match?

    Example, If I have 10 IList<float> each 10 in size, the Space Size must be 10x10

    Also, I would like to create a visual representation, pixel perfect, of an image that must be part of the training data, however, it's a texture2D. Can I transform the pixels (black and white) to an IList rather than have a separate camera do this for me? Will the IList conversion of the image be the same thing a Camera Sensor is doing?

    Thank you, Happy New Year