我一直在使用 -Windows 10 -NVIDIA GEFORCE 940MX
我已经按照此链接https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10上的教程在虚拟环境中安装了tensorflow-gpu 在此部分运行jupyter笔记本时 enter image description here
我收到此错误[内核错误]
回溯(最近通话最近):文件 “ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ tornado \ web.py”, _execute中的1699行 结果=等待结果文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ tornado \ gen.py”, 742行 yielded = self.gen.throw(* exc_info)#类型:忽略文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ notebook \ services \ sessions \ handlers.py”, 第72行 type = mtype))文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ tornado \ gen.py”, 735行 值= future.result()文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ tornado \ gen.py”, 742行 yielded = self.gen.throw(* exc_info)#类型:忽略文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ notebook \ services \ sessions \ sessionmanager.py”, 第88行,在create_session中 kernel_id = yield self.start_kernel_for_session(session_id,路径,名称,类型,kernel_name)文件 “ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ tornado \ gen.py”, 735行 值= future.result()文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ tornado \ gen.py”, 742行 yielded = self.gen.throw(* exc_info)#类型:忽略文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ notebook \ services \ sessions \ sessionmanager.py”, 第101行,在start_kernel_for_session中 self.kernel_manager.start_kernel(路径=内核路径,内核名称=内核名称)文件 “ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ tornado \ gen.py”, 735行 值= future.result()文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ tornado \ gen.py”, 包装中的第209行 产生=下一个(结果)文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ notebook \ services \ kernels \ kernelmanager.py”, 第168行,位于start_kernel中 超级(MappingKernelManager,self).start_kernel(** kwargs)文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ jupyter_client \ multikernelmanager.py”, 第110行,位于start_kernel中 km.start_kernel(** kwargs)文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ jupyter_client \ manager.py”, 第240行,位于start_kernel中 self.write_connection_file()文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ jupyter_client \ connect.py”, 第547行,在write_connection_file中 kernel_name = self.kernel_name文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ jupyter_client \ connect.py”, 第212行,在write_connection_file中 使用secure_write(fname)作为f:输入中的文件“ C:\ Users \ Lemuel \ Anaconda3 \ lib \ contextlib.py”,第112行 返回next(self.gen)文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ jupyter_client \ connect.py”, 第100行,在secure_write中 win32_restrict_file_to_user(fname)文件“ C:\ Users \ Lemuel \ AppData \ Roaming \ Python \ Python37 \ site-packages \ jupyter_client \ connect.py”, win32_restrict_file_to_user中的第53行 import win32api ImportError:DLL加载失败:%1不是有效的Win32应用程序。
我尝试安装此enter link description here,但从未修复内核错误。 运行jupyter kernelspec列表时,enter image description here