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

CLI interface for tensorflow-cloud #279

Open
eddydecena opened this issue Jan 14, 2021 · 3 comments
Open

CLI interface for tensorflow-cloud #279

eddydecena opened this issue Jan 14, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@eddydecena
Copy link

When we working with cloud-native applications we often have a CLI interface. Would be great if we can run tensorflow-cloud in the terminal using something like tfc run mnist_example.py

@SinaChavoshi
Copy link
Collaborator

Thank you for raising this Eddy, as a work around you could have your tfc.run() script in python file say my_example.py. Then from the command prompt you can run it by

python my_example.py

see call_run_on_notebook_with_keras_fit.py for an example.

Kindly let me know if this address your use case.

@eddydecena
Copy link
Author

No totally because the idea is that the user doesn't need to create a python file if he no wants to, instead of executing a command in the command line is enough, for example:

tfc run mnist_example.py

This is another interface to use tf-cloud. We can use tf-cloud with .py files, .ipynb files, and with this we will use tf-cloud through CLI.

See pull request #283.

@SinaChavoshi
Copy link
Collaborator

Thank you for the work Eddy, I left comments in the PR #283

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants