char-rnn-tensorflow icon indicating copy to clipboard operation
char-rnn-tensorflow copied to clipboard

how to test trained model

Open aimaaonline opened this issue 7 years ago • 4 comments

i could not get how to test the model i have trained using train.py please mention command. i am using ubuntu 16.04

aimaaonline avatar Jan 10 '18 10:01 aimaaonline

I think you're looking for sample.py to generate text.

itdaniher avatar Jan 10 '18 17:01 itdaniher

Yeah please guide me how to test the trained model. I have trained it on some data sets. But now i could not get how it will generate text or predict word

On Jan 10, 2018 10:22 PM, "Ian Daniher" [email protected] wrote:

I think you're looking for sample.py to generate text.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sherjilozair/char-rnn-tensorflow/issues/118#issuecomment-356673441, or mute the thread https://github.com/notifications/unsubscribe-auth/AhEt21474nU1DQ7AmpPVJSKLTef4qRqWks5tJPHVgaJpZM4RZHFI .

aimaaonline avatar Jan 11 '18 05:01 aimaaonline

i got it.the only problem was, that inspite of python i used python3 because it is python 3.5 which is configured with tensorflow 1.0 + python3 sample.py --init_dir=output --start_text="The meaning of life is" --length=10

aimaaonline avatar Jan 11 '18 09:01 aimaaonline

 ⚡  char-rnn-tensorflow ⎇  [master]  ✘ python sample.py --prime "It is a beautiful night" -n 10000

sangjeedondrub avatar Mar 08 '18 15:03 sangjeedondrub