Clear Filters
Clear Filters

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

6 views (last 30 days)
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 Comment
Brad Thompson
Brad Thompson on 31 Jul 2021
Edited: Brad Thompson on 31 Jul 2021
Any luck resolvig this probelm? I'm getting he same error when calling validateEnvironment(env) on a custom MATLAB environment created with rlCreateEnvTemplate

Sign in to comment.

Accepted Answer

Byung - Gi Jeon
Byung - Gi Jeon on 19 Aug 2021
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.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!