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

8 vues (au cours des 30 derniers jours)
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 commentaire
Brad Thompson
Brad Thompson le 31 Juil 2021
Modifié(e) : Brad Thompson le 31 Juil 2021
Any luck resolvig this probelm? I'm getting he same error when calling validateEnvironment(env) on a custom MATLAB environment created with rlCreateEnvTemplate

Connectez-vous pour commenter.

Réponse acceptée

Byung - Gi Jeon
Byung - Gi Jeon le 19 Août 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.

Plus de réponses (0)

Catégories

En savoir plus sur Model Predictive Control Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by