当我收到错误时,我正在制作Tensorflow程序 I tensorflow / core / common_runtime / direct_session.cc:255]设备映射:
Traceback (most recent call last):
File "/Users/jenna/PycharmProjects/ai/main.py", line 23, in <module>
model = execute.create_model(sess, False)
File "/Users/jenna/PycharmProjects/ai/execute.py", line 106, in create_model
model = seq2seq_model.Seq2SeqModel(gConfig['enc_vocab_size'], gConfig['dec_vocab_size'], _buckets,
KeyError: 'enc_vocab_size'
Device mapping: no known devices.
Process finished with exit code 1
我无法弄清楚如何解决这个问题代码如下:请告诉我。 Like of code I was using