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 pass 'n' input from command line #1

Open
yogesh-0586 opened this issue Jun 12, 2017 · 5 comments
Open

How to pass 'n' input from command line #1

yogesh-0586 opened this issue Jun 12, 2017 · 5 comments

Comments

@yogesh-0586
Copy link

Is possible to modify script for getting user input and show display results. Now it take only one input for testing and for one single input need to run whole epoch step iteration. Is possible to run epoch one time and load model and test with user given input ?

@saching270
Copy link

I am also facing the same problem. If you find the solution, please post it here too.

@Currie32
Copy link
Owner

You should be able to do that if your use the .ipynb file. In the final box, you can test a user given input.

@yogesh-0586
Copy link
Author

In given code is only tested for single input, here I want to interact with model if user input something on console then result should come immediately without iterating whole epoch steps something like this https://github.com/Conchylicultor/DeepQA

@Currie32
Copy link
Owner

To do something like that you would need to change the structure of the notebook. It could be worth writing the final box to a function, then in a different file, load this function, and add the other necessary code, to take the user-generated input and have the model type out a reply.

@yogesh-0586
Copy link
Author

IS possible to change in that code, I tried from last two days but still not get success , I am here novice to learn tensorflow and python. If my code work for user input then I will update that code, but in mean time if you will get time to update code it will helpful for me.

Thanks

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