all input coordinates must have the same type. input coordinates must be of type double or single.
Show older comments
I have created a custom environment with 7by1 Observation and 2by1 Action. When I try to train the DDPG agent, training doesn't start. Instead, there's a pop-up window with the following message:
"Invalid setting
all input coordinates must have the same type. input coordinates must be of type double or single."
Could someone please help me with this? What are the input coordinates and how do I have to change them?
I'm really looking forward to an answer, thanks for your help!
2 Comments
KSSV
on 13 Jul 2021
Read about Class. Check what calss your inputs belongs to. You can convert them into single or double using the functions single, double. If this is not help ful, share your code.
Max Figlestahler
on 13 Jul 2021
Edited: Max Figlestahler
on 14 Jul 2021
Answers (0)
Categories
Find more on Environment and Settings in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!