Info

此问题已关闭。 请重新打开它进行编辑或回答。

trainNetwork - protect centain layers from changing

1 次查看(过去 30 天)
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?

回答(1 个)

BERGHOUT Tarek
BERGHOUT Tarek 2019-2-4
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