I am using deepstream-imagedata-mulitstream for person detection. And for person detection, I am using my custom train yolov4 model. Now I want to create a single exe for my project and for that I am using pyinstaller.
Now in Pyinstaller whenever I am using --ondir command everything is working and exe is generating the model.engine file properly. But when I use --onefile for single exe it is not working and throwing error as given below.
terminate called after throwing an instance of 'pwgen::PwgenException’
** what(): Driver error: **
Fatal Python error: Aborted
So How Can I solve this error ?