Skip to content

Commit 9fdccdf

Browse files
committed
Added BuildConf
1 parent ba2565d commit 9fdccdf

4 files changed

+1436
-0
lines changed
Lines changed: 369 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,369 @@
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=3.4.16 \
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_3.4.16-20220308" \
9+
.
10+
11+
General configuration for OpenCV 3.4.16 =====================================
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-03-12T04:18:45Z
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++11: YES
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: aruco bgsegm bioinspired calib3d ccalib core cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev datasets dnn dnn_objdetect dpm face features2d flann freetype fuzzy hdf hfs highgui img_hash imgcodecs imgproc line_descriptor ml objdetect optflow phase_unwrapping photo plot python3 reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab xfeatures2d ximgproc xobjdetect xphoto
47+
Disabled: world
48+
Disabled by dependency: -
49+
Unavailable: cvv java matlab ovis python2 ts viz
50+
Applications: apps
51+
Documentation: NO
52+
Non-free algorithms: NO
53+
54+
GUI:
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: build (ver 1.900.1)
68+
OpenEXR: build (ver 2.3.0)
69+
GDAL: NO
70+
HDR: YES
71+
SUNRASTER: YES
72+
PXM: YES
73+
74+
Video I/O:
75+
DC1394: YES (ver 2.2.5)
76+
FFMPEG: YES
77+
avcodec: YES (ver 57.107.100)
78+
avformat: YES (ver 57.83.100)
79+
avutil: YES (ver 55.78.100)
80+
swscale: YES (ver 4.8.100)
81+
avresample: NO
82+
GStreamer: YES
83+
base: YES (ver 1.14.5)
84+
video: YES (ver 1.14.5)
85+
app: YES (ver 1.14.5)
86+
riff: YES (ver 1.14.5)
87+
pbutils: YES (ver 1.14.5)
88+
libv4l/libv4l2: 1.14.2 / 1.14.2
89+
v4l/v4l2: linux/videodev2.h
90+
Xine: YES (ver 1.2.8)
91+
92+
Parallel framework: TBB (ver 2017.0 interface 9107)
93+
94+
Trace: YES (with Intel ITT)
95+
96+
Other third-party libraries:
97+
Lapack: NO
98+
Eigen: YES (ver 3.3.4)
99+
Custom HAL: YES (carotene (ver 0.0.1))
100+
Protobuf: build (3.5.1)
101+
102+
NVIDIA CUDA: YES (ver 10.2, CUFFT CUBLAS FAST_MATH)
103+
NVIDIA GPU arch: 53 62 72
104+
NVIDIA PTX archs:
105+
106+
Python 3:
107+
Interpreter: /usr/bin/python3 (ver 3.6.9)
108+
Libraries: /usr/lib/aarch64-linux-gnu/libpython3.6m.so (ver 3.6.9)
109+
numpy: /usr/local/lib/python3.6/dist-packages/numpy/core/include (ver 1.18.5)
110+
install path: /usr/lib/python3/dist-packages/cv2/python-3.6
111+
112+
Python (for build): /usr/bin/python2.7
113+
114+
Java:
115+
ant: NO
116+
JNI: NO
117+
Java wrappers: NO
118+
Java tests: NO
119+
120+
Install to: /usr/local
121+
-----------------------------------------------------------------
122+
123+
124+
[pip list]
125+
Package Version
126+
-------------------- ----------------
127+
absl-py 0.13.0
128+
appdirs 1.4.4
129+
argon2-cffi 21.3.0
130+
argon2-cffi-bindings 21.2.0
131+
astor 0.8.1
132+
astunparse 1.6.3
133+
async-generator 1.10
134+
attrs 21.4.0
135+
autovizwidget 0.19.1
136+
backcall 0.2.0
137+
beautifulsoup4 4.6.0
138+
bleach 4.1.0
139+
certifi 2021.10.8
140+
cffi 1.15.0
141+
chardet 3.0.4
142+
charset-normalizer 2.0.12
143+
cupy 9.2.0
144+
cycler 0.10.0
145+
Cython 0.29.28
146+
dataclasses 0.8
147+
decorator 4.4.2
148+
defusedxml 0.7.1
149+
distro 1.7.0
150+
entrypoints 0.4
151+
fastrlock 0.8
152+
future 0.18.2
153+
futures 3.1.1
154+
gast 0.3.3
155+
google-pasta 0.2.0
156+
grpcio 1.39.0
157+
h5py 2.10.0
158+
hdijupyterutils 0.19.1
159+
html5lib 0.999999999
160+
idna 3.3
161+
imagecodecs 2020.5.30
162+
imageio 2.15.0
163+
imageio-ffmpeg 0.4.5
164+
importlib-metadata 4.6.3
165+
importlib-resources 5.4.0
166+
ipykernel 5.5.6
167+
ipython 7.16.3
168+
ipython-genutils 0.2.0
169+
ipywidgets 7.6.5
170+
jedi 0.17.2
171+
Jinja2 3.0.3
172+
joblib 1.1.0
173+
jsonschema 3.2.0
174+
jupyter 1.0.0
175+
jupyter-client 7.1.2
176+
jupyter-console 6.4.3
177+
jupyter-core 4.9.2
178+
jupyterlab-pygments 0.1.2
179+
jupyterlab-widgets 1.0.2
180+
Keras 2.3.1
181+
Keras-Applications 1.0.8
182+
Keras-Preprocessing 1.1.1
183+
kiwisolver 1.3.1
184+
llvmlite 0.36.0
185+
lxml 4.2.1
186+
Mako 1.1.4
187+
Markdown 3.3.4
188+
MarkupSafe 2.0.1
189+
matplotlib 2.1.1
190+
mistune 0.8.4
191+
mock 3.0.5
192+
moviepy 1.0.3
193+
nbclient 0.5.9
194+
nbconvert 6.0.7
195+
nbformat 5.1.3
196+
nest-asyncio 1.5.4
197+
networkx 2.5.1
198+
ninja 1.10.2.3
199+
nose 1.3.7
200+
notebook 6.4.8
201+
numba 0.47.0
202+
numpy 1.18.5
203+
olefile 0.45.1
204+
onnx 1.11.0
205+
opt-einsum 3.3.0
206+
packaging 21.3
207+
pandas 1.1.5
208+
pandocfilters 1.5.0
209+
parso 0.7.1
210+
pbr 5.8.1
211+
pexpect 4.8.0
212+
pickleshare 0.7.5
213+
Pillow 8.4.0
214+
pip 21.3.1
215+
plotly 5.6.0
216+
proglog 0.1.9
217+
prometheus-client 0.13.1
218+
prompt-toolkit 3.0.28
219+
protobuf 3.17.3
220+
ptyprocess 0.7.0
221+
pybind11 2.9.1
222+
pycparser 2.21
223+
pycuda 2021.1
224+
Pygments 2.11.2
225+
PyGObject 3.26.1
226+
pyparsing 2.2.0
227+
pyrsistent 0.18.0
228+
PySoundFile 0.9.0.post1
229+
python-apt 1.6.5+ubuntu0.7
230+
python-dateutil 2.8.2
231+
pytools 2021.2.7
232+
pytz 2018.3
233+
PyWavelets 1.1.1
234+
PyYAML 3.12
235+
pyzmq 22.3.0
236+
qtconsole 5.2.2
237+
QtPy 2.0.1
238+
requests 2.27.1
239+
scikit-build 0.13.1
240+
scikit-image 0.17.2
241+
scikit-learn 0.24.2
242+
scipy 1.5.4
243+
Send2Trash 1.8.0
244+
setuptools 59.6.0
245+
six 1.16.0
246+
tenacity 8.0.1
247+
tensorboard 1.15.0
248+
tensorflow 1.15.5+nv21.7
249+
tensorflow-estimator 1.15.1
250+
termcolor 1.1.0
251+
terminado 0.12.1
252+
testpath 0.6.0
253+
testresources 2.0.1
254+
threadpoolctl 3.1.0
255+
tifffile 2020.9.3
256+
torch 1.11.0a0+17540c5
257+
tornado 6.1
258+
tqdm 4.63.0
259+
traitlets 4.3.3
260+
typing-extensions 3.10.0.0
261+
unattended-upgrades 0.1
262+
urllib3 1.26.8
263+
wcwidth 0.2.5
264+
webencodings 0.5
265+
Werkzeug 2.0.1
266+
wheel 0.36.2
267+
widgetsnbextension 3.5.2
268+
wrapt 1.12.1
269+
zipp 3.5.0
270+
271+
-- Confirming OpenCV Python is installed. Version: 3.4.16
272+
273+
-------------------------------------------------------
274+
275+
[Extra information]
276+
FOUND_UBUNTU: 18.04
277+
FOUND_CUDNN: 8.2.1
278+
2022-03-12 18:43:48.285217: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
279+
WARNING:tensorflow:Deprecation warnings have been disabled. Set TF_ENABLE_DEPRECATION_WARNINGS=1 to re-enable them.
280+
*** Tensorflow version : 1.15.5
281+
*** Tensorflow Keras : 2.2.4-tf
282+
*** TF Builf with cuda : True
283+
*** TF compile flags : ['-I/usr/local/lib/python3.6/dist-packages/tensorflow_core/include', '-D_GLIBCXX_USE_CXX11_ABI=1']
284+
*** TF include : /usr/local/lib/python3.6/dist-packages/tensorflow_core/include
285+
*** TF lib : /usr/local/lib/python3.6/dist-packages/tensorflow_core
286+
*** TF link flags : ['-L/usr/local/lib/python3.6/dist-packages/tensorflow_core', '-l:libtensorflow_framework.so.1']
287+
*** OpenCV version : 3.4.16
288+
Using TensorFlow backend.
289+
*** Keras version : 2.3.1
290+
*** PyTorch version : 1.11.0a0+17540c5
291+
*** pandas version : 1.1.5
292+
293+
(!! the following is build device specific, and here only to confirm hardware availability, ignore !!)
294+
2022-03-12 18:44:05.793166: W tensorflow/core/platform/profile_utils/cpu_utils.cc:98] Failed to find bogomips in /proc/cpuinfo; cannot determine CPU frequency
295+
2022-03-12 18:44:05.793980: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x234927d0 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
296+
2022-03-12 18:44:05.794065: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
297+
2022-03-12 18:44:05.803420: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcuda.so.1
298+
2022-03-12 18:44:05.894901: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
299+
2022-03-12 18:44:05.895295: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x28835800 initialized for platform CUDA (this does not guarantee that XLA will be used). Devices:
300+
2022-03-12 18:44:05.895369: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): NVIDIA Tegra X1, Compute Capability 5.3
301+
2022-03-12 18:44:05.896000: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
302+
2022-03-12 18:44:05.896146: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1666] Found device 0 with properties:
303+
name: NVIDIA Tegra X1 major: 5 minor: 3 memoryClockRate(GHz): 0.9216
304+
pciBusID: 0000:00:00.0
305+
2022-03-12 18:44:05.896246: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
306+
2022-03-12 18:44:05.896571: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublas.so.10
307+
2022-03-12 18:44:05.896735: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcufft.so.10
308+
2022-03-12 18:44:05.896933: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcurand.so.10
309+
2022-03-12 18:44:05.897116: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusolver.so.10
310+
2022-03-12 18:44:05.897279: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusparse.so.10
311+
2022-03-12 18:44:05.898004: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudnn.so.8
312+
2022-03-12 18:44:05.898498: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
313+
2022-03-12 18:44:05.898871: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
314+
2022-03-12 18:44:05.898964: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1794] Adding visible gpu devices: 0
315+
2022-03-12 18:44:05.899087: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
316+
2022-03-12 18:44:15.880142: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1206] Device interconnect StreamExecutor with strength 1 edge matrix:
317+
2022-03-12 18:44:15.880266: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1212] 0
318+
2022-03-12 18:44:15.880319: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1225] 0: N
319+
2022-03-12 18:44:15.880993: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
320+
2022-03-12 18:44:15.881519: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
321+
2022-03-12 18:44:15.881730: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1351] Created TensorFlow device (/device:GPU:0 with 77 MB memory) -> physical GPU (device: 0, name: NVIDIA Tegra X1, pci bus id: 0000:00:00.0, compute capability: 5.3)
322+
--- All seen hardware :
323+
[name: "/device:CPU:0"
324+
device_type: "CPU"
325+
memory_limit: 268435456
326+
locality {
327+
}
328+
incarnation: 9978742290723627899
329+
, name: "/device:XLA_CPU:0"
330+
device_type: "XLA_CPU"
331+
memory_limit: 17179869184
332+
locality {
333+
}
334+
incarnation: 15207863049395331848
335+
physical_device_desc: "device: XLA_CPU device"
336+
, name: "/device:XLA_GPU:0"
337+
device_type: "XLA_GPU"
338+
memory_limit: 17179869184
339+
locality {
340+
}
341+
incarnation: 12144202535815638216
342+
physical_device_desc: "device: XLA_GPU device"
343+
, name: "/device:GPU:0"
344+
device_type: "GPU"
345+
memory_limit: 81649664
346+
locality {
347+
bus_id: 1
348+
links {
349+
}
350+
}
351+
incarnation: 728259189356376293
352+
physical_device_desc: "device: 0, name: NVIDIA Tegra X1, pci bus id: 0000:00:00.0, compute capability: 5.3"
353+
]
354+
2022-03-12 18:44:15.887927: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
355+
2022-03-12 18:44:15.888102: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1666] Found device 0 with properties:
356+
name: NVIDIA Tegra X1 major: 5 minor: 3 memoryClockRate(GHz): 0.9216
357+
pciBusID: 0000:00:00.0
358+
2022-03-12 18:44:15.888225: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.2
359+
2022-03-12 18:44:15.888400: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcublas.so.10
360+
2022-03-12 18:44:15.888509: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcufft.so.10
361+
2022-03-12 18:44:15.888691: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcurand.so.10
362+
2022-03-12 18:44:15.888846: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusolver.so.10
363+
2022-03-12 18:44:15.888991: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcusparse.so.10
364+
2022-03-12 18:44:15.889117: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudnn.so.8
365+
2022-03-12 18:44:15.889438: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
366+
2022-03-12 18:44:15.889759: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:1049] ARM64 does not support NUMA - returning NUMA node zero
367+
2022-03-12 18:44:15.889851: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1794] Adding visible gpu devices: 0
368+
--- TF GPU Available :
369+
[PhysicalDevice(name='/physical_device:GPU:0', device_type='GPU')]

0 commit comments

Comments
 (0)