We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
您好! 请问为何测试结果不在[0,1]区间? 相同的输入,使用DBCNN, 结果是0.49859,LIQE是3.3864
######Test LIQE#####
import torch import cv2 import torch.nn.functional as F import pyiqa iqa_metric = pyiqa.create_metric("liqe_mix", device="cuda") img = cv2.imread('/data1/home/Testcodec/bench/jpeg-ai/invcompress/q8/00003_TE_1944x1296.png') img = torch.tensor(img).permute(2, 0, 1).float() img = img.unsqueeze(0) / 255.0 print(img.shape) print(iqa_metric(img)) del img
######Out##### torch.Size([1, 3, 1296, 1944]) tensor([3.3864], device='cuda:0')
The text was updated successfully, but these errors were encountered:
你好,LIQE的分数区间是[1,5]
Sorry, something went wrong.
No branches or pull requests
您好!
请问为何测试结果不在[0,1]区间?
相同的输入,使用DBCNN, 结果是0.49859,LIQE是3.3864
######Test LIQE#####
######Out#####
torch.Size([1, 3, 1296, 1944])
tensor([3.3864], device='cuda:0')
The text was updated successfully, but these errors were encountered: