Use theano.tensor.nnet.conv2d instead. On Tue, Aug 23, 2016, [email protected] wrote: > Hi, sorry for the disturbance but when I use the border_mode=(int, int) on > theano.tensor.nnet.conv.conv2d it does't work it always gives me the > following error: > > Traceback (most recent call last): > File "bigger.py", line 285, in <module> > noise_layers = model(X, W, 0.2, 0.5) > File "bigger.py", line 196, in model > h1 = rectify(conv2d(X, W[0], border_mode=(5,5), subsample=(4,4))) > File > "/Users/user/.local/lib/python2.7/site-packages/theano/tensor/nnet/conv.py", > line 151, in conv2d > imshp=imshp, kshp=kshp, nkern=nkern, bsize=bsize, **kargs) > File > "/Users/user/.local/lib/python2.7/site-packages/theano/tensor/nnet/conv.py", > line 533, in __init__ > raise Exception("Mode %s not implemented" % str(self.out_mode)) > Exception: Mode (5, 5) not implemented > > I'm using theano 0.9 from developer repo. > > When the conv.py implementation in theano it says that is an old deprecated > interface plus in the border_mode I can only see two options which valid > and full. Besides that I don't see any option for using your own border > dimension like a tuple list (int, int) > > Am I missing something? Or maybe I'm doing something wrong? > > Thanks! > > > > On Tuesday, August 23, 2016 at 2:19:38 PM UTC+1, nouiz wrote: > > > > Border mode for convolution is implemented. What do you mean otherwise? Do > > you have links to those precious request? > > > > Le 23 août 2016 06:31, <[email protected] <javascript:>> a écrit : > > > >> Dear all, > >> > >> may I ask why aren't border_modes still not implemented in theano. > >> There's been discussion since 2014, 215 were people have expressed their > >> interest but still yet not implemented. Is there any plan to include this > >> sometime in the near future in Theano. I'm running latest dev version. > >> > >> Thanks. > >> > >> -- > >> > >> --- > >> 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 > >> email to [email protected] <javascript:>. > >> For more options, visit https://groups.google.com/d/optout. > >> > > > > -- > > --- > 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 > email to [email protected]. > For more options, visit https://groups.google.com/d/optout.
-- Pascal -- --- 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 email to [email protected]. For more options, visit https://groups.google.com/d/optout.
