How can I merge (concatenate) feature maps from two different CNN layers in my architecture?
4 views (last 30 days)
Show older comments
Damian Matuszewski
on 7 Apr 2017
Answered: o.cefet cefet
on 12 Nov 2019
I am looking for something like "merge" layer in Keras to implement U-Net. Thanks!
2 Comments
Ritesh Chandna
on 12 Apr 2017
Unfortunately, we do not have a merge layer feature as of now. However, you can refer to the below link which list all the layer features we have:
https://www.mathworks.com/help/nnet/convolutional-neural-networks.html
Please feel free to provide more information about your workflow.
Accepted Answer
Birju Patel
on 6 Mar 2018
Edited: Birju Patel
on 6 Mar 2018
Hi,
In R2017b, the depth concatenation layer can be used to merge feature maps:
https://www.mathworks.com/help/nnet/ref/nnet.cnn.layer.depthconcatenationlayer.html
I've also attached an example function that can be used to create U-Net in R2017b (createUnet.m).
HTH, Birju
1 Comment
Itzik Ben Shabat
on 3 Apr 2019
Does this also work for the new 3D layers in 2019a ?
If not, is there an alternative function ?
More Answers (1)
o.cefet cefet
on 12 Nov 2019
Has anyone ever gotten it on matlab Multiscale Features-Convolutional Neural Network?
Similar to work: https://ieeexplore.ieee.org/document/8625476/
0 Comments
See Also
Categories
Find more on Recognition, Object Detection, and Semantic Segmentation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!