matplotlib画图出错RuntimeError: main thread is not in main loop
matplotlib画图出错RuntimeError: main thread is not in main loop
使用pytorch跑网络报错
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
原因:
matplotlib的默认backend是TkAgg,而
原创
2020-08-07 22:42:09 ·
5878 阅读 ·
2 评论