Bug fix for TridentNet

Bug fix for TridentNet - share_index
pull/3654/head
Alexey 6 years ago committed by GitHub
parent 61bab85a54
commit 6761e832cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/parser.c

@ -167,7 +167,7 @@ convolutional_layer parse_convolutional(list *options, size_params params, netwo
int share_index = option_find_int_quiet(options, "share_index", -1);
convolutional_layer *share_layer = NULL;
if((long long int)share_layer > -1) share_layer = &net.layers[share_index];
if(share_index > -1) share_layer = &net.layers[share_index];
int batch,h,w,c;
h = params.h;

Loading…
Cancel
Save