I am working on porting code from Linux to the Jetson Nano and I have run into some issues with the DALI Python Library. My code relies on Pipeline, ops, and DALIGenericIterator from the nvidia.dali module.
On the NVIDIA website, I read that there is no support for the DALI Python Library on the aarch64 system yet, so I just wanted to confirm that this is true.
If this library is not supported on the Jetson Nano, I was wondering if you know of any alternative libraries that can help me run my code.
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:27 (project)
– Configuring incomplete, errors occurred!
See also “/opt/dali/build-docker-Release-36-10_aarch64/CMakeFiles/CMakeOutput.log”.
See also “/opt/dali/build-docker-Release-36-10_aarch64/CMakeFiles/CMakeError.log”.
I built CMake from source and now have version 3.15.2. Do you have any pointers on how I can fix this error?
Hi,
To build for any embedded device using the Jetson toolkit you need to follow this guide for the most recent commit in our repository. For 0.23 release commit, you can use this one.
Just changing from x86_64 to aarch6 won’t do.
I tried to follow that guide, but the SDK Manager download is giving me an error message saying the package architecture does not match the system architecture: package architecture (amd64) does not match system (arm64)
I’m not quite sure I’m even downloading the correct file. Do you have the link to the exact download I need?
So far we have a recipe that works when cross-compiling - build on x86 and run on the Jetson. In your case, you need to download packages on the host for the host to be able to cross-compile.
Hi,
So far we PyThon bindings are not supported on any Jetson platform. To use DALI there you need to use native code - this test shows how to use C++ API. There we are preparing the pipeline in C++, but you can do it in python, serialize, save the serialized string into the file, load, and then pass to the pipeline instance.
What thing that is worth stressing out here, is that we haven’t tested DALI on nano yet, and it is hard to tell if DALI is not too heavy regarding resource utilization for such platform (mainly memory consumption as it is still not as efficient as it could be).