You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/cifar/README.md
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# CIFAR-10 & ResNet-9 Example
2
2
3
-
This directory contains scripts for training ResNet-9 and computing influence scores on CIFAR-10 dataset. The pipeline is motivated from
3
+
This directory contains scripts for training ResNet-9 and computing influence scores on the CIFAR-10 dataset. The pipeline is motivated from the
4
4
[TRAK repository](https://github.com/MadryLab/trak/blob/main/examples/cifar_quickstart.ipynb). To get started, please install the necessary packages by running the following command:
5
5
6
6
```bash
@@ -9,7 +9,7 @@ pip install -r requirements.txt
9
9
10
10
## Training
11
11
12
-
To train ResNet-9 on the CIFAR-10 dataset, run the following command:
In addition to `ekfac`, you can also use `identity`, `diagonal`, and `kfac` as the `factor_strategy`. On an A100 (80GB) GPU, it takes roughly 2 minutes to compute the pairwise scores (including computing the EKFAC factors):
38
+
In addition to `ekfac`, you can also use `identity`, `diagonal`, and `kfac` as the `factor_strategy`.
39
+
On an A100 (80GB) GPU, computation takes approximately 2 minutes, including EKFAC factor calculation:
[This Colab notebook](https://colab.research.google.com/drive/1KIwIbeJh_om4tRwceuZ005fVKDsiXKgr?usp=sharing) provides a tutorial on visualizing the top influential training images.
101
+
For a tutorial on visualizing top influential training images, refer to [this Colab notebook](https://colab.research.google.com/drive/1KIwIbeJh_om4tRwceuZ005fVKDsiXKgr?usp=sharing)
101
102
102
103
## Mislabeled Data Detection
103
104
104
105
We can use self-influence scores (see **Section 5.4** for the [paper](https://arxiv.org/pdf/1703.04730.pdf)) to detect mislabeled examples.
105
-
First, train the model with 10% of the training examples mislabeled by running:
106
+
First, train the model with 10% of the training examples mislabeled:
0 commit comments