
How to input image features to the featureinputLayer of a deep neural network in MATLAB.
조회 수: 4 (최근 30일)
이전 댓글 표시
I have built a CNN model using transfer learning with DeepNetworkDesigner app. I have used Vgg-16 and replaced its layers such that the 'fc6' output is fed to a concatenation layer that concatenates the 'fc6' output and the output of 'featureInputLayer'. When I analyze the network, I am getting multiple errors. Some of them were resolved but some still persist and make the network invalid.
I wanted to implement this network to train on images as well as on image features. I have 2000 feature vectors each of size 1x20160 which I want to feed at featureinputLayer. What data transformations are needed to get this... Please guide!
Photos displaying data, network and errors are attached here:




댓글 수: 0
답변 (1개)
ziyang huang
2022년 8월 9일
openExample('nnet/CreateDlnetworkWithTwoInputLayersExample')
Try to copy this command to command window to see the built-in example, I've seen this example by chance which is almost the same as your situation and I think might help you. Seems it needs to create a dlnetwork object or whatever.

댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!