Is it possible to make 2 stream CNN by using Matlab?

Is it possible to make 2 stream CNN by using Matlab? Like this papers.
I am thinking of The first network is
layers1 = [imageInputLayer([60 60 1],'Name','radar');
convolution2dLayer(5,20);
reluLayer;
maxPooling2dLayer(2,'Stride',2);
fullyConnectedLayer(1);
regressionLayer];
The second network is
layers2 = [imageInputLayer([120 120 1]);
convolution2dLayer(5,20);
reluLayer;
maxPooling2dLayer(2,'Stride',2);
convolution2dLayer(5,20);
reluLayer;
maxPooling2dLayer(2,'Stride',2);
fullyConnectedLayer(1);
regressionLayer];
The I wanna fusion these streams by using fullyConnectedLayer ( input : result of each streams ) and regressionLayer

 Accepted Answer

Kenta
Kenta on 29 Mar 2020
As of 2019b, a new system called "custom training loop" which enables you to implement multi-input CNN is available.
For example, you can refer to the example below.
Hope it will help you and potential users who would like to do the similar task.
2019b以降ではカスタムループとよばれる新たな枠組みが利用可能となり、複数入力のCNNも実装可能です。
また、カスタムループ以外にも方法があります。上のリンクをご参照ください。

1 Comment

Dear Kenta,
Can you able to explain it in english? Hope you can.
Thanks,
Ramasenthil

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2019b

Asked:

on 21 Sep 2017

Commented:

Rd
on 19 Nov 2020

Community Treasure Hunt

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

Start Hunting!