How can i use it to add some more other layers from matlab like batchNormalisation, Softmax etc.

78 views
Skip to first unread message

bijenkh...@gmail.com

unread,
Apr 19, 2018, 2:02:06 AM4/19/18
to mdCNN: Multidimensional CNN library in Matlab
Hi your code seems really good. I want to ask regarding A.Layer Specification. I found only two types of layers being used . How can i use it to add some more other layers from matlab like batchNormalisation, Softmax etc., I will be really helpful . Thanks

Rice2999

unread,
Apr 19, 2018, 12:31:54 PM4/19/18
to mdCNN: Multidimensional CNN library in Matlab
From what I have read in the code, you don't need to manually add either batchNormalization layer or a softmax layer. Both are used by default.

The net.hyperParam.normalizeNetworkInput variable controls the use of batchNormalization, 1 = Yes, 0 = No.
The net.hyperParam.errorMethod variable controls the use of softmax. 1 = use "cross entropy", to my understanding, it is what you call "soft max", 0 = to use MSE.


Rice2999

bijenkh...@gmail.com

unread,
Apr 20, 2018, 12:14:50 AM4/20/18
to mdCNN: Multidimensional CNN library in Matlab
hi Rice, Thanks. I checked and maybe that's the way.

Did you mean this is batch normalization specifically.? 

net.hyperParam.normalizeNetworkInput=1; %will normalize every input to net to be with var=1, mean 0

Message has been deleted

Hagay Garty

unread,
Apr 22, 2018, 2:36:31 PM4/22/18
to mdCNN: Multidimensional CNN library in Matlab
Hi, the recent code now supports softmax layer (use type=0 for softmax)
As for batchNormalization layer, it's currently not supported but I plan to add it in the near future.

bijenkh...@gmail.com

unread,
Apr 23, 2018, 1:15:20 AM4/23/18
to mdCNN: Multidimensional CNN library in Matlab
Thanks Hagay! That will be really helpful


On Thursday, April 19, 2018 at 3:02:06 PM UTC+9, bijenkh...@gmail.com wrote:

Hagay Garty

unread,
Nov 25, 2018, 4:07:22 AM11/25/18
to mdCNN: Multidimensional CNN library in Matlab
Hi, batch normalization layer is now supported in the latest code.
Reply all
Reply to author
Forward
0 new messages