how to subtract the mean value of the network output values
1 次查看(过去 30 天)
显示 更早的评论
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)
0 个评论
回答(1 个)
Chendi Lin
2021-4-9
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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!