update reinforcement policy.m weights
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Victor Bayer
le 15 Juin 2021
Réponse apportée : Emmanouil Tzorakoleftherakis
le 22 Juin 2021
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 commentaires
Réponse acceptée
Emmanouil Tzorakoleftherakis
le 22 Juin 2021
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Raspberry Pi Hardware 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!