Tensorflow session()需要很长时间

Tensorflow session()需要很长时间,tensorflow,amazon-ec2,Tensorflow,Amazon Ec2,我使用AWS EC2和16个GPU特斯拉。 当我安装完tensorflow并开始转动轮胎查看它是否工作时,它停止了 import tensorflow as tf 这很有效 hello = tf.constant('Hello, TensorFlow!') 这很有效 sess = tf.Session() 这是一个错误 2018-01-30 06:48:00.543428: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892

我使用AWS EC2和16个GPU特斯拉。 当我安装完tensorflow并开始转动轮胎查看它是否工作时,它停止了

import tensorflow as tf
这很有效

hello = tf.constant('Hello, TensorFlow!')
这很有效

sess = tf.Session()
这是一个错误

2018-01-30 06:48:00.543428: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-01-30 06:48:00.545858: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties: 
name: Tesla K80 major: 3 minor: 7 memoryClockRate(GHz): 0.8235
pciBusID: 0000:00:0f.0
totalMemory: 11.17GiB freeMemory: 11.03GiB
Segmentation fault (core dumped)

这两个日志只是一些信息。如果您愿意,您可以按照下面的回答禁用它们:

是的,但是创建会话需要很长时间是常见的事情吗?@samutamm tf.session()在我的机器上第一次运行大约需要1分钟。你找到解决办法了吗?