how can i input two inputs to the deep network, one from the imageinputlayer and the other from featureinputlayer
Mostrar comentarios más antiguos
how can i input the images and the extracted features by one of the algorithms to a deep network
this example shows how can i build the structure of the network with an input layer and feature input layer
but how i can train the network with the two inputs???
2 comentarios
yanqi liu
el 7 de Mzo. de 2022
what is two inputs mean? two dimension or two variable?
Nagwa megahed
el 8 de Mzo. de 2022
Respuestas (1)
Mahesh Taparia
el 8 de Mzo. de 2022
0 votos
Hi
You can refer to this example which shows how to combine image and features and then pass it to a CNN. It create a dlnet object which you can train it using custom training loop. For more information, you can refer to this documentation. Hope it will help!
2 comentarios
Nagwa megahed
el 8 de Mzo. de 2022
Mahesh Taparia
el 10 de Mzo. de 2022
Hi
You can concatenate the image and features in the channels. For example if you have images of size MxNxZ and features of size MxNxK, then concatenate into mxnx(Z+K) size and pass in to network.
Categorías
Más información sobre Preprocess Data for Deep Neural Networks en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!