mirror of
https://github.com/pjreddie/darknet.git
synced 2023-08-10 21:13:14 +03:00
Fixed yolov3-tiny_xnor.cfg
This commit is contained in:
@ -120,7 +120,6 @@ pad=1
|
||||
activation=leaky
|
||||
|
||||
[convolutional]
|
||||
xnor=1
|
||||
batch_normalize=1
|
||||
filters=512
|
||||
size=3
|
||||
|
@ -120,7 +120,6 @@ pad=1
|
||||
activation=leaky
|
||||
|
||||
[convolutional]
|
||||
xnor=1
|
||||
batch_normalize=1
|
||||
filters=512
|
||||
size=3
|
||||
|
@ -404,7 +404,9 @@ convolutional_layer make_convolutional_layer(int batch, int h, int w, int c, int
|
||||
|
||||
//fprintf(stderr, "conv %5d %2d x%2d /%2d %4d x%4d x%4d -> %4d x%4d x%4d\n", n, size, size, stride, w, h, c, l.out_w, l.out_h, l.out_c);
|
||||
l.bflops = (2.0 * l.n * l.size*l.size*l.c * l.out_h*l.out_w) / 1000000000.;
|
||||
fprintf(stderr, "conv %5d %2d x%2d /%2d %4d x%4d x%4d -> %4d x%4d x%4d %5.3f BF\n", n, size, size, stride, w, h, c, l.out_w, l.out_h, l.out_c, l.bflops);
|
||||
if (l.xnor) fprintf(stderr, "convX ");
|
||||
else fprintf(stderr, "conv ");
|
||||
fprintf(stderr, "%5d %2d x%2d /%2d %4d x%4d x%4d -> %4d x%4d x%4d %5.3f BF\n", n, size, size, stride, w, h, c, l.out_w, l.out_h, l.out_c, l.bflops);
|
||||
|
||||
return l;
|
||||
}
|
||||
|
Reference in New Issue
Block a user