Reinforcement learning : How to define custom environment with multiple image based observations
이전 댓글 표시
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
답변 (1개)
Emmanouil Tzorakoleftherakis
2021년 3월 18일
ObservationInfo = rlNumericSpec([320 180 3]);
댓글 수: 2
Dr. Ali Peker
2021년 3월 19일
편집: Dr. Ali Peker
2021년 3월 19일
DAMODARAN B.K
2021년 5월 23일
from visualiser plot how did you take images?
카테고리
도움말 센터 및 File Exchange에서 Reinforcement Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!