|
1 | 1 | #! Python3.8
|
2 | 2 |
|
3 |
| -numpy<2.0 # Installing NumPy, a package for scientific computing |
4 |
| - |
5 |
| -# Pandas # Installing Pandas, a data analysis / data manipulation tool |
6 |
| -# CoreMLTools # Installing CoreMLTools, for working with .mlmodel format models |
7 |
| -# OpenCV-Python # Installing OpenCV, the Open source Computer Vision library |
8 |
| -# Pillow<10.0.0 # Installing Pillow, a Python Image Library |
9 |
| -# SciPy # Installing SciPy, a library for mathematics, science, and engineering |
10 |
| -# PyYAML # Installing PyYAML, a library for reading configuration files |
11 |
| - |
12 |
| -# Torch # Installing Torch, for Tensor computation and Deep neural networks |
13 |
| -# TorchVision # Installing TorchVision, for Computer Vision based AI |
14 |
| - |
15 |
| -# We'll lock down to Torch 1.X, CPU-only to play it safe |
16 |
| ---extra-index-url https://download.pytorch.org/whl/cpu |
17 |
| -torch==1.13.1+cpu # Installing Torch, for Tensor computation and Deep neural networks |
18 |
| ---extra-index-url https://download.pytorch.org/whl/cpu |
19 |
| -torchvision==0.14.1+cpu # Installing TorchVision, for Computer Vision based AI |
20 |
| - |
21 |
| -# Specific version because we have a patch |
22 |
| -ultralytics==8.1.2 # Installing Ultralytics package for object detection in images |
23 |
| - |
24 |
| -# We need this, but we don't need this. |
25 |
| -# Seaborn # Installing Seaborn, a data visualization library based on matplotlib |
26 |
| - |
27 |
| -CodeProject-AI-SDK # Installing the CodeProject.AI SDK |
| 3 | +# Based on the answer for pleas to Ultralyitcs to not include the full bloated NVIDA libraries |
| 4 | +# when no GPU present: https://github.com/ultralytics/ultralytics/issues/749#issuecomment-1806360075 |
| 5 | + |
| 6 | +opencv-python-headless==4.8.1.78 # Installing OpenCV (headless), the Open source Computer Vision library |
| 7 | +numpy==1.26.0 # Installing NumPy, a package for scientific computing |
| 8 | +matplotlib>=3.3.0 # Installing Matplotlib, the Python plotting package |
| 9 | +opencv-python>=4.6.0 # Installing OpenCV, the Open source Computer Vision library |
| 10 | +pillow>=7.1.2 # Installing Pillow, a Python Image Library |
| 11 | +pyyaml>=5.3.1 # Installing PyYAML, a library for reading configuration files |
| 12 | +requests>=2.23.0 # Installing Requests, the HTTP library |
| 13 | +scipy>=1.4.1 # Installing SciPy, a library for mathematics, science, and engineering |
| 14 | +tqdm>=4.64.0 # Installing TDQM, the Fast, Extensible Progress Meter |
| 15 | +pandas>=1.1.4 # Installing Pandas, a data analysis / data manipulation tool |
| 16 | +psutil # Installing psutil, a tool to check system utilization |
| 17 | +dill # Installing dill, for serializing and de-serializing Python objects |
| 18 | +py-cpuinfo # Installing py-cpuinfo to allow us to query CPU info |
| 19 | + |
| 20 | +#Install torch and torchvision CPU only versions |
| 21 | +-f https://download.pytorch.org/whl/cpu/torch_stable.html |
| 22 | +torch==1.8.0+cpu # Installing PyTorch, for Tensor computation and Deep neural networks |
| 23 | +-f https://download.pytorch.org/whl/cpu/torch_stable.html |
| 24 | +torchvision==0.9.0+cpu # Installing TorchVision, for Computer Vision based AI |
| 25 | + |
| 26 | +# Explicitly install ultralytics without optional dependencies (like CUDA). |
| 27 | +--no-deps |
| 28 | +ultralytics==8.1.2 # Installing Ultralytics package for object detection in images |
| 29 | + |
| 30 | + |
| 31 | +CodeProject-AI-SDK # Installing the CodeProject.AI SDK |
28 | 32 |
|
29 | 33 | # last line empty.
|
0 commit comments