Effacer les filtres
Effacer les filtres

how to subtract the mean value of the network output values

2 vues (au cours des 30 derniers jours)
Izzat Brgli
Izzat Brgli le 7 Avr 2021
Commenté : Izzat Brgli le 9 Avr 2021
Hello,
I'm trying to implement Action Branching Architectures for Deep Reinforcement Learning proposed by https://arxiv.org/abs/1711.08946 and since it is my first time training a machine learning on matlab I having a lot of problems. my question is how to subtract the mean value of the network output values from each output? the architecture is shown in the image. I usually do it in this way using Pytorch
advantage_Net = advantage_Net -advantage_Net.mean(1, keepdim=True)

Réponses (1)

Chendi Lin
Chendi Lin le 9 Avr 2021
To normalize the net I think you can simply do
advantage_Net = advantage_Net - mean(advantage_Net)
Please let me know if I understand your question correctly.
CD

Catégories

En savoir plus sur Image Data Workflows dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by