deep-text-corrector icon indicating copy to clipboard operation
deep-text-corrector copied to clipboard

Decoding is repeating the same word

Open johnnogent opened this issue 7 years ago • 9 comments

Hello, I have an issue

decoded = decode_sentence(sess, model, data_reader, "you must have girlfriend", corrective_tokens=corrective_tokens) Input: you must have girlfriend Output: you you you you you you you you you you

Any one has an idea please? Many thanks

johnnogent avatar Jun 14 '17 16:06 johnnogent

The issue is from correct_text.py, the test tf.gfile.Exists(ckpt.model_checkpoint_path) is failing. I am in Python 2.7 , tensorflow 0.12 on ubuntu

johnnogent avatar Jun 17 '17 16:06 johnnogent

i have the same issue: Input: so they travel around from place to place and preach ? Output: from from from from from from from from from from from from from from from

jinjiaji512 avatar Aug 31 '17 05:08 jinjiaji512

Problem fixed. Please see my fork.

qinbill avatar Oct 01 '17 10:10 qinbill

Still have the same issue. How can I solve this kind of repeating problem? @qinbill @johnnogent

longzaitianguo avatar Dec 13 '17 07:12 longzaitianguo

Hi, I still have the same issue, is there a way to resolve it.

sg1112 avatar Feb 24 '18 00:02 sg1112

@qinbill i have the same problem. I am using your fork

akmalkadi avatar Mar 26 '18 05:03 akmalkadi

Please use the older version of Tensorflow.

akmalkady writes:

@qinbill i have the same problem. I am using your fork

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

--

Regards, Jianbin Qin

-- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.

qinbill avatar Mar 26 '18 07:03 qinbill

@qinbill thanks for your answer. I installed version 0.12.1 and I did the training again. I got the same problem.

I am using the default which is 3000. is that the reason why i am getting repeated words?

akmalkadi avatar Mar 27 '18 02:03 akmalkadi

I am having same repeating words problem while testing, Please help to resolve it. I am using tensorflow 0.12. Thanks

dharm033075 avatar Apr 01 '18 18:04 dharm033075