Skip to content

Commit

Permalink
fix lpips.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RebornForPower committed Nov 10, 2021
1 parent a74fb57 commit 10f55c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basicsr/metrics/lpips.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import torch

@METRIC_REGISTRY.register()
def calculate_lpips(img, img2, crop_border, input_order='HWC', test_y_channel=False):
def calculate_lpips(img, img2, crop_border, input_order='HWC', test_y_channel=False, **kwargs):

"""Calculate LPIPS.
Ref: https://github.com/xinntao/BasicSR/pull/367
Expand Down

0 comments on commit 10f55c8

Please sign in to comment.