Tensorflow:TypeError:run()得到了一个意外的关键字参数' feedis_dict'

时间:2017-02-20 14:57:03

标签: python tensorflow

尝试将feedis_dict添加到self.sess.run命令时出现此错误:

Traceback (most recent call last):
  File "spritegen.py", line 71, in <module>
    tf.app.run()
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 44, in run
    _sys.exit(main(_sys.argv[:1] + flags_passthrough))
  File "spritegen.py", line 54, in main
    dcgan.train(FLAGS)
  File "/home/lewis/Documents/Sprite Generator/Sprite-Generator/dcgan.py", line 211, in train
    summary_str = self.sess.run([dis_optim, self.dis_sum],feedis_dict = {self.inputs: batch_images, self.z: batch_z})
TypeError: run() got an unexpected keyword argument 'feedis_dict'

有关feedis_dict为何出乎意料的建议?

我相信即时通讯使用tensorflow gpu 1.0.0

0 个答案:

没有答案