File size: 572 Bytes
dec70f4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# pip install -r requirements.txt

ultralytics>=8.0.206
gradio>=4.1.2
opencv-python
matplotlib
numpy
pandas
pyyaml
pillow>=10.0.0
wget>=3.2
rich>=12.2.0
fpdf>=1.7.2
plotly>=5.7.0
bokeh>=2.4.2
openpyxl>=3.0.10

# if you want to choose gpu for inference, then you should download gpu version of pytorch from https://pytorch.org/

# run the following example command
# $ pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121

# then test whether your cuda is available
# $ python
# >>>import torch
# >>>print(torch.cuda.is_available())