Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

trainNetwork - protect centain layers from changing

1 vue (au cours des 30 derniers jours)
Samuel Ubrezi
Samuel Ubrezi le 26 Jan 2019
Clôturé : MATLAB Answer Bot le 20 Août 2021
Hi,
I am trying to do train a neural net with my own layers but I dont want to change weights and biases in certain layers.
algorithm looks like this:
train Net1 with Layers1
train Net2 with Layers = [Layers2 Layers1]
My problem is that I dont want to anyhow alter weights and biases in Layers1, is there any way to do this?

Réponses (1)

BERGHOUT Tarek
BERGHOUT Tarek le 4 Fév 2019
yes there is a pssibility take this codes and change the training lope, when you find ''for i=1: nember of layes '' change it to for " i=2:nember of layes ", good luck.

Community Treasure Hunt

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

Start Hunting!

Translated by