IQA-optimization
IQA-optimization copied to clipboard
torch.rfft has changed
wrong: module 'torch' has no attribute 'rfft'
pytorch :1.8.1+cu101
if s == 0:
EM_n = torch.sum(filter**2,dim=[1,2,3])
maxAn = An
else:
maxAn = torch.max(maxAn,An)
Is this maxAN meaningless?
wrong:"maximum_cpu" not implemented for 'ComplexFloat'
looks like it works with the following config.
pip3 install torch==1.7.1 torchvision==0.8.0
you may change 'torch.rfft' as 'torch.fft.rfft'
if s == 0: EM_n = torch.sum(filter**2,dim=[1,2,3]) maxAn = An else: maxAn = torch.max(maxAn,An)
Is this maxAN meaningless? wrong:
"maximum_cpu" not implemented for 'ComplexFloat'
I had the same problem, did you solve it?