Skip to content

Commit 18dc2d0

Browse files
author
Chris Maunder
committed
Corrections for OrangePi
1 parent 7b4c876 commit 18dc2d0

File tree

3 files changed

+67
-1
lines changed

3 files changed

+67
-1
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#! Python3.8
2+
3+
# Based on the answer for pleas to Ultralytics to not include the full bloated NVIDIA 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 # Installing PyTorch, for Tensor computation and Deep neural networks
23+
-f https://download.pytorch.org/whl/cpu/torch_stable.html
24+
torchvision==0.9.1 # 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
32+
33+
# last line empty.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#! Python3.8
2+
3+
# Based on the answer for pleas to Ultralytics to not include the full bloated NVIDIA 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 # Installing PyTorch, for Tensor computation and Deep neural networks
23+
-f https://download.pytorch.org/whl/cpu/torch_stable.html
24+
torchvision==0.9.1 # 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
32+
33+
# last line empty.

src/scripts/utils.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ function setupDotNet () {
10111011
# link and env variables
10121012
writeLine "Link Binaries to /usr/local/bin..."
10131013
if [ -e /usr/local/bin/dotnet ]; then
1014-
rm /usr/local/bin/dotnet
1014+
sudo rm /usr/local/bin/dotnet
10151015
fi
10161016
sudo ln -s ${dotnet_path}dotnet /usr/local/bin
10171017

0 commit comments

Comments
 (0)