forked from pytorch/hub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.sh
More file actions
executable file
·22 lines (18 loc) · 780 Bytes
/
Copy pathinstall.sh
File metadata and controls
executable file
·22 lines (18 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/bash
set -e
. ~/miniconda3/etc/profile.d/conda.sh
conda activate base
# Install the latest release of pytorch and torchvision
conda install -y pytorch torchvision -c pytorch
# Also install torchaudio
conda install -y -c pytorch torchaudio
# Dependencies required to load models
conda install -y regex pillow tqdm boto3 requests numpy\
h5py scipy matplotlib unidecode ipython pyyaml
conda install -y -c conda-forge librosa inflect
pip install -q fastBPE sacremoses sentencepiece subword_nmt editdistance
pip install -q visdom mistune filelock tokenizers packaging pandas
pip install -q omegaconf timm seaborn importlib_metadata huggingface_hub
pip install -q hydra-core opencv-python fvcore
pip install -q --upgrade google-api-python-client
pip install pytorchvideo