-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDocumentation.txt
193 lines (120 loc) · 5.82 KB
/
Documentation.txt
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
cd /jetson-inference/build/aarch64/bin
Installed Ubuntu 18.04 using Nvidia Jetson Nano Get Started.
How to install OS in Jetson Nano ?
https://developer.nvidia.com/embedded/learn/get-started-jetson-nano-devkit
How to Install CUDA ?
https://www.youtube.com/watch?v=4LuHiMvBMGY
How to create Virtual Environment ?
https://automaticaddison.com/how-to-write-a-python-program-for-nvidia-jetson-nano/
How to install PIP ?
sudo apt-get install -y python3-pip
Useful Linux Commands
https://jetsonhacks.com/helpful-command-lines/
08-05-2022
SSH related problems and solution
https://www.tecmint.com/how-to-install-and-configure-ufw-firewall/
08-05-2022
CUDA Checking
Fix Broken packages
apt --fix-broken install
Install CUDA "dependencies"
There are a few dependencies that are good to install first since they don't always get pulled along with a CUDA install from the "deb" file.
You will certainly need the build-tools and dkms,
sudo apt-get install build-essential dkms
sudo apt-get install freeglut3 freeglut3-dev libxi-dev libxmu-dev
CUDA INSTALL FOR ARM aRCHITECTURE
https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=arm64-sbsa&Compilation=Native&Distribution=Ubuntu&target_version=18.04&target_type=deb_local
https://sh-tsang.medium.com/tutorial-cuda-v10-2-cudnn-v7-6-5-installation-ubuntu-18-04-3d24c157473f
jetson inference
https://elinux.org/Jetson_Zoo
General Kickstart
https://elinux.org/Jetson_Zoo
https://jkjung-avt.github.io/jetpack-4.4/
Install Pip
sudo apt install python3-pip
Jetson Zoo - eLinux.org
To check version
Modulename —-version
To Create Swap File:
https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-20-04/
Tensorflow
sudo pip3 install --pre --extra-index-url https://developer.download.nvidia.com/compute/redist/jp/v46 'tensorflow'
https://towardsdatascience.com/yolov5-object-detection-on-nvidia-jetson-nano-148cfa21a024
02-03-2022 0924
Flask
Skbuilt
Install FLask
Pandas should be installed for downloading flask
pip install pandas
Pandas installed
pip install flask
Flask installed
Raspberry camera not worked;executed with webcam
—--
!make error
Nvcc not found
Location error
Finding nvcc - in need of cuda toolkit
Install HDf5 for h5py to run numpy
Create Virtual Environment on Ubuntu
https://linuxize.com/post/how-to-create-python-virtual-environments-on-ubuntu-18-04/
>>>Cuda Check in Ubuntu
https://varhowto.com/check-cuda-version-ubuntu-18-04/#:~:text=The%20first%20way%20to%20check,or%20from%20the%20NVIDIA%20website.&text=You%20will%20see%20similar%20output%20to%20the%20screenshot%20below.
>>>>Install IPYTHON
pip install ipython
>>> Install Google Colab
https://stackoverflow.com/questions/36183486/importerror-no-module-named-google
https://stackoverflow.com/questions/52620788/how-to-resolve-modulenotfounderror-no-module-named-google-colab
pip install google-colab
>>> ModuleNotFoundError: No module named 'packaging'
sudo apt install python3-packaging
Opencv
sudo apt-get install python3-opencv
The above code is not worked use this
https://linuxize.com/post/how-to-install-opencv-on-ubuntu-20-04/
https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3242/index.html#page/Tegra%2520Linux%2520Driver%2520Package%2520Development%2520Guide%2Fquick_start.html%23wwpID0E0LB0HA
2GB DAY-1 14-03-2022 13:51
STEP 1:
INSTALLING DEPENDENCIES FROM
https://docs.nvidia.com/deeplearning/frameworks/install-tf-jetson-platform/index.html
STATEMENT 1 :
sudo pip3 install -U --no-deps numpy==1.19.4 future==0.18.2 mock==3.0.5 keras_preprocessing==1.1.2 keras_applications==1.0.8 gast==0.4.0 protobuf pybind11 cython pkgconfig`
ERROR 1 :
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead:
TRYING TO VIRTUAL ENVIRONMENTS FROM THE ABOVE LINK
STEP 1.1:
STATEMENT 1.1:
python3 -m venv tutorial-env
ERROR 1.1 :
The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.
apt-get install python3-venv
You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.
Failing command: ['/home/ailab/tutorial-env/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip']
TRYING TO USE THE ABOVE COMMAND TO INSTALL
STEP 1.1.1:
HERE WITH THIS COMMAND STEP 1.1 IS RUNNING. NOW CONTINUING WITH STEP 1.1:
RUNNING ALL COMMANDS WITH STEP 1 ERROR LINK EXPECT
STATEMENT 1.2:
$ source ~/envs/tutorial-env/bin/activate
ERROR 1.2 :
bash: /root/envs/tutorial-env/bin/activate: No such file or directory
CONTINUING WITH LINK IN STEP 1.1 (12.3 MANAGING PACKAGES WITH PIP)
STATEMENT:
python -m pip install novas
ERROR:
Failed building wheel for novas
SOLUTION :
WHEEL IS USED BY PIP INSTALLER TO INCREASE THE SPEED OF THE INSTALLATION BUT STILL IF WE SEE THE INSTALLED WORD AT LAST THAT MEANS IT IS SUCCESSFULLY INSTALLED.
CONTINUING WITH LINK IN STEP 1.1 (12.3 MANAGING PACKAGES WITH PIP)
SUCCESSFULLY EXECUTED ALL THE CODES IN THE STEP 1.1 WITH LINK https://docs.python.org/3/tutorial/venv.html
CONTINUING WITH STEP 1 ERROR 1:
STATEMENT 1 :
sudo pip3 install -U --no-deps numpy==1.19.4 future==0.18.2 mock==3.0.5 keras_preprocessing==1.1.2 keras_applications==1.0.8 gast==0.4.0 protobuf pybind11 cython pkgconfig
ERROR 1 :
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
STILL ERROR REMAINS THE SAME
TRYING SOLUTION FOR ERROR 1:
https://similargeeks.com/errors/warning-running-pip-as-the-root-user-can-result-in-broken-permissions-and-conflicting-behaviour/
4GB DAY-1 18-03-2022 10:18
sudo apt-get install -y wget apt-transport-https