How to create a multiple-branch CNN model?
20 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
采纳的回答
Kenta
2020-6-8
Hi, I think what you would like to do is shown above.
Other CNN architechture examples that accept multi-input layers were below. Hope it helpes you.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!