Skip to content

Benchmark against other IQA packages #24

Discussion options

You must be logged in to vote

Hello @pythonmobile,

I use a very simple script to benchmark my implementations against other IQA packages (piq, kornia, pytorch_msssim, ...). For instance, on my machine,

$ cd tests
$ python -O benchmark.py --metrics SSIM --device cuda
SSIM
----
        method     value      time
0    piqa.SSIM  0.724984  1.115653
1   vainf.SSIM  0.724984  1.201881
2     IQA.SSIM  0.725902  1.748422
3     piq.ssim  0.724968  1.822861
4  kornia.SSIM  0.731045  2.218630

where the value is the output of each method (for consistency) and time is the average runtime (in ms) over 420 one-image batches. The gap is larger if we activate Just-In-Time compilation (see #JIT):

$ PIQA_JIT=1 python -O benchmark.py --…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by francois-rozet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
performance Speed and efficiency
2 participants
Converted from issue

This discussion was converted from issue #23 on February 13, 2022 11:17.