I managed to create a python app through pyinstaller with “–onedir” and while not perfect (and takes some time to load), it works fine enough until when it comes to generating a window where the tensorflow/keras libraries imported, in which during the process, it forcefully shuts down the app. I tried creating the exe file again but with “–onefile” and while it finally managed to show the window, everytime I try to upload an image so that the models can be used to classify it, it yet again shuts down the whole app. I’m not sure if the issue here is how pyinstaller generates the file with tensorflow/keras modules. Is it because of the size of the modules? Anyway to fix this?
submitted by /u/GehrmanHunt
[link] [comments]
r/learnpython I managed to create a python app through pyinstaller with “–onedir” and while not perfect (and takes some time to load), it works fine enough until when it comes to generating a window where the tensorflow/keras libraries imported, in which during the process, it forcefully shuts down the app. I tried creating the exe file again but with “–onefile” and while it finally managed to show the window, everytime I try to upload an image so that the models can be used to classify it, it yet again shuts down the whole app. I’m not sure if the issue here is how pyinstaller generates the file with tensorflow/keras modules. Is it because of the size of the modules? Anyway to fix this? submitted by /u/GehrmanHunt [link] [comments]
I managed to create a python app through pyinstaller with “–onedir” and while not perfect (and takes some time to load), it works fine enough until when it comes to generating a window where the tensorflow/keras libraries imported, in which during the process, it forcefully shuts down the app. I tried creating the exe file again but with “–onefile” and while it finally managed to show the window, everytime I try to upload an image so that the models can be used to classify it, it yet again shuts down the whole app. I’m not sure if the issue here is how pyinstaller generates the file with tensorflow/keras modules. Is it because of the size of the modules? Anyway to fix this?
submitted by /u/GehrmanHunt
[link] [comments]