Fix training TridentNet

This commit is contained in:
AlexeyAB
2019-08-30 20:28:56 +03:00
parent 660a9b225c
commit 2a382e5a4b

View File

@ -12,6 +12,7 @@ void free_sublayer(layer *l)
void free_layer(layer l)
{
if (l.share_layer != NULL) return; // don't free shared layers
if (l.type == CONV_LSTM) {
if (l.peephole) {
free_sublayer(l.vf);