Re: [theano-users] How to build different average pooling operation I'll call it local average pooling ?

2017-08-18 Thread Feras Almasri
Jessy yes this is the idea exactly. I don't want to use the global average because I don't want to include zero activated points in the cost value neither on the gradient calculation. So the local pooling might help to give the average on that local activated area. by applying the sum the trace

Re: [theano-users] How to build different average pooling operation I'll call it local average pooling ?

2017-08-09 Thread Jesse Livezey
I think this idea would be something like y = [1, 2, 3, 0] y_current_avgpool = (1 + 2 + 3 + 0) / 4 y_new_avgpool = (1 + 2 + 3) / 3 I'm not sure that there is a simple way to do this currently. You could do sum pooling first, then compute the divisors by looking at the number of non-zero

[theano-users] How to build different average pooling operation I'll call it local average pooling ?

2017-08-08 Thread Feras Almasri
I want to have an node that take the average of the only activated points in the last feature map. what I mean by activated points is any pixel higher than zero. instead of taking the global average of the full feature map I'd rather take it of the only activated pixels. If I just do this in