Skip to content

Commit 1c73cca

Browse files
committed
small fix to update diag
1 parent adaa935 commit 1c73cca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pydvl/influence/torch/influence_function_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1153,7 +1153,7 @@ def _update_diag(
11531153
hooks.append(module.register_forward_hook(input_hook))
11541154
hooks.append(module.register_full_backward_hook(grad_hook))
11551155

1156-
for x, _ in tqdm(
1156+
for x, *_ in tqdm(
11571157
data, disable=not self.progress, desc="Update Diagonal - batch progress"
11581158
):
11591159
data_len += x.shape[0]

0 commit comments

Comments
 (0)