Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
86da801
Fix typos and spelling mistakes in model_monitoring_vertex.ipynb
google-labs-jules[bot] Jun 3, 2025
71494e8
Update image serving notebook to Keras 3
takumiohym Aug 21, 2025
136fdcf
Reflected Gemini review
takumiohym Aug 21, 2025
caf883c
Update 2_dataset_api to Keras3
takumiohym Sep 3, 2025
b705219
fixed typos
takumiohym Sep 3, 2025
1e321b1
update deepconv_gan
takumiohym Sep 17, 2025
dc7d3f5
reflect Gemini review
takumiohym Sep 17, 2025
1fba76d
Fix and update create_tfrecords
takumiohym Sep 18, 2025
e4ffe11
Update conditional_gan notebooks to Keras3
takumiohym Sep 18, 2025
594021b
update u-net notebooks to Keras 3
takumiohym Sep 18, 2025
0207436
update ADK version to 1.14.1
takumiohym Oct 1, 2025
4539627
remove ADK Kernel
takumiohym Oct 1, 2025
4935c26
updating rnn encoder decoder
sanjanalreddy Oct 3, 2025
f78c37a
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Oct 6, 2025
9e26afe
update gcloud ai command to Python SDK
takumiohym Oct 7, 2025
3722a5c
simplified the hyperparam retrieval
takumiohym Oct 8, 2025
5a41f5c
Merge pull request #698 from GoogleCloudPlatform/remove_adk_kernel
takumiohym Oct 15, 2025
fe02571
updating to keras3
sanjanalreddy Oct 15, 2025
4492661
reflected feedback
takumiohym Oct 15, 2025
2e82f7c
Merge pull request #702 from GoogleCloudPlatform/update-mlops-walkthr…
takumiohym Oct 15, 2025
39ceb7d
remove redundant code
sanjanalreddy Oct 15, 2025
48751ff
remove util_preproc import
sanjanalreddy Oct 15, 2025
ac99eab
code modifications for GPU
sanjanalreddy Oct 15, 2025
30db950
Merge branch 'keras3-encoder-decoder' of https://github.com/GoogleClo…
sanjanalreddy Oct 15, 2025
83494ea
markdown update
sanjanalreddy Oct 15, 2025
cada20d
reflecting review comments
sanjanalreddy Oct 15, 2025
0d0cce9
typo fix
sanjanalreddy Oct 15, 2025
74c209c
reflecting review comments
sanjanalreddy Oct 15, 2025
17e5461
minor fix
takumiohym Oct 16, 2025
c2097aa
cleared output
takumiohym Oct 16, 2025
5f8f621
add labs version
takumiohym Oct 16, 2025
503baa9
Merge pull request #706 from GoogleCloudPlatform/keras3-tfdata
takumiohym Oct 17, 2025
23516d2
added deploing to cloud run example
olex-snk Oct 20, 2025
4932a56
cleaned
olex-snk Oct 20, 2025
3dc79ad
minor fixes to intro to tf
takumiohym Oct 21, 2025
d1d6dbf
fix 3_keras_sequential_api_vertex lab/solution mismatch
takumiohym Oct 22, 2025
473c86f
add run_eagerly=True to lab notebook
takumiohym Oct 22, 2025
3f81753
Merge pull request #723 from GoogleCloudPlatform/intro_3_minorfix
takumiohym Oct 22, 2025
11482b2
review comments and clear outputs
sanjanalreddy Oct 27, 2025
9f971f0
Merge pull request #719 from GoogleCloudPlatform/keras3-encoder-decoder
sanjanalreddy Oct 27, 2025
ec0f24b
adding lab notebook
sanjanalreddy Oct 27, 2025
36a78cf
adding lab notebook
sanjanalreddy Oct 27, 2025
d2e016c
Merge pull request #725 from GoogleCloudPlatform/keras3-encoder-decoder
takumiohym Oct 28, 2025
53c0f13
Remove labs/utils_preproc.py
takumiohym Oct 28, 2025
163b0e2
updated tf.convert_to_tensor
takumiohym Oct 28, 2025
c780319
Merge pull request #721 from GoogleCloudPlatform/intro_tf_minorfix
takumiohym Oct 28, 2025
b4b7b3b
Merge pull request #726 from GoogleCloudPlatform/remove_utils_preproc
takumiohym Oct 28, 2025
fcdc6a5
Update text_generation_using_transformer to keras3
takumiohym Oct 29, 2025
c892529
Merge pull request #720 from GoogleCloudPlatform/adk_deployment_cloud…
olex-snk Oct 29, 2025
0ed1e81
Revert "ADK deployment to Cloud Run"
olex-snk Oct 29, 2025
8cbd25b
Merge pull request #730 from GoogleCloudPlatform/revert-720-adk_deplo…
olex-snk Oct 29, 2025
86c1efc
fixed remaining tf reference
takumiohym Nov 10, 2025
74ea8b5
update keras version
takumiohym Nov 10, 2025
024abda
remove run_eagerly=True
takumiohym Nov 10, 2025
2177268
Merge pull request #734 from GoogleCloudPlatform/keras-312
takumiohym Nov 18, 2025
461e5ac
Update image captioning notebook to Keras 3
takumiohym Nov 19, 2025
9d62f64
Merge pull request #729 from GoogleCloudPlatform/keras3-transformer-d…
takumiohym Nov 19, 2025
73acd1a
add keras_cv kernel for SD fine-tuning notebook
takumiohym Nov 20, 2025
a4c2357
Updated Pytorch walkthrough to use Python SDK
takumiohym Nov 20, 2025
ac3f753
enable TF_USE_LEGACY_KERAS
takumiohym Nov 21, 2025
87dca92
added zero-shot instance tuning with Gemini
takumiohym Nov 21, 2025
60e9883
Merge pull request #739 from GoogleCloudPlatform/pytorch-walkthrough-sdk
takumiohym Nov 25, 2025
2940807
Merge pull request #684 from GoogleCloudPlatform/update_deepconv_gan
takumiohym Nov 25, 2025
7550fdf
Merge pull request #685 from GoogleCloudPlatform/update-tfrecords
takumiohym Nov 26, 2025
cf5bb80
add dpi to reduce plot size
takumiohym Nov 26, 2025
77af3c9
Merge pull request #742 from GoogleCloudPlatform/deepconv-gan-patch
takumiohym Nov 26, 2025
6f444d3
add dpi to plotting
takumiohym Nov 26, 2025
54e443d
Update wrong links
takumiohym Nov 26, 2025
6513932
Merge pull request #686 from GoogleCloudPlatform/keras3-cond-gan
takumiohym Nov 26, 2025
c3866c2
Merge pull request #701 from GoogleCloudPlatform/pre-commit-ci-update…
takumiohym Dec 15, 2025
44ad419
remove contextual bandits notebook
takumiohym Dec 15, 2025
d50fc5f
Merge pull request #659 from GoogleCloudPlatform/keras3-image-serving
takumiohym Dec 16, 2025
f4b4a78
Merge pull request #612 from GoogleCloudPlatform/fix/typos-model-moni…
takumiohym Dec 16, 2025
99859a2
remove data augmentation from labs notebook for consistency
takumiohym Dec 16, 2025
feab7a4
update keras.preprocessing to keras.utils
takumiohym Dec 16, 2025
64c2986
reflected feedback
takumiohym Dec 16, 2025
c19c457
updated remaining tf references from lab notebook
takumiohym Dec 16, 2025
ee3ff67
Merge pull request #687 from GoogleCloudPlatform/update-unet
takumiohym Dec 16, 2025
bd7aede
remove uncertainty_aware_models
takumiohym Dec 22, 2025
ab691ff
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jan 5, 2026
1c70e2b
Remove TFX module
takumiohym Jan 5, 2026
0e3d1e9
remove unused load_text nb
sanjanalreddy Jan 5, 2026
7d520c1
remove tokenizer notebook
sanjanalreddy Jan 5, 2026
909dc43
remove qna notebook
sanjanalreddy Jan 5, 2026
52086d3
remove used surgery_manual.txt
sanjanalreddy Jan 5, 2026
68d1d7e
update zipping function
sanjanalreddy Jan 9, 2026
c19226a
update notebooks to keras3
sanjanalreddy Jan 9, 2026
3831768
Merge pull request #749 from GoogleCloudPlatform/remove_tfx
takumiohym Jan 9, 2026
1438e6f
modified lab notebooks
sanjanalreddy Jan 13, 2026
ab0f33e
update the lab notebooks
sanjanalreddy Jan 13, 2026
a42e79c
Merge pull request #750 from GoogleCloudPlatform/keras3-text-cleanup
sanjanalreddy Jan 13, 2026
c87de4b
Merge pull request #745 from GoogleCloudPlatform/remove_contextual_ba…
takumiohym Jan 13, 2026
5f06689
fixed custom loss
takumiohym Jan 13, 2026
9e3b437
Merge pull request #736 from GoogleCloudPlatform/keras3-image-captioning
takumiohym Jan 14, 2026
e4f30bd
addressing review comments
sanjanalreddy Jan 14, 2026
7bce6ac
Merge pull request #760 from GoogleCloudPlatform/keras3-babyweight
sanjanalreddy Jan 14, 2026
831dc28
Merge pull request #746 from GoogleCloudPlatform/remove_uncertain_aware
takumiohym Jan 14, 2026
6f83f73
Merge pull request #618 from GoogleCloudPlatform/keras3-dev
takumiohym Jan 14, 2026
0290a6c
Merge pull request #738 from GoogleCloudPlatform/keras_cv_kernel
takumiohym Jan 14, 2026
492d956
Merge pull request #748 from GoogleCloudPlatform/pre-commit-ci-update…
takumiohym Jan 14, 2026
d6a6e26
fix description on attention
takumiohym Jan 15, 2026
4ae8693
Merge pull request #766 from GoogleCloudPlatform/minorfix_imgcaption
takumiohym Jan 15, 2026
4be1b83
fix call
olex-snk Nov 19, 2025
5830668
fix
olex-snk Nov 19, 2025
95440c1
migrated to Keras 3
olex-snk Jan 16, 2026
7da92e3
fixed duplicated code
olex-snk Jan 19, 2026
d792b6b
Merge pull request #735 from GoogleCloudPlatform/word2vec_fix
olex-snk Feb 3, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
rev: v6.0.0
hooks:
- id: check-ast
- id: check-case-conflict
Expand All @@ -33,24 +33,24 @@ repos:
- id: nbqa-isort
args: [--profile=black, -l80]
- repo: https://github.com/PyCQA/isort
rev: 6.0.1
rev: 7.0.0
hooks:
- id: isort
args: ["--profile", "black", "-l80"]
- repo: https://github.com/psf/black
rev: 25.1.0
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 25.12.0
hooks:
- id: black
args: [-l 80]
- id: black-jupyter
args: [-l 80]
- repo: https://github.com/asottile/pyupgrade
rev: v3.20.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [--py36-plus]
- repo: https://github.com/pycqa/pylint
rev: v3.3.7
rev: v4.0.4
hooks:
- id: pylint
args: ["--disable", "unexpected-keyword-arg,no-value-for-parameter,too-many-function-args"]
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
all: clean install

kernels: \
adk_kernel \
object_detection_kernel \
pytorch_kfp_kernel \
tf_privacy_kernel
Expand All @@ -42,10 +41,6 @@ install:
precommit:
@pre-commit run --all-files

.PHONY: adk_kernel
adk_kernel:
./kernels/adk.sh

.PHONY: object_detection_kernel
object_detection_kernel:
./kernels/object_detection.sh
Expand All @@ -58,6 +53,10 @@ pytorch_kfp_kernel:
tf_privacy_kernel:
./kernels/tf_privacy.sh

.PHONY: keras_cv_kernel
keras_cv_kernel:
./kernels/keras_cv.sh

.PHONY: tests
tests:
pytest tests/unit
36 changes: 0 additions & 36 deletions kernels/adk.sh

This file was deleted.

30 changes: 30 additions & 0 deletions kernels/keras_cv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/bash
#
# To build the kernel: ./kernels/keras_cv.sh
# To remove the kernel: ./kernels/keras_cv.sh remove
#
# This scripts will create a ipython kernel named $ENVNAME

MODULE=image_models
ENVNAME=keras_cv_kernel
REPO_ROOT_DIR="$(dirname $(cd $(dirname $BASH_SOURCE) && pwd))"

# Cleaning up the kernel and exiting if first arg is 'remove'
if [ "$1" == "remove" ]; then
echo Removing kernel $ENVNAME
jupyter kernelspec remove $ENVNAME
rm -r "$REPO_ROOT_DIR/notebooks/$MODULE/$ENVNAME"
exit 0
fi

cd $REPO_ROOT_DIR/notebooks/$MODULE

# Setup virtual env and kernel
python3 -m venv $ENVNAME --system-site-packages
source $ENVNAME/bin/activate
python -m ipykernel install --user --name=$ENVNAME

# Install Object Detection API and its dependencies
pip install -q keras-cv==0.9.0

deactivate
15 changes: 4 additions & 11 deletions notebooks/end-to-end-structured/labs/4a_sample_babyweight.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Copyright 2021 Google LLC\n",
"Copyright 2026 Google LLC\n",
"Licensed under the Apache License, Version 2.0 (the \"License\");\n",
"you may not use this file except in compliance with the License.\n",
"You may obtain a copy of the License at\n",
Expand All @@ -800,21 +800,14 @@
"See the License for the specific language governing permissions and\n",
"limitations under the License."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"environment": {
"kernel": "conda-base-py",
"name": "workbench-notebooks.m121",
"name": "workbench-notebooks.m137",
"type": "gcloud",
"uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m121"
"uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m137"
},
"kernelspec": {
"display_name": "Python 3 (ipykernel) (Local)",
Expand All @@ -831,7 +824,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.14"
"version": "3.10.19"
}
},
"nbformat": 4,
Expand Down
Loading
Loading