-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathinstall_dependencies.sh
35 lines (29 loc) · 1.09 KB
/
install_dependencies.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
#!/bin/bash
# Exit script if any command fails
set -e
# Update pip and install openmim
echo "Updating pip and installing openmim..."
pip install -U pip
pip install -U openmim
# Install packages using MIM
echo "Installing packages with MIM..."
mim install mmengine
pip install mmcv==2.1.0 -f https://download.openmmlab.com/mmcv/dist/cu118/torch2.1/index.html
pip install git+https://github.com/open-mmlab/mmdetection.git@v3.3.0
# Install various Python packages using pip
echo "Installing various Python packages..."
pip install numpy==1.26.4
pip install supervision
pip install transformers==4.38.2
pip install nltk
pip install h5py
pip install einops
pip install seaborn
pip install fairscale
pip install git+https://github.com/openai/CLIP.git --no-deps
pip install git+https://github.com/siyuanliii/TrackEval.git
pip install git+https://github.com/SysCV/tet.git#subdirectory=teta
pip install git+https://github.com/scalabel/scalabel.git@scalabel-evalAPI
pip install git+https://github.com/TAO-Dataset/tao
pip install git+https://github.com/lvis-dataset/lvis-api.git
echo "All packages installed successfully!"