-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.sh
More file actions
38 lines (28 loc) · 970 Bytes
/
setup.sh
File metadata and controls
38 lines (28 loc) · 970 Bytes
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
36
37
echo "-----------------unzip sam3-main start-------------"
unzip sam3-main.zip
echo "-----------------unzip sam3-main finish-------------"
echo "-----------------install sam3 install-------------"
cd sam3-main
pip install -e .
cd ../
echo "-----------------install sam3 finish-------------"
echo "-----------------unzip all_meta.json start-------------"
unzip all_meta.json.zip
echo "-----------------unzip all_meta.json finish-------------"
# Install the packages in open-r1-multimodal .
cd src/open-r1-multimodal # We edit the grpo.py and grpo_trainer.py in open-r1 repo.
pip install -e ".[dev]"
# Addtional modules
pip install wandb==0.18.3
pip install tensorboardx
pip install qwen_vl_utils torchvision
pip install flash-attn --no-build-isolation
pip install babel
pip install python-Levenshtein
pip install matplotlib
pip install pycocotools
pip install openai
pip install httpx[socks]
pip install json_repair
pip install opencv-python
pip install decord