mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fix training TridentNet
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user