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

Online Testing #17

Open
qordobafranzi opened this issue Jan 22, 2019 · 2 comments
Open

Online Testing #17

qordobafranzi opened this issue Jan 22, 2019 · 2 comments

Comments

@qordobafranzi
Copy link

can you explain how the online testing works?
I did this:

y = 1
sent = "This is bad"
batch = style_transfer.get_batch([sent,], [y,], vocab.word2id)
ori, tsf = decoder.rewrite(batch)
print 'original:', ' '.join(w for w in ori[0])
print 'transfer:', ' '.join(w for w in tsf[0])


what do you expect for y and sent. seems like its not using the sentence.

Appreciate it!

@n0obcoder
Copy link

@qordobafranzi hey buddy, did you find out how this online testing works ?

@edebie
Copy link

edebie commented Aug 12, 2020

The online testing function is not working properly. Whenever I enter a sentence it decodes it incorrectly. For example entering the sentence "The food was tasty and very good" yields the following output:

original: copy copy shine shine pino princess hers good- trade betting betting materials betting betting entertain complete complete complete complete complete
transfer: artistry artistry artistry invited diane screen 2pm 2pm princess disclaimer ahwatukee pulled printed drops drops smith mule verdict arrogant holes

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

3 participants