Effacer les filtres
Effacer les filtres

Different results from RL TD3 in MATLAB 2023a and 2024a

15 vues (au cours des 30 derniers jours)
Azadeh
Azadeh le 3 Mai 2024
I am running the same Simulink model with the same RL agent and settings, but I get different results running it in MATLAB 2023a and MATLAB 2024a. while reapeating in the same MATLAB gives me the same results. Does anyone have any idea what is the reason and how can I fix it?

Réponses (1)

aditi bagora
aditi bagora le 6 Mai 2024
Hello Azadeh,
I understand that you are running the Simulink model with same RL agent and settings in different versions of MATLAB i.e. R2023a and R2024a and you are getting different results.
The variation in the output could arise because the random seed for the RL agent or environment has not been specifically set or controlled. MATLAB versions may approach default seeding in unique manners, leading to different results.
In order to fix the issue, you can explicitly set the random seed to ensure consistent initialization across versions.
Please refer to the following documentation link for more information.

Catégories

En savoir plus sur Modeling dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by