language-style-transfer icon indicating copy to clipboard operation
language-style-transfer copied to clipboard

Online Testing

Open qordobafranzi opened this issue 5 years ago • 2 comments

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!

qordobafranzi avatar Jan 22 '19 01:01 qordobafranzi

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

n0obcoder avatar Apr 24 '20 09:04 n0obcoder

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

edebie avatar Aug 12 '20 00:08 edebie