python - 如何在 AWS EC2 上安装 tensorflow cpu 进行推理
问题描述
我有亚马逊 EC2 服务器。我安装了 TensorFlow-cpu 用于推理目的,pip install tensorflow-cpu
但我给出了以下错误
I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is opti mized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-cri tical operations: AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-03-26 01:56:05.690616: I tensorflow/core/platform/profile_utils/cpu_utils.cc:112] CPU Frequency: 230004000 0 Hz
2021-03-26 01:56:05.690795: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x7f19948b5500 initia lized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-03-26 01:56:05.690811: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host , Default Version
2021-03-26 01:56:06.163095: I tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:116] None of the MLIR op timization passes are enabled (registered 2)
有什么解决办法
解决方案
推荐阅读
- windbg - 获取执行程序的详细版本信息
- matlab - matlab中具有动态维度的矩阵
- firebase - 使用 signInAndRetrieveDataWithCredential() 进行 Firebase 身份验证 facebook 提供程序使用
- sql - 数据库:在查询执行结束之前检索数据
- python - 使用 python 将嵌套列表保存到新的较小列表中
- autohotkey - 如何更改gui中按钮上的文本位置
- firebase - 为什么云函数 URL (Firebase) 可以公开访问?如何限制对特定外部呼叫的访问?
- android - 不要附加文件并通过电子邮件发送
- c# - Outlook 插件创建 Outlook 团队会议
- angular - 尽管 tsconfig 目标设置为 ES5,为什么仍然需要 ES7/array polyfill