Combining images and numerical values in a deep neural network
13 次查看(过去 30 天)
显示 更早的评论
I want to combine in a encoder/decoder architecture (like U-Net or FCN) for semantic segmentation both images and numeric values. The images are aerial maps from which I will take random crops to feed the convolutional part of the network, I would also like to add some data in the feature space (like sun inclination) by connecting the fully connected layer of the network with one or more neurons for the numerical part.
My doubts are:
should I use a single input layer that accepts both types of data?
If not, how I can handle the training and datasets with two different input layers?
0 个评论
采纳的回答
Gabija Marsalkaite
2019-7-4
Probably simplest way is to add other features as channels. There is example by Uber Engineering where they added gradients for x and y to ease coordinate learning:
https://eng.uber.com/coordconv/
Right now (2019a) Deep Learning Toolbox does not support multi-input layers but we are looking at this and this may change in future releases.
1 个评论
shlomo odem
2021-11-14
i have the same problem, did 2021a support multi-input layers?
how can i do this network?
更多回答(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!