I don't have time to investigate. Can you give the output of your script? On the GPU, the operation aren't done in the same order. Due to float a+(b+c) !- (a+b)+c. So this could be the reason.
How big is the difference? On Thu, Jul 14, 2016 at 5:21 AM, Wang Xiyuan <[email protected]> wrote: > Hello, everyone. > > I was testing theano.tensor.nnet.conv3D > and theano.tensor.nnet.conv3d2d.conv3d on gpu, I expected that the two > functions give the same result. However, I found that when the input data > size is identical to the filter size and the output is a scale, the results > are different. When I switched to cpu, the results become the same. I'm > quite puzzled. I guess it has something to do with cudnn. > > But is there any way to fix this? > > I'm using Theano 8.2, cudnn v4, and cuda 7.5. and my OS is centos 6.5. A > simple example is in the attached script. (This script is actually from > adapting the one in the post: > https://groups.google.com/forum/#!msg/theano-users/1S9_bZgHxVw/0cQR9a4riFUJ > ) > > Thank you every much. > > Xiyuan > > -- > > --- > 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. > -- --- 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.
