|
a |
|
b/setup.sh |
|
|
1 |
#!/bin/bash |
|
|
2 |
# Commands to setup a new conda environment and install all the necessary packages |
|
|
3 |
# See the environment.yaml file for "conda env export > environment.yaml" after running this. |
|
|
4 |
|
|
|
5 |
set -e |
|
|
6 |
|
|
|
7 |
conda create -n BCI python=3.10.8 -y |
|
|
8 |
conda activate BCI |
|
|
9 |
|
|
|
10 |
conda install numpy matplotlib tqdm scikit-image jupyterlab -y |
|
|
11 |
conda install -c conda-forge accelerate -y |
|
|
12 |
|
|
|
13 |
pip install clip-retrieval clip pandas matplotlib ftfy regex kornia umap-learn |
|
|
14 |
pip install dalle2-pytorch |
|
|
15 |
|
|
|
16 |
pip install open_clip_torch |
|
|
17 |
|
|
|
18 |
pip install transformers==4.28.0.dev0 |
|
|
19 |
pip install diffusers==0.24.0 |
|
|
20 |
|
|
|
21 |
pip install braindecode==0.8.1 |
|
|
22 |
|
|
|
23 |
pip install torchvision==0.15.2 torch==2.0.1 |
|
|
24 |
|
|
|
25 |
pip install info-nce-pytorch==0.1.0 |
|
|
26 |
pip install pytorch-msssim |
|
|
27 |
|
|
|
28 |
pip install reformer_pytorch |
|
|
29 |
|
|
|
30 |
pip install mne |
|
|
31 |
pip install wandb |
|
|
32 |
pip install einops |