Error on Specifying observation using rlFiniteSetSpec(Reinforcement Learning)
1 回表示 (過去 30 日間)
古いコメントを表示
Dongqi Liu
2020 年 10 月 20 日
コメント済み: Dongqi Liu
2020 年 11 月 13 日
When creating a simulink environment , for specify observation infomation of 2x1 double input(such as [5.0 ; 2.287]) , I used rlFiniteSetSpec([1 1]). And i got a error said "Invalid observation type or size". Any suggestions and help would be appreciated!
0 件のコメント
採用された回答
Emmanouil Tzorakoleftherakis
2020 年 11 月 10 日
Hello,
The way you called rlFiniteSetSpec basically says that you have two observations and that they are both equal to 1. The values you are showing seem to be continuous though so I would recommend using rlNumericSpec instead.
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!