Reinforcement learning / Check the data type, dimensions, and range.

6 次查看(过去 30 天)
I got the following message while creating the env.
Environment 'ObservationInfo' does not match observation output from step function. Check the data type,dimensions, and range.
I create an env with the same scale 'Obsevation' for the test, and the test was a success.
But in the env I really want to try, an error message keeps coming up.
How do i solve it?
I upload my code. I sincerely ask help.
Thanks for your help and MATLAB.
  1 个评论
Brad Thompson
Brad Thompson 2021-7-31
编辑:Brad Thompson 2021-7-31
Any luck resolvig this probelm? I'm getting he same error when calling validateEnvironment(env) on a custom MATLAB environment created with rlCreateEnvTemplate

请先登录,再进行评论。

采纳的回答

Byung - Gi Jeon
Byung - Gi Jeon 2021-8-19
I am the one who asked this question.
I stopped and checked all lines, and as a result, there was a problem related to the format and arrangement of the data.
My problem was solved. Researchers who get the same error message as me, check everything from the beginning and it will be resolved.
thank you.

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by