From f9016c7b2cee70dd31c2ab22b9021d9b243a1588 Mon Sep 17 00:00:00 2001 From: TheaperDeng Date: Mon, 21 Oct 2024 01:38:26 -0500 Subject: [PATCH] change according to comment --- README.md | 2 +- dattri/metric/ground_truth.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48e82a7..b8245da 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ git clone https://github.com/TRAIS-Lab/dattri pip install -e . ``` -If you want to use `fast_jl` to accelerate the random projection, you may install the full version by +If you want to use `fast_jl` to accelerate the random projection, you may install the version with `fast_jl` by ```bash pip install -e .[fast_jl] diff --git a/dattri/metric/ground_truth.py b/dattri/metric/ground_truth.py index 3765eb5..ac6a4b7 100644 --- a/dattri/metric/ground_truth.py +++ b/dattri/metric/ground_truth.py @@ -160,7 +160,7 @@ def target_func(ckpt_path, dataloader): target function calculated on all test samples under `num_subsets` models, each retrained on a subset of the training data. The second tensor has the shape (num_subsets, subset_size), where each row refers to the indices of - the training samples used to retrain the model. The targeted value will be + the training samples used to retrain the model. The target value will be flipped to be consistent with the score calculated by the attributors. """ retrain_dir = Path(retrain_dir)