Skip to content

Commit

Permalink
change according to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TheaperDeng committed Oct 21, 2024
1 parent ce4d31d commit f9016c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion dattri/metric/ground_truth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f9016c7

Please sign in to comment.