Use trainNetwork funcion to train a feedforwad net

2 visualizaciones (últimos 30 días)
Raphael Ruschel
Raphael Ruschel el 7 de Mayo de 2018
Comentada: Raphael Ruschel el 6 de Sept. de 2019
Does the trainNetwork function can only be used to train CNNs and LSTMs as written in the documentation or can I use it to train a feedforwad net as well?
My idea was to create the ImageInputLayer the size of my feature vector and then use a couple of fullyConnectedLayers followed by RELULayers and dropoutLayers. The reason to want to use this intead of the regular feedforwardnet and train functions are the possibilities to use ReLU and dropout, more flexibility to choose the training parameters, and the usage of the ImageDatastore structure.
Will this method give me similar results to when feedforward and train are used or the way the trainNetwork function is implemented is not recommended for feedforward-only training?

Respuestas (1)

Saeed Mohammadi
Saeed Mohammadi el 4 de Sept. de 2019
Hi,
I think this is a very interesting question. Can someone comment on this?
Thanks.
  1 comentario
Raphael Ruschel
Raphael Ruschel el 6 de Sept. de 2019
I tried using it as described on the question and it achieved good results, so I think it is not a problem!

Iniciar sesión para comentar.

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!

Translated by