Reinforcement learning : How to define custom environment with multiple image based observations
Afficher commentaires plus anciens
Hi,
I am trying to create a custom agent with image based observations. How can assign an image to rlNumericSpec.
I have created ObservationInfo as follows since the image is 320X180. Normally the image is RGB even if I converted to gray I do not know how to assign in to ObservationInfo in the customer reset and step functions.
ObservationInfo = rlNumericSpec([320 180]);
Even if I solve this I require RGB images and later on more than one images.
Any ideas?
Best regards
Réponses (1)
Emmanouil Tzorakoleftherakis
le 18 Mar 2021
ObservationInfo = rlNumericSpec([320 180 3]);
2 commentaires
Dr. Ali Peker
le 19 Mar 2021
Modifié(e) : Dr. Ali Peker
le 19 Mar 2021
DAMODARAN B.K
le 23 Mai 2021
from visualiser plot how did you take images?
Catégories
En savoir plus sur Deep Learning Toolbox dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!