Skip to content

Commit 9aa4719

Browse files
committed
Added Jetson Nano specific release -- Downgraded PyToch to 1.10 to regain 5.3 support
1 parent 1541e2c commit 9aa4719

6 files changed

+1439
-2
lines changed

Jetson/BuildConf/jetson_tensorflow_opencv-r32.6.1_1.15_3.4.16-20220407.txt

Lines changed: 369 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 366 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,366 @@
1+
CTO_FROM : nvcr.io/nvidia/l4t-tensorflow:r32.6.1-tf1.15-py3
2+
docker build \
3+
--build-arg CTO_FROM="nvcr.io/nvidia/l4t-tensorflow:r32.6.1-tf1.15-py3" \
4+
--build-arg CTO_OPENCV_VERSION=4.5.5 \
5+
--build-arg CTO_NUMPROC=4 \
6+
--build-arg CTO_CUDA_BUILD="-DWITH_CUDA=ON -DCUDA_FAST_MATH=1 -DWITH_CUBLAS=1 -DCUDA_ARCH_BIN=5.3,6.2,7.2 -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-10.2 -DCUDA_ARCH_PTX=" \
7+
--build-arg CTO_TF_KERAS="keras==2.3.1 tensorflow<2" \
8+
--tag="datamachines/jetson_tensorflow_opencv:r32.6.1_1.15_4.5.5-20220407" \
9+
.
10+
11+
General configuration for OpenCV 4.5.5 =====================================
12+
Version control: unknown
13+
14+
Extra modules:
15+
Location (extra): /usr/local/src/opencv_contrib/modules
16+
Version control (extra): unknown
17+
18+
Platform:
19+
Timestamp: 2022-04-08T07:59:03Z
20+
Host: Linux 4.9.253-tegra aarch64
21+
CMake: 3.22.2
22+
CMake generator: Unix Makefiles
23+
CMake build tool: /usr/bin/make
24+
Configuration: Release
25+
26+
CPU/HW features:
27+
Baseline: NEON FP16
28+
29+
C/C++:
30+
Built as dynamic libs?: YES
31+
C++ standard: 11
32+
C++ Compiler: /usr/bin/c++ (ver 7.5.0)
33+
C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
34+
C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
35+
C Compiler: /usr/bin/cc
36+
C flags (Release): -I/usr/include/openjpeg-2.3 -I/usr/include/jxrlib -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG
37+
C flags (Debug): -I/usr/include/openjpeg-2.3 -I/usr/include/jxrlib -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fopenmp -g -O0 -DDEBUG -D_DEBUG
38+
Linker flags (Release): -Wl,--gc-sections -Wl,--as-needed
39+
Linker flags (Debug): -Wl,--gc-sections -Wl,--as-needed
40+
ccache: NO
41+
Precompiled headers: NO
42+
Extra dependencies: m pthread cudart_static dl rt nppc nppial nppicc nppicom nppidei nppif nppig nppim nppist nppisu nppitc npps cublas cufft -L/usr/local/cuda-10.2/lib64 -L/usr/lib/aarch64-linux-gnu
43+
3rdparty dependencies:
44+
45+
OpenCV modules:
46+
To be built: alphamat aruco barcode bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hdf hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot python3 quality rapid reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto
47+
Disabled: world
48+
Disabled by dependency: -
49+
Unavailable: cvv java julia matlab ovis python2 ts viz
50+
Applications: apps
51+
Documentation: NO
52+
Non-free algorithms: NO
53+
54+
GUI: GTK3
55+
GTK+: YES (ver 3.22.30)
56+
GThread : YES (ver 2.56.4)
57+
GtkGlExt: NO
58+
OpenGL support: NO
59+
VTK support: NO
60+
61+
Media I/O:
62+
ZLib: /usr/lib/aarch64-linux-gnu/libz.so (ver 1.2.11)
63+
JPEG: /usr/lib/aarch64-linux-gnu/libjpeg.so (ver 80)
64+
WEBP: /usr/lib/aarch64-linux-gnu/libwebp.so (ver encoder: 0x020e)
65+
PNG: /usr/lib/aarch64-linux-gnu/libpng.so (ver 1.6.34)
66+
TIFF: build (ver 42 - 4.2.0)
67+
JPEG 2000: OpenJPEG (ver 2.3.0)
68+
OpenEXR: build (ver 2.3.0)
69+
GDAL: NO
70+
HDR: YES
71+
SUNRASTER: YES
72+
PXM: YES
73+
PFM: YES
74+
75+
Video I/O:
76+
DC1394: YES (2.2.5)
77+
FFMPEG: YES
78+
avcodec: YES (57.107.100)
79+
avformat: YES (57.83.100)
80+
avutil: YES (55.78.100)
81+
swscale: YES (4.8.100)
82+
avresample: NO
83+
GStreamer: YES (1.14.5)
84+
v4l/v4l2: YES (linux/videodev2.h)
85+
Xine: YES (ver 1.2.8)
86+
87+
Parallel framework: TBB (ver 2017.0 interface 9107)
88+
89+
Trace: YES (with Intel ITT)
90+
91+
Other third-party libraries:
92+
Lapack: NO
93+
Eigen: YES (ver 3.3.4)
94+
Custom HAL: YES (carotene (ver 0.0.1))
95+
Protobuf: build (3.19.1)
96+
97+
NVIDIA CUDA: YES (ver 10.2, CUFFT CUBLAS FAST_MATH)
98+
NVIDIA GPU arch: 53 62 72
99+
NVIDIA PTX archs:
100+
101+
cuDNN: NO
102+
103+
Python 3:
104+
Interpreter: /usr/bin/python3 (ver 3.6.9)
105+
Libraries: /usr/lib/aarch64-linux-gnu/libpython3.6m.so (ver 3.6.9)
106+
numpy: /usr/local/lib/python3.6/dist-packages/numpy/core/include (ver 1.18.5)
107+
install path: /usr/lib/python3/dist-packages/cv2/python-3.6
108+
109+
Python (for build): /usr/bin/python2.7
110+
111+
Java:
112+
ant: NO
113+
JNI: NO
114+
Java wrappers: NO
115+
Java tests: NO
116+
117+
Install to: /usr/local
118+
-----------------------------------------------------------------
119+
120+
121+
[pip list]
122+
Package Version
123+
-------------------- ---------------
124+
absl-py 0.13.0
125+
appdirs 1.4.4
126+
argon2-cffi 21.3.0
127+
argon2-cffi-bindings 21.2.0
128+
astor 0.8.1
129+
astunparse 1.6.3
130+
async-generator 1.10
131+
attrs 21.4.0
132+
autovizwidget 0.19.1
133+
backcall 0.2.0
134+
beautifulsoup4 4.6.0
135+
bleach 4.1.0
136+
certifi 2021.10.8
137+
cffi 1.15.0
138+
chardet 3.0.4
139+
charset-normalizer 2.0.12
140+
cupy 9.2.0
141+
cycler 0.10.0
142+
Cython 0.29.28
143+
dataclasses 0.8
144+
decorator 4.4.2
145+
defusedxml 0.7.1
146+
distro 1.7.0
147+
entrypoints 0.4
148+
fastrlock 0.8
149+
future 0.18.2
150+
futures 3.1.1
151+
gast 0.3.3
152+
google-pasta 0.2.0
153+
grpcio 1.39.0
154+
h5py 2.10.0
155+
hdijupyterutils 0.19.1
156+
html5lib 0.999999999
157+
idna 3.3
158+
imagecodecs 2020.5.30
159+
imageio 2.15.0
160+
imageio-ffmpeg 0.4.5
161+
importlib-metadata 4.6.3
162+
importlib-resources 5.4.0
163+
ipykernel 5.5.6
164+
ipython 7.16.3
165+
ipython-genutils 0.2.0
166+
ipywidgets 7.6.5
167+
jedi 0.17.2
168+
Jinja2 3.0.3
169+
joblib 1.1.0
170+
jsonschema 3.2.0
171+
jupyter 1.0.0
172+
jupyter-client 7.1.2
173+
jupyter-console 6.4.3
174+
jupyter-core 4.9.2
175+
jupyterlab-pygments 0.1.2
176+
jupyterlab-widgets 1.0.2
177+
Keras 2.3.1
178+
Keras-Applications 1.0.8
179+
Keras-Preprocessing 1.1.1
180+
kiwisolver 1.3.1
181+
llvmlite 0.36.0
182+
lxml 4.2.1
183+
Mako 1.1.4
184+
Markdown 3.3.4
185+
MarkupSafe 2.0.1
186+
matplotlib 2.1.1
187+
mistune 0.8.4
188+
mock 3.0.5
189+
moviepy 1.0.3
190+
nbclient 0.5.9
191+
nbconvert 6.0.7
192+
nbformat 5.1.3
193+
nest-asyncio 1.5.4
194+
networkx 2.5.1
195+
ninja 1.10.2.3
196+
nose 1.3.7
197+
notebook 6.4.8
198+
numba 0.47.0
199+
numpy 1.18.5
200+
olefile 0.45.1
201+
onnx 1.11.0
202+
opt-einsum 3.3.0
203+
packaging 21.3
204+
pandas 1.1.5
205+
pandocfilters 1.5.0
206+
parso 0.7.1
207+
pbr 5.8.1
208+
pexpect 4.8.0
209+
pickleshare 0.7.5
210+
Pillow 8.4.0
211+
pip 21.3.1
212+
plotly 5.6.0
213+
proglog 0.1.9
214+
prometheus-client 0.13.1
215+
prompt-toolkit 3.0.28
216+
protobuf 3.17.3
217+
ptyprocess 0.7.0
218+
pybind11 2.9.1
219+
pycparser 2.21
220+
pycuda 2021.1
221+
Pygments 2.11.2
222+
PyGObject 3.26.1
223+
pyparsing 2.2.0
224+
pyrsistent 0.18.0
225+
PySoundFile 0.9.0.post1
226+
python-apt 1.6.5+ubuntu0.7
227+
python-dateutil 2.8.2
228+
pytools 2021.2.7
229+
pytz 2018.3
230+
PyWavelets 1.1.1
231+
PyYAML 3.12
232+
pyzmq 22.3.0
233+
qtconsole 5.2.2
234+
QtPy 2.0.1
235+
requests 2.27.1
236+
scikit-build 0.13.1
237+
scikit-image 0.17.2
238+
scikit-learn 0.24.2
239+
scipy 1.5.4
240+
Send2Trash 1.8.0
241+
setuptools 59.6.0
242+
six 1.16.0
243+
tenacity 8.0.1
244+
tensorboard 1.15.0
245+
tensorflow 1.15.5+nv21.7
246+
tensorflow-estimator 1.15.1
247+
termcolor 1.1.0
248+
terminado 0.12.1
249+
testpath 0.6.0
250+
testresources 2.0.1
251+
threadpoolctl 3.1.0
252+
tifffile 2020.9.3
253+
torch 1.10.0
254+
tornado 6.1
255+
tqdm 4.63.0
256+
traitlets 4.3.3
257+
typing-extensions 3.10.0.0
258+
unattended-upgrades 0.1
259+
urllib3 1.26.8
260+
wcwidth 0.2.5
261+
webencodings 0.5
262+
Werkzeug 2.0.1
263+
wheel 0.36.2
264+
widgetsnbextension 3.5.2
265+
wrapt 1.12.1
266+
zipp 3.5.0
267+
268+
-- Confirming OpenCV Python is installed. Version: 4.5.5
269+
270+
-------------------------------------------------------
271+
272+
[Extra information]
273+
FOUND_UBUNTU: 18.04
274+
FOUND_CUDNN: 8.2.1
275+
2022-04-08 10:13:11.884587: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
276+
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
277+
*** Tensorflow version : 1.15.5
278+
*** Tensorflow Keras : 2.2.4-tf
279+
*** TF Builf with cuda : True
280+
*** TF compile flags : ['-I/usr/local/lib/python3.6/dist-packages/tensorflow_core/include', '-D_GLIBCXX_USE_CXX11_ABI=1']
281+
*** TF include : /usr/local/lib/python3.6/dist-packages/tensorflow_core/include
282+
*** TF lib : /usr/local/lib/python3.6/dist-packages/tensorflow_core
283+
*** TF link flags : ['-L/usr/local/lib/python3.6/dist-packages/tensorflow_core', '-l:libtensorflow_framework.so.1']
284+
*** OpenCV version : 4.5.5
285+
Using TensorFlow backend.
286+
*** Keras version : 2.3.1
287+
*** PyTorch version : 1.10.0
288+
*** pandas version : 1.1.5
289+
290+
(!! the following is build device specific, and here only to confirm hardware availability, ignore !!)
291+
2022-04-08 10:13:44.764802: W tensorflow/core/platform/profile_utils/cpu_utils.cc:98] Failed to find bogomips in /proc/cpuinfo; cannot determine CPU frequency
292+
2022-04-08 10:13:44.765491: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x395117d0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
293+
2022-04-08 10:13:44.765574: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
294+
2022-04-08 10:13:44.774694: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcuda.so.1
295+
2022-04-08 10:13:44.927419: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
296+
2022-04-08 10:13:44.927807: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x3f21d3d0 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
297+
2022-04-08 10:13:44.927895: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA Tegra X1, Compute Capability 5.3
298+
2022-04-08 10:13:44.928492: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
299+
2022-04-08 10:13:44.928642: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1666] Found device 0 with properties:
300+
name: NVIDIA Tegra X1 major: 5 minor: 3 memoryClockRate(GHz): 0.9216
301+
pciBusID: 0000:00:00.0
302+
2022-04-08 10:13:44.928738: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
303+
2022-04-08 10:13:44.929078: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublas.so.10
304+
2022-04-08 10:13:44.929245: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcufft.so.10
305+
2022-04-08 10:13:44.929445: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcurand.so.10
306+
2022-04-08 10:13:44.929630: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusolver.so.10
307+
2022-04-08 10:13:44.929798: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusparse.so.10
308+
2022-04-08 10:13:44.929951: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudnn.so.8
309+
2022-04-08 10:13:44.930298: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
310+
2022-04-08 10:13:44.930663: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
311+
2022-04-08 10:13:44.930766: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1794] Adding visible gpu devices: 0
312+
2022-04-08 10:13:44.930925: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
313+
2022-04-08 10:14:09.598368: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1206] Device interconnect StreamExecutor with strength 1 edge matrix:
314+
2022-04-08 10:14:09.787432: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1212] 0
315+
2022-04-08 10:14:09.787563: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1225] 0: N
316+
2022-04-08 10:14:09.994143: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
317+
2022-04-08 10:14:09.996027: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
318+
2022-04-08 10:14:10.019156: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1351] Created TensorFlow device (/device:GPU:0 with 158 MB memory) -> physical GPU (device: 0, name: NVIDIA Tegra X1, pci bus id: 0000:00:00.0, compute capability: 5.3)
319+
--- All seen hardware :
320+
[name: "/device:CPU:0"
321+
device_type: "CPU"
322+
memory_limit: 268435456
323+
locality {
324+
}
325+
incarnation: 11904819483682238112
326+
, name: "/device:XLA_CPU:0"
327+
device_type: "XLA_CPU"
328+
memory_limit: 17179869184
329+
locality {
330+
}
331+
incarnation: 129974269573400188
332+
physical_device_desc: "device: XLA_CPU device"
333+
, name: "/device:XLA_GPU:0"
334+
device_type: "XLA_GPU"
335+
memory_limit: 17179869184
336+
locality {
337+
}
338+
incarnation: 10911684157245218561
339+
physical_device_desc: "device: XLA_GPU device"
340+
, name: "/device:GPU:0"
341+
device_type: "GPU"
342+
memory_limit: 166195200
343+
locality {
344+
bus_id: 1
345+
links {
346+
}
347+
}
348+
incarnation: 2668093820693791662
349+
physical_device_desc: "device: 0, name: NVIDIA Tegra X1, pci bus id: 0000:00:00.0, compute capability: 5.3"
350+
]
351+
2022-04-08 10:14:10.246954: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
352+
2022-04-08 10:14:10.247309: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1666] Found device 0 with properties:
353+
name: NVIDIA Tegra X1 major: 5 minor: 3 memoryClockRate(GHz): 0.9216
354+
pciBusID: 0000:00:00.0
355+
2022-04-08 10:14:10.276324: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
356+
2022-04-08 10:14:10.368962: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublas.so.10
357+
2022-04-08 10:14:10.369422: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcufft.so.10
358+
2022-04-08 10:14:10.380364: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcurand.so.10
359+
2022-04-08 10:14:10.380861: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusolver.so.10
360+
2022-04-08 10:14:10.381203: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusparse.so.10
361+
2022-04-08 10:14:10.381635: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudnn.so.8
362+
2022-04-08 10:14:10.382939: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
363+
2022-04-08 10:14:10.384193: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
364+
2022-04-08 10:14:10.384528: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1794] Adding visible gpu devices: 0
365+
--- TF GPU Available :
366+
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]

0 commit comments

Comments
 (0)