Skip to content

Commit

Permalink
[Feature] Support NIQE (#80)
Browse files Browse the repository at this point in the history
* support niqe

* add ut

* fix typo

* fix video niqe

* fix comments

* rename

* fix comments

* add docs

* fix ut

* update comments

* update comments

* update comments

* update comments

* update comments

* add data to wheele package

* update comments

* update comments

---------

Co-authored-by: C1rN09 <[email protected]>
  • Loading branch information
Z-Fran and C1rN09 authored Mar 3, 2023
1 parent 2c60fa0 commit a05c685
Show file tree
Hide file tree
Showing 10 changed files with 573 additions and 3 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include mmeval/extra_data/niqe_pris_params.npz
1 change: 1 addition & 0 deletions docs/en/api/metrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Metrics
ConnectivityError
DOTAMeanAP
ROUGE
NaturalImageQualityEvaluator
Perplexity
KeypointEndPointError
KeypointAUC
Expand Down
1 change: 1 addition & 0 deletions docs/zh_cn/api/metrics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Metrics
ConnectivityError
DOTAMeanAP
ROUGE
NaturalImageQualityEvaluator
Perplexity
KeypointEndPointError
KeypointAUC
Expand Down
Binary file added mmeval/extra_data/niqe_pris_params.npz
Binary file not shown.
3 changes: 2 additions & 1 deletion mmeval/metrics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from .mean_iou import MeanIoU
from .mse import MeanSquaredError
from .multi_label import AveragePrecision, MultiLabelMetric
from .niqe import NaturalImageQualityEvaluator
from .oid_map import OIDMeanAP
from .pck_accuracy import JhmdbPCKAccuracy, MpiiPCKAccuracy, PCKAccuracy
from .perplexity import Perplexity
Expand All @@ -41,7 +42,7 @@
'AveragePrecision', 'AVAMeanAP', 'BLEU', 'DOTAMeanAP',
'SumAbsoluteDifferences', 'GradientError', 'MattingMeanSquaredError',
'ConnectivityError', 'ROUGE', 'Perplexity', 'KeypointEndPointError',
'KeypointAUC', 'KeypointNME'
'KeypointAUC', 'KeypointNME', 'NaturalImageQualityEvaluator'
]

_deprecated_msg = (
Expand Down
Loading

0 comments on commit a05c685

Please sign in to comment.