![]() ![]() this is because python is an interpreted language (unlike c or c++ which are compiled languages). a code thief can easily decompile those files to get your main source code in python. in the directory where pyinstaller produces the executable file, you can find some files in. Then copy paste the config files and tensorrt files of your primary and secondary detectors to the same folder. Pyinstaller -add-binary ‘/usr/lib/aarch64-linux-gnu/gstreamer-1.0/deepstream/*.so.’ -add-data /opt/nvidia/deepstream/deepstream-5.0/sources/deepstream_python_apps/apps/common:common deepstream_test_2.pyĪfter running this, a “dist” folder is created, where you can find your executable file as deepstream_test_2. I solved the issue of pyinstaller not being able to find nvstreammux, pgie, osd, etc. ![]() if you have a new fresh jetson nano (in my case) with the same L4T installed on it, you can simply copy paste the folder containing the executable file and other libraries to any path in your new jetson nano, and it should work fine, even if you don’t have deepstream, python, etc. good news is: it seems to have gathered all it needs to independently run the executable file (i.e. The issue is solved now and I can successfully create an executable file for my python based deepstream application (pedestrian detector built upon the deepstream-test2 python sample), using pyinstaller. Hello again, and sorry for the late response. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |