You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the patches.py file, there is a method called find_patch_matches. I wonder to know why the third and forth dimension of b should be changed to b[:, :, ::-1, ::-1]
if convs is None:
convs = K.conv2d(a, b[:, :, ::-1, ::-1], border_mode='valid')
Thank you so much!
The text was updated successfully, but these errors were encountered:
the filter_flip=True is the default param of conv2d ,which belong to theano.sandbox.cuda.dnn.dnn_conv or theano.tensor.nnet that is latest update to replace dnn
so , conv2d(input,b[:, :, ::-1, ::-1]) is equal to conv2d(input,b,filter_flip=False) where filter_flip is explictly defined to False in func's param .
In the patches.py file, there is a method called find_patch_matches. I wonder to know why the third and forth dimension of b should be changed to b[:, :, ::-1, ::-1]
if convs is None:
convs = K.conv2d(a, b[:, :, ::-1, ::-1], border_mode='valid')
Thank you so much!
The text was updated successfully, but these errors were encountered: