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 test trained model #118

Open
aimaaonline opened this issue Jan 10, 2018 · 4 comments
Open

how to test trained model #118

aimaaonline opened this issue Jan 10, 2018 · 4 comments

Comments

@aimaaonline
Copy link

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

@itdaniher
Copy link

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

@aimaaonline
Copy link
Author

aimaaonline commented Jan 11, 2018 via email

@aimaaonline
Copy link
Author

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

@sangjeedondrub
Copy link

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

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