Skip to content

CLI interface for tensorflow-cloud #279

Open

Description

@eddydecena

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

Activity

  1. SinaChavoshi commented on Jan 20, 2021

    @SinaChavoshi
    Member

    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.

  2. eddydecena commented on Feb 3, 2021

    @eddydecena
    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.

  3. SinaChavoshi commented on Feb 21, 2021

    @SinaChavoshi
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions