Why does the RL Toolbox not support BatchNormalization layer?

4 次查看(过去 30 天)
Hi.
I'm currently trying DDPG with my own network.
But when I try to use BatchNormalizationLayer, the error message says Batch Normalization is not supported.
I don't see any theoretical reason the batch normalization cannot come in.
Is there any plan to update the toolbox to make it possible?
Or is there a specific reason that the batch normalization cannot come in?
Thanks.
  1 个评论
Abd-Elhamid Nabeel
Abd-Elhamid Nabeel 2022-9-11
Actually i face the same problem, but i thought this would help :
1- calculate the running mean and running STD of the data in Simulink for example (or matlab)
2- make a matlab function in simulink/matlab that could calculate the zscore for each feature through the equation :
X_zs = (X - Xmean)/STD
This would standardize your data.

请先登录,再进行评论。

采纳的回答

Aditya Patil
Aditya Patil 2021-4-6
This is an known issue, and it might be fixed in any of the upcoming releases.

更多回答(2 个)

Abd-Elhamid Nabeel
Abd-Elhamid Nabeel 2022-9-11
Actually i face the same problem, but i thought this would help :
1- calculate the running mean and running STD of the data in Simulink for example (or matlab)
2- make a matlab function in simulink/matlab that could calculate the zscore for each feature through the equation :
X_zs = (X - Xmean)/STD
This would standardize your data.

Maha Mosalam
Maha Mosalam 2022-10-30
No one can reached to solution or update in new versions for that issue?

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by