How to create a multiple-branch CNN model?

Dear Coleagues,
I am trying to create a double-branch CNN, where each branch will receive as input a different image (i.e., each branch has its own 'InputLayer'). I want these two branches (with their layers) to be merged at the end, by means of a common fully-connected-layer. I was trying to implement it using the DAG Network. However, when using addLayers function, it gives me an error saying Layer graphs can contain only one input layer.
Is there any other way to create multiple-branch CNNS in Matlab? Any possibility to use DAG Networks receiving more than one inputLayer?
Thank you all. Ezequiel.

Más respuestas (0)

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 23 de Feb. de 2018

Respondida:

el 8 de Jun. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by