Combining images and numerical values in a deep neural network

조회 수: 10 (최근 30일)
Luca Ghilardi
Luca Ghilardi 2019년 7월 2일
댓글: shlomo odem 2021년 11월 14일
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.
0*Umo-FPkUXDRgXK0L
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?

채택된 답변

Gabija Marsalkaite
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
shlomo odem 2021년 11월 14일
i have the same problem, did 2021a support multi-input layers?
how can i do this network?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by