Using a new thread to perform the calculations of the CNN layers rather than using the main thread. This prevents time-consuming operations from freezing the application GUI.
threading.Thread(target=self.run_cnn_thread).start()
Using a new thread to perform the calculations of the CNN layers rather than using the main thread. This prevents time-consuming operations from freezing the application GUI.
threading.Thread(target=self.run_cnn_thread).start()