关于内核死亡的错误
mac系统在运行jupter 出现了
The kernel appears to have died. It will restart automatically
cpu无占用
解决办法:
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'
在github看到的
🔗: https://github.com/apple/tensorflow_macos/issues/51.
在Mac系统中运行Jupyter时遇到内核死亡的问题,表现为CPU无占用。解决方案是在代码中导入os模块,并设置环境变量'KMP_DUPLICATE_LIB_OK'为'True',参考自github上的tensorflow_macos项目相关问题讨论。
关于内核死亡的错误
mac系统在运行jupter 出现了
The kernel appears to have died. It will restart automatically
cpu无占用
解决办法:
import os
os.environ['KMP_DUPLICATE_LIB_OK']='True'
在github看到的
🔗: https://github.com/apple/tensorflow_macos/issues/51.
您可能感兴趣的与本文相关的镜像
TensorFlow-v2.9
TensorFlow 是由Google Brain 团队开发的开源机器学习框架,广泛应用于深度学习研究和生产环境。 它提供了一个灵活的平台,用于构建和训练各种机器学习模型
2124
1万+
1527
3236
2万+
1万+
795