I have a car set up with raycasts using the ray perception sensor to detect 3 tags. For some reason, I am getting the warning in unity: Fewer observations (0) made than vector observation size (45).
I think because there are no observations, it is not learning. Why does this have 0 observations? I thought the Ray Perception Sensor automatically collected observations and passed them to the behavior parameters?
yes, automatically. therefore, it is not necessary to enter the number of ray sensors in the component of observations. In the component you enter only those sensors that you entered in your code.
Hi @Brian16446 , @LexVolkov is correct. The vector observations on the BrainParameters are referencing the observations you make in your code within the CollectObservations method on Agent. The size for the sensors is added automatically for you. Let us know if you have any further questions.