我在训练时一直出现这个问题,在网上找到的答案说是matplotlib.pyplot造成的问题 可我在我的代码里面环境里面是有这个matplotlib包的 但是我在代码里面没找到这个包 不管是在train.py和__init__.py都没有找到这个包的导入 求大佬告知什么原因 提示错误在下面:
Traceback (most recent call last):
File "D:\Anacoda\Anaconda\envs\Deeplab\lib\tkinter_init.py", line 3501, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <bound method Image.__del__ of <tkinter.PhotoImage object at 0x0000026701F0E160>>
Traceback (most recent call last):
File "D:\Anacoda\Anaconda\envs\Deeplab\lib\tkinter_init.py", line 3501, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <bound method Image.del__ of <tkinter.PhotoImage object at 0x000002670115AB70>>
Traceback (most recent call last):
File "D:\Anacoda\Anaconda\envs\Deeplab\lib\tkinter_init_.py", line 3501, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <bound method Image.__del__ of <tkinter.PhotoImage object at 0x0000026701CA1518>>
Traceback (most recent call last):
File "D:\Anacoda\Anaconda\envs\Deeplab\lib\tkinter__init.py", line 3501, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <bound method Image.del__ of <tkinter.PhotoImage object at 0x0000026701CBCB00>>
Traceback (most recent call last):
File "D:\Anacoda\Anaconda\envs\Deeplab\lib\tkinter_init_.py", line 3501, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Exception ignored in: <bound method Image.__del__ of <tkinter.PhotoImage object at 0x0000026701D55160>>
Traceback (most recent call last):
File "D:\Anacoda\Anaconda\envs\Deeplab\lib\tkinter__init.py", line 3501, in del
self.tk.call('image', 'delete', self.name)
RuntimeError: main thread is not in main loop
Tcl_AsyncDelete: async handler deleted by the wrong thread
Deeplab V3+训练时出现的多线程问题
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
悬赏问题
- ¥15 关于#c语言#的问题,请各位专家解答!
- ¥15 这个如何解决详细步骤
- ¥15 在微信h5支付申请中,别人给钱就能用我的软件,这个的所属行业是啥?
- ¥30 靶向捕获探针设计软件包
- ¥15 别人给钱就能用我的软件,这个的经营场景是啥?
- ¥15 react-diff-viewer组件,如何解决数据量过大卡顿问题
- ¥20 遥感植被物候指数空间分布图制作
- ¥15 安装了xlrd库但是import不了…
- ¥20 Github上传代码没有contribution和activity记录
- ¥20 SNETCracker