From 07fbb55474d4db8292eebb5a6ed77389d5033cc6 Mon Sep 17 00:00:00 2001 From: "agustin-martin.picard" Date: Fri, 16 Feb 2024 18:12:12 +0100 Subject: [PATCH] bench tests: update use_bias parameter for RPS calculators --- tests/benchmark/test_bench.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/benchmark/test_bench.py b/tests/benchmark/test_bench.py index 0cb49ee..4037bc7 100644 --- a/tests/benchmark/test_bench.py +++ b/tests/benchmark/test_bench.py @@ -107,7 +107,8 @@ def test_rps_lje(): test_batch_size=10, epochs_to_save=None, take_batch=take_batch, - verbose_training=False) + verbose_training=False, + use_bias=False) influence_factory = RPSLJEFactory('exact') result = cifar10_evaluator.evaluate(influence_factory=influence_factory, nbr_of_evaluation=2, verbose=False) @@ -126,7 +127,8 @@ def test_rps_l2(): test_batch_size=10, epochs_to_save=None, take_batch=take_batch, - verbose_training=False) + verbose_training=False, + use_bias=False) influence_factory = RPSL2Factory(CategoricalCrossentropy(from_logits=True, reduction=Reduction.NONE), lambda_regularization=10.0)