Multi input convolutional neural network
12 views (last 30 days)
Show older comments
How to implement three stream convolutional neural network. I was tried to use the following file exchange which is the implementation of two stream CNN using digit database.
But my database in folder format. Above file exchange use the digitTrain4Darray as the input in which the images are stored in the table and corresponding label is stored in the table in array format. But i don't know how to map my database to the code provided in the file exchange.
my database contains 50 subfolders represents the 50 classes. Each class contains the 6 image. I have to use 4 images for training and 2 images for testing.
Similarly i have to 2 more database in same format.
I need to train my CNN with these three database separately. Finally i have to concatenate the results as in the image.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/436703/image.png)
Kindly suggest the ways to do this task.
Thanks and regards,
Ramasenthil.
0 Comments
Accepted Answer
Ameer Hamza
on 1 Dec 2020
It is possible to design such a network in MATLAB if you have the deep learning toolbox. The easiest way is to open the Deep Network Designer app and use the GUI to create the network you want.
deepNetworkDesigner
You can export the network directly to the workspace, or you can also generate code to create the network programmatically.
4 Comments
merve kesim
on 31 Jul 2024
Hello, could you please help me? What method did you develop for the problem? I have a similar problem as well.
More Answers (0)
See Also
Categories
Find more on Deep Learning Toolbox 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!