Theano has a couple of functions to do subsampling (pooling) or linear interpolation, but only by an integer factor, not something as generic as cv2 can provide.
On Mon, Aug 29, 2016, [email protected] wrote: > I want to resize images in the scan function,the resize procedure is done > online(I want to crop images which cannot be determined before hand,so I > cannot use resize function of numpy or cv2) ,I found there is no any > functions in theano to do the analogous thing. > > 在 2016年8月26日星期五 UTC+8下午2:37:31,[email protected]写道: > > > > I have a tensor (2,3,640,480),it is probablely 2 images,and i want to > > resize it to a tensor of dimsion(2,3,200,200). > > Is there any function can 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 > 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.
