Skip to content

Commit 9c70456

Browse files
Fix a bug
1 parent 8a60f62 commit 9c70456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ddranking/metrics/soft_label.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ def compute_metrics(self, image_tensor: Tensor=None, image_path: str=None, soft_
375375
syn_data_soft_label_acc = self.compute_soft_label_metrics(
376376
model=model,
377377
image_tensor=image_tensor,
378-
image_path=None,
378+
image_path=image_path,
379379
lr=syn_lr,
380380
soft_labels=soft_labels
381381
)

0 commit comments

Comments
 (0)