qhduan / Seq2Seq_Chatbot_QA

使用TensorFlow实现的Sequence to Sequence的聊天机器人模型

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

是版本問題嗎?

xiaohantingzhu opened this issue · comments

Seq2Seq_Chatbot_QA-master$ ./train_model.sh
Traceback (most recent call last):
File "s2s.py", line 11, in
import tensorflow as tf
File "/usr/local/lib/python3.4/dist-packages/tensorflow/init.py", line 23, in
from tensorflow.python import *
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/init.py", line 94, in
from tensorflow.python.platform import test
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/platform/test.py", line 62, in
from tensorflow.python.framework import test_util
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/framework/test_util.py", line 41, in
from tensorflow.python.platform import googletest
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/platform/googletest.py", line 32, in
from tensorflow.python.platform import benchmark # pylint: disable=unused-import
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/platform/benchmark.py", line 112, in
class Benchmark(six.with_metaclass(_BenchmarkRegistrar, object)):
File "/usr/lib/python3/dist-packages/six.py", line 617, in with_metaclass
return meta("NewBase", bases, {})
File "/usr/local/lib/python3.4/dist-packages/tensorflow/python/platform/benchmark.py", line 107, in new
if not newclass.is_abstract():
AttributeError: type object 'NewBase' has no attribute 'is_abstract'