ml-agents icon indicating copy to clipboard operation
ml-agents copied to clipboard

Training Agent only based on Camera output?

Open liuyihunter opened this issue 9 years ago • 5 comments

The question is even i have referenced "Main camera" for observations in "Ball3DAgent.cs". PPO seems still need "CollectState()" to make it works. My understanding is using Camera Output, which is an image, to replace the actual hard coding state which base on value(position,Rotation,etc). am i wrong? i'm quite confused about the purpose to setup Camera, is it only for accelerate the training process?

liuyihunter avatar Oct 18 '17 10:10 liuyihunter

Hi, If you don't want to output any state, you can simply return an empty list in CollectState().

trulyspinach avatar Oct 18 '17 14:10 trulyspinach

Hi SPINACHCEO ,

Thank you for your answer. i will try it and see if it's works.

liuyihunter avatar Oct 19 '17 01:10 liuyihunter

Hi @liuyihunter,

In most cases, if it is possible to describe the problem using states, this will be more informative to the neural network. In cases where the state is too complex, an image may be easier to convey the required information for the task. However, it takes more time for a network to learn to successfully extract the required information from an image, so the training process may take longer, or require more hyperparameter tuning.

awjuliani avatar Oct 20 '17 16:10 awjuliani

Hi @awjuliani ,

Your answer is helpful, cheers!!!

liuyihunter avatar Oct 21 '17 07:10 liuyihunter

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 04 '20 22:01 lock[bot]