Combining images and numerical values in a deep neural network
    6 views (last 30 days)
  
       Show older comments
    
    Luca Ghilardi
 on 2 Jul 2019
  
    
    
    
    
    Commented: shlomo odem
 on 14 Nov 2021
            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 Comments
Accepted Answer
  Gabija Marsalkaite
    
 on 4 Jul 2019
        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 Comment
  shlomo odem
 on 14 Nov 2021
				i have the same problem, did 2021a support multi-input layers?
how can i do this network?
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!

