tensorflow - Jupyter Notebook 内核在导入 tenserflow 时死机
问题描述
我正在使用带有 M1 芯片的 Macbook Air。尝试在 Jupyter notebook 中导入 tensorflow 时,内核死机并显示“内核已死机,将在某个时间重新启动”的提示。有人可以帮我解决这个问题吗?
TensorFlow 版本 - 2.5.0 Python 版本 - 3.8.8
解决方案
Try running the notebook file within VS Code, there are extensions to help with that. Also check this article on how to install tf on M1 https://towardsdatascience.com/installing-tensorflow-on-the-m1-mac-410bb36b776
推荐阅读
- c# - UWP XAML - 如何在文本框中绘制形状?
- vba - Outlook 脚本不会保存附件
- c - c - 赋值使指针从整数而不进行强制转换
- mysql - 每个 ID、每个保单编号和日期获取 1 行
- php - 如何将 str_replace 用于同一字符串的多个替换?
- android - 有没有办法获取被shrinkResources删除的资源列表?
- ios - 从 Firebase 将一组对填充到 tableView 中以仅显示前 3 个最高分数
- python - How can I make the following Flask application work?
- c - Newlines being outputted actually as "\n"
- dart - 将 Gridview 添加到列中会使页面为空。扑