mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fine tuning, use stopbackward=1 in the cfg-file in that layer where Backward should be stopped.
This commit is contained in:
@ -218,6 +218,7 @@ void backward_network(network net, network_state state)
|
||||
state.delta = prev.delta;
|
||||
}
|
||||
layer l = net.layers[i];
|
||||
if (l.stopbackward) break;
|
||||
l.backward(l, state);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user