What I have done is a bit rudimentary, but maybe it could help to anyone.
I have saved the output of the layer where stride (or subsamples, like in
the conv2d is called) is produced in a pickle file, and I have load it in a
new python file and looking into the output I could know the size and give
that value to the next layer.
El martes, 4 de octubre de 2016, 19:16:44 (UTC+2), nouiz escribió:
> Theano don't have a good user interface for that. But you could use some
> internal function that help for that. Like calling op.infer_shape with the
> right parameter.
> Otherwise, I think it would be easier to use Lasagne or keras. Lasagne is
> a thin layer on top of Theano that provide that type of information more
> easily. So if you want to stay close to Theano or you want to do
> complicated thing, it will allow you to mess directly with theano.
> On Tue, Oct 4, 2016 at 7:32 AM, Beatriz G. <beaa...@gmail.com
>> Hi eveyone:
>> I would like to calculate the size of the images at the output of a
>> convolutional layer (or convloutional + max-pool layer) to give that value
>> to the next layer.
>> Anyone could help me?
>> You received this message because you are subscribed to the Google Groups
>> "theano-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.