Comments (1)
测试demo文件并未提供具体方法的option,你需要按照使用样例中的例子写代码测试:
import pyiqa
import torch
iqa_metric = pyiqa.create_metric('nrqm', test_y_channel=True, color_space='ycbcr').to(device)
# Tensor inputs, img_tensor: (N, 3, H, W), RGB, 0 ~ 1
score_nr = iqa_metric(img_tensor_x)
请务必注意使用正确的colorspace。YCBCR和普通的gray channel (对应YIQ) 有所不同。
from iqa-pytorch.
Related Issues (20)
- Question about the code in pyiqa/data/transforms.py HOT 1
- 2AFC score on BAPPS HOT 1
- Some method score change on the same photo when inference HOT 1
- Source type validation not detecting PIL image correctly HOT 1
- Improve documents
- Question about Maniqa HOT 3
- question about the HTTP Error? HOT 2
- 请问提供的topiq_nr-face是在哪个数据集上训练过的呢 HOT 1
- 关于一些评价指标对同一张图评价时,结果不同。 HOT 2
- Error when making more than one inference with the topiq_nr-face metric HOT 1
- 关于PSNR和MSE计算的问题 HOT 1
- 关于使用模型musiq-ava输出分布标签问题
- Training on custom model-dataset combination HOT 2
- 计算节点没有联网导致无法运行代码 HOT 4
- SPAQ dataset: cuda out of memory. HOT 2
- CLIP-IQA+ pretrained weights HOT 4
- clipscore报错AssertionError: caption_list is None HOT 2
- 如何使用这个工具在自己构建的训练和测试集上做训练呢 HOT 1
- Performance of 'topiq_nr-face' metric HOT 3
- pyiqa是否会统一参考图像和生成图像的分辨率? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iqa-pytorch.