I need help and kind guidance. I am trying to implement and apply a wiener filter on the input image of the shape:
input = [1,3,128,128] 1) When I try to perform iffrt:
return torch.irfft(Y.div(G),2,signal_sizes = input.shape[-2:]), c
the following error occurred :
AttributeError: module ‘torch’ has no attribute ‘irfft’
2) Following the above error I also tried with fft
return torch.fft.irfft(Y.div(G),2,signal_sizes = input.shape[-2:]), c
the following error occurred:
TypeError: fft_irfft() got an unexpected keyword argument ‘signal_sizes’