-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
988 additions
and
1,080 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# CIFAR-10 & ResNet-9 Example | ||
|
||
This directory contains scripts designed for training ResNet-9 on CIFAR-10. | ||
|
||
## Training | ||
|
||
To train a regression model on the Concrete dataset, run the following command: | ||
```bash | ||
python train.py --dataset_name concrete \ | ||
--dataset_dir ./data \ | ||
--output_dir ./checkpoints \ | ||
--train_batch_size 32 \ | ||
--eval_batch_size 1024 \ | ||
--learning_rate 0.03 \ | ||
--weight_decay 1e-5 \ | ||
--num_train_epochs 20 \ | ||
--seed 1004 | ||
``` | ||
|
||
# Computing Pairwise Influence Scores | ||
|
||
To obtain a pairwise influence scores using EKFAC, run the following command: | ||
```bash | ||
python analyze.py --dataset_name concrete \ | ||
--dataset_dir ./data \ | ||
--checkpoint_dir ./checkpoints \ | ||
--factor_strategy ekfac | ||
``` | ||
|
||
# Counterfactual Evaluation | ||
|
||
You can check the notebook `tutorial.ipynb` for running the counterfactual evaluation. |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
scikit-learn | ||
jupyter | ||
jupyter | ||
tueplots |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters