Example of how to create a multi-stream CNN model in Matlab 2019b
Mahmoud Afifi (2020). Multi-stream-CNN (https://github.com/mahmoudnafifi/Multi-stream-CNN), GitHub. Retrieved .
@ Mostafa, the multi stream CNN code using custom training loop is here (https://jp.mathworks.com/matlabcentral/fileexchange/74760-image-classification-using-cnn-with-multi-input-cnn).
@Mostafa i think in this case you want to use custom training loop, check this: https://www.mathworks.com/help/deeplearning/ref/dlnetwork.html
Thanks for sharing. How to make both branches share weights?