Open thuThink opened 1 month ago
I modified the function named 'get_latest_queue' in gui_utils.py as follows:
def get_latest_queue(q): message = None while True: try: message_latest = q.get_nowait() if message is not None: del message message = message_latest except queue.Empty: if q.qsize() < 1: break # zajia: for unsolved bug related to "torch.storage._UntypedStorage" except TypeError: print("get a torch.storage._UntypedStorage error!") break return message
I try to capture the error and do not modifiy the 'message' variable. It seems work properly.
Hi,
I am encountering an issue while running MonoGS with the GUI. The GUI freezes, and the following error traceback is shown:
Any guidance on how to resolve this issue would be greatly appreciated.
Thank you!