How can I pass raw data as input to a convolutional neural network?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Diego Alonso
el 8 de Sept. de 2017
Comentada: Diego Alonso
el 20 de Sept. de 2017
Hi everyone,
I am trying to pass as input a numeric vector of data to a convolutional neural network. I know that it's possible to pass a numeric input to a convolutional network in Python but, do you know how can I do in Matlab?
0 comentarios
Respuesta aceptada
Sarah Mohamed
el 13 de Sept. de 2017
If I understand correctly, you are interested in specifying an input layer for a CNN that accepts a numeric vector. This is indeed possible using the “imageInputLayer” function:
n = 1000 % n = length of the input signal
inputLayer = imageInputLayer([1 n]) % Input is a row vector of length n
% Valid type = single or double
You might find the following Answers post relevant to you – this user’s question involves constructing a CNN with a 1D input signal:
Más respuestas (0)
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!