I don't know what you're talking about Alexey...

This commit is contained in:
Joseph Redmon 2018-08-03 16:37:44 -07:00
parent b13f67bfdd
commit 9a4b19c415

View File

@ -79,8 +79,8 @@ void resize_maxpool_layer(maxpool_layer *l, int w, int h)
void forward_maxpool_layer(const maxpool_layer l, network net) void forward_maxpool_layer(const maxpool_layer l, network net)
{ {
int b,i,j,k,m,n; int b,i,j,k,m,n;
int w_offset = -l.pad/l.stride; int w_offset = -l.pad/2;
int h_offset = -l.pad/l.stride; int h_offset = -l.pad/2;
int h = l.out_h; int h = l.out_h;
int w = l.out_w; int w = l.out_w;