Clear Filters
Clear Filters

How can I merge (concatenate) feature maps from two different CNN layers in my architecture?

13 views (last 30 days)
I am looking for something like "merge" layer in Keras to implement U-Net. Thanks!
  2 Comments
Ritesh Chandna
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.

Sign in to comment.

Accepted Answer

Birju Patel
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

More Answers (1)

o.cefet cefet
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/

Tags

Community Treasure Hunt

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

Start Hunting!