Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to generate data from leakgan : leakgan error #35

Open
hhassanien opened this issue Mar 31, 2019 · 0 comments
Open

How to generate data from leakgan : leakgan error #35

hhassanien opened this issue Mar 31, 2019 · 0 comments

Comments

@hhassanien
Copy link

hhassanien commented Mar 31, 2019

Hello Require some help generating data using leakgan. While running leakgan versus my "test" below error shows up. would highly appreciate your assistance:

/Texygen$ python main.py -g leakgan -t real -d /data/test.txt
Traceback (most recent call last):
File "main.py", line 10, in
from models.rankgan.Rankgan import Rankgan
File "/home/Texygen/models/rankgan/Rankgan.py", line 5, in
from models.rankgan.RankganDiscriminator import Discriminator
File "/home/Texygen/models/rankgan/RankganDiscriminator.py", line 191
self.scores = tf.reshape(self.feature @ tf.transpose(self.reference, perm=[1, 0]), [-1])
^
SyntaxError: invalid syntax

please find test file attached
test.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant