You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I hope this message finds you well. I would like to suggest a clarification for the AssertionError message in the erqa.py file. I encountered an issue which appears to be related to your package's requirement for the target image and the ground truth (gt) to have the same size and be in BGR order. The error message I received was as follows:
File ~/mambaforge/envs/image_quality/lib/python3.9/site-packages/erqa/erqa.py:62, in ERQA.__call__(self, img, gt, return_vis)
61 def __call__(self, img, gt, return_vis=False):
---> 62 assert gt.shape == img.shape
63 assert gt.shape[2] == 3, 'Compared images should be in BGR format'
65 if self.global_compensation:
AssertionError:
Assuming that img refers to the target image, it implies that both images must have the same size. If this is not the case, I'm uncertain about the purpose of the assert statement in this context.
I greatly appreciate your valuable contributions in this area.
Take care and stay safe!
The text was updated successfully, but these errors were encountered:
Hello,
I hope this message finds you well. I would like to suggest a clarification for the AssertionError message in the
erqa.py
file. I encountered an issue which appears to be related to your package's requirement for the target image and the ground truth (gt) to have the same size and be in BGR order. The error message I received was as follows:Assuming that
img
refers to the target image, it implies that both images must have the same size. If this is not the case, I'm uncertain about the purpose of the assert statement in this context.I greatly appreciate your valuable contributions in this area.
Take care and stay safe!
The text was updated successfully, but these errors were encountered: