-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.sh
35 lines (30 loc) · 946 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# create mamba environment and activate it
conda create -n 07-failure-modes -y python
eval "$(conda shell.bash hook)"
conda activate 07-failure-modes
# install the ipython kernel for running jupyterlab
conda install -y ipykernel ipywidgets
# for TAs to format the notebooks
# conda install jupytext black nbconvert
# install libraries needed for the exercise
# model interpretability
pip install git+https://github.com/pytorch/captum.git
# classification package
pip install git+https://github.com/adjavon/classification.git
# UNET package from dlmbl
pip install git+https://github.com/dlmbl/dlmbl-unet.git
# computer vision deep learning
pip install torchvision
# progress bars
pip install tqdm
# scientific computing
pip install scipy
# machine learning
pip install scikit-learn
# data tables
pip install pandas
# visualization/graphing
pip install seaborn
# download data needed for the exercise
python download_mnist.py
conda deactivate