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

fix, refactor, chore(egen): removes keras3 dependency error while saving the model, refactors code as per template #3222

Conversation

sumanvita-springml
Copy link
Contributor

This PR includes the following changes:

  1. In the training component, changes base image from ""tensorflow/tensorflow:latest" to "tensorflow/tensorflow" to download last stable version of TF.
  2. Changes model.save() to tf.saved_model.save() to resolve keras3 dependency issue
  3. Changes REGION to LOCATION
  4. Includes colab restart kernal and authentication as per template guidelines
  5. Adds code to delete custom job in cleanup section
  6. Changes the order of Github and workbench logos
  7. Made structural changes according to the new notebook template

REQUIRED: Fill out the below checklists or remove if irrelevant

  1. If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:
  • Use the notebook template as a starting point.
  • Follow the style and grammar rules outlined in the above notebook template.
  • Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
  • Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
  • You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
  • This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
  • The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

…ing the model, refactors code as per template, performs linter test
@sumanvita-springml sumanvita-springml requested a review from a team as a code owner July 8, 2024 03:52
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@gericdong
Copy link
Contributor

/gcbrun

Copy link
Collaborator

@kittyabs kittyabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no edits needed

Copy link
Collaborator

@kittyabs kittyabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggested edits

"# Delete Vertex AI pipeline.\n",
"job.delete()\n",
"\n",
"# Delete the CustomJob using its display name.\n",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

backticks for CustomJob ??

Copy link
Contributor Author

@sumanvita-springml sumanvita-springml Jul 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a comment in the code cell. Changed CustomJob to Custom Job.

@katiemn
Copy link
Collaborator

katiemn commented Jul 10, 2024

/gcbrun

@katiemn katiemn added this pull request to the merge queue Jul 10, 2024
Merged via the queue into GoogleCloudPlatform:main with commit f22fee6 Jul 10, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

None yet

4 participants