Open eddydecena opened 3 years ago
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.
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.
Thank you for the work Eddy, I left comments in the PR #283
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