forked from bertsky/ocrd_detectron2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install.sh
13 lines (10 loc) · 633 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
pip install -r ./requirements_root.txt
pip install typing-extensions
#pythorch
#pip install -i "https://download.pytorch.org/whl/cpu" -r ./requirements_torch.txt
#oder
#pip install torch==1.10.1+cpu torchvision==0.11.2+cpu torchaudio==0.10.1 -f https://download.pytorch.org/whl/cpu/torch_stable.html
#oder
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
#python -m pip install detectron2==0.6 -f https://dl.fbaipublicfiles.com/detectron2/wheels/cpu/torch1.10/index.html
python -m pip install 'git+https:/facebookresearch/detectron2.git' --no-cache-dir --force-reinstall