We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9137659 commit 99b93dbCopy full SHA for 99b93db
src/cleanvision/issue_managers/duplicate_issue_manager.py
@@ -184,7 +184,9 @@ def _update_issues(self) -> None:
184
for issue_type in self.issue_types:
185
score_col = get_score_colname(issue_type)
186
for s in self.info[issue_type][SETS]:
187
- score = 1.0 / len(s) # will never be 0 because all images in this set are duplicated
+ score = 1.0 / len(
188
+ s
189
+ ) # will never be 0 because all images in this set are duplicated
190
score_df.loc[s, score_col] = score
191
192
self.issues = self.issues.join(score_df[[score_col]])
0 commit comments