Use trainNetwork funcion to train a feedforwad net

2 ビュー (過去 30 日間)
Raphael Ruschel
Raphael Ruschel 2018 年 5 月 7 日
コメント済み: Raphael Ruschel 2019 年 9 月 6 日
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?

回答 (1 件)

Saeed Mohammadi
Saeed Mohammadi 2019 年 9 月 4 日
Hi,
I think this is a very interesting question. Can someone comment on this?
Thanks.
  1 件のコメント
Raphael Ruschel
Raphael Ruschel 2019 年 9 月 6 日
I tried using it as described on the question and it achieved good results, so I think it is not a problem!

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by