liuyuemaicha/Adversarial-Learning-for-Neural-Dialogue-Generation-in-Tensorflow

Error while running the script

Lucas1988 opened this issue · 0 comments

Dear researchers,

I am very enthusiastic about the idea of improving artificial dialog quality by using adversarial learning techniques. That's why after reading your paper I wanted to try to run the script myself.
Unfortunately, even though I used the recommended versions of Python and TensorFlow, I got the following error:

 File "/home/vergeest/.local/lib/python2.7/site-packages/tensorflow/contrib/layers/python/layers/layers.py", line 1323, in fully_connected
    raise ValueError('num_outputs should be int or long, got %s.', num_outputs)
ValueError: ('num_outputs should be int or long, got %s.', Dimension(512))

I tried to solve this, but to no avail as of yet. Do you have any clue what I could do to fix this?
Might it be easier/quicker to run it in a cloud environment rather than locally as well?
Thanks in advance!