Miroslav Purkrabek commited on
Commit
3914bb1
·
1 Parent(s): a478f53

add installation setup

Browse files
Files changed (1) hide show
  1. setup.sh +14 -0
setup.sh ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # setup.sh
2
+ #!/bin/bash
3
+
4
+ # Install your version of torch, torchvision, OpenCV and NumPy
5
+ pip install torch==2.1.2+cu121 torchvision==0.16.2+cu121 --extra-index-url https://download.pytorch.org/whl/cu121
6
+ pip install numpy==1.25.1 opencv-python==4.9.0.80
7
+
8
+ # Install MMLibrary
9
+ pip install -U openmim
10
+ mim install mmengine "mmcv==2.1.0" "mmdet==3.3.0" "mmpretrain==1.2.0"
11
+
12
+ # Install dependencies
13
+ pip install -r requirements.txt
14
+ pip install -e .