|
if SETS not in imagelab_info.get(IssueType.EXACT_DUPLICATES.value, {}): |
I was trying to get near duplicates only but the code calculates exact duplicates too. I am not sure if it is required but the following lines seem to have a problem.
SETS = "sets"
...
if SETS not in imagelab_info.get(IssueType.EXACT_DUPLICATES.value, {}):
to_compute.append(IssueType.EXACT_DUPLICATES.value)
So, the code always adds the exact_duplicates to to_compute list whenever this function is called. Is this the goal for the function?
cleanvision/src/cleanvision/issue_managers/duplicate_issue_manager.py
Line 97 in cd8f98b
I was trying to get near duplicates only but the code calculates exact duplicates too. I am not sure if it is required but the following lines seem to have a problem.
So, the code always adds the
exact_duplicatestoto_computelist whenever this function is called. Is this the goal for the function?