update reinforcement policy.m weights
2 ビュー (過去 30 日間)
古いコメントを表示
Victor Bayer
2021 年 6 月 15 日
回答済み: Emmanouil Tzorakoleftherakis
2021 年 6 月 22 日
Hello,
in order to run an RLAgent on a Raspberry i have generated a Policy.m file out of the saved Agent (see: https://www.mathworks.com/matlabcentral/answers/854085-run-reinforcement-learning-agent-on-raspberry?s_tid=srchtitle
&
This file is attached to the question (evaluatePolicy.m).
In the Simulink-model running on the raspberry (Raspberry_USB_.slx) this file is called as replacement to the RLAgent Block, since that one can not be executed on the Raspberry hardware. Through this, an action can be calculated on the raspberry. However, since the Policy.m file does not consider any reward and does not update itself, no learning takes place on the raspberry (see....).
My question is, if there is any way to update the policy function if one considers a reward for the executed action?
The goal is to enable learning on a raspberry.
I am gratefull for any tip.
Thanks and best regards,
Victor Bayer
0 件のコメント
採用された回答
Emmanouil Tzorakoleftherakis
2021 年 6 月 22 日
Hello,
When you want to perform inference on an RL policy, there is no need to consider rewards. The trained policy already knows internally that the actions taken are the right ones.
If you are asking whether you can perform RL training on the raspberry pi, this is not currently supported.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Raspberry Pi Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!