Skip to content

Commit 41bdb8c

Browse files
committed
fix colab link
1 parent 6c2d789 commit 41bdb8c

File tree

1 file changed

+34
-20
lines changed

1 file changed

+34
-20
lines changed

PaliGemma/Finetune_PaliGemma_for_object_detection.ipynb

Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"# distributed under the License is distributed on an \"AS IS\" BASIS,\n",
2929
"# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n",
3030
"# See the License for the specific language governing permissions and\n",
31-
"# limitations under the License. "
31+
"# limitations under the License."
3232
]
3333
},
3434
{
@@ -48,7 +48,7 @@
4848
"source": [
4949
"<table align=\"left\">\n",
5050
" <td>\n",
51-
" <a target=\"_blank\" href=\"https://colab.research.google.com/drive/13fSUAhRviSI1YKhOmesjktw5BaI87sfm?usp=sharing\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
51+
" <a target=\"_blank\" href=\"https://colab.research.google.com/github/google-gemini/gemma-cookbook/blob/main/PaliGemma/Finetune_PaliGemma_for_object_detection.ipynb\"><img src=\"https://www.tensorflow.org/images/colab_logo_32px.png\" />Run in Google Colab</a>\n",
5252
" </td>\n",
5353
"</table>"
5454
]
@@ -165,7 +165,8 @@
165165
"cell_type": "code",
166166
"execution_count": null,
167167
"metadata": {
168-
"id": "Wtvz4QZ9YuG8"
168+
"id": "Wtvz4QZ9YuG8",
169+
"outputId": "d274444a-3953-47ee-be4c-0a2d8c4901ee"
169170
},
170171
"outputs": [
171172
{
@@ -187,7 +188,8 @@
187188
"cell_type": "code",
188189
"execution_count": null,
189190
"metadata": {
190-
"id": "uz9tLPruj_65"
191+
"id": "uz9tLPruj_65",
192+
"outputId": "d65008c2-90d6-4a63-bbab-2339a9f77a32"
191193
},
192194
"outputs": [
193195
{
@@ -238,7 +240,8 @@
238240
"cell_type": "code",
239241
"execution_count": null,
240242
"metadata": {
241-
"id": "WLhSenP5AtQe"
243+
"id": "WLhSenP5AtQe",
244+
"outputId": "f8f9b7a7-0b44-40db-ec05-473a6c82a5f4"
242245
},
243246
"outputs": [
244247
{
@@ -261,7 +264,8 @@
261264
"cell_type": "code",
262265
"execution_count": null,
263266
"metadata": {
264-
"id": "YwHY21ABA0WG"
267+
"id": "YwHY21ABA0WG",
268+
"outputId": "66971ac1-8c8f-43c0-c6f1-9915436cad72"
265269
},
266270
"outputs": [
267271
{
@@ -295,7 +299,8 @@
295299
"cell_type": "code",
296300
"execution_count": null,
297301
"metadata": {
298-
"id": "6ihTTuTd747l"
302+
"id": "6ihTTuTd747l",
303+
"outputId": "75354c12-9b33-4bf1-bfbd-bf028a32c53a"
299304
},
300305
"outputs": [
301306
{
@@ -458,7 +463,8 @@
458463
"cell_type": "code",
459464
"execution_count": null,
460465
"metadata": {
461-
"id": "OlWELn2FHB22"
466+
"id": "OlWELn2FHB22",
467+
"outputId": "b16fa7b4-c417-4f51-ff52-5706d7f4c782"
462468
},
463469
"outputs": [
464470
{
@@ -545,7 +551,8 @@
545551
"cell_type": "code",
546552
"execution_count": null,
547553
"metadata": {
548-
"id": "gQNOTfF24AV4"
554+
"id": "gQNOTfF24AV4",
555+
"outputId": "a80aa8c3-1282-4e25-aa6f-28b906551161"
549556
},
550557
"outputs": [
551558
{
@@ -660,7 +667,8 @@
660667
"cell_type": "code",
661668
"execution_count": null,
662669
"metadata": {
663-
"id": "RWOdf_fw2SAO"
670+
"id": "RWOdf_fw2SAO",
671+
"outputId": "792a3652-7289-46aa-eb67-a2f8091d2014"
664672
},
665673
"outputs": [
666674
{
@@ -930,7 +938,8 @@
930938
"cell_type": "code",
931939
"execution_count": null,
932940
"metadata": {
933-
"id": "BzJfb5t0nsLq"
941+
"id": "BzJfb5t0nsLq",
942+
"outputId": "7423d874-9334-4b76-ab48-cd991344867e"
934943
},
935944
"outputs": [
936945
{
@@ -1137,7 +1146,8 @@
11371146
"cell_type": "code",
11381147
"execution_count": null,
11391148
"metadata": {
1140-
"id": "GCXYnIdm4ILQ"
1149+
"id": "GCXYnIdm4ILQ",
1150+
"outputId": "39370b62-cc33-4932-cf21-a046cf815a2a"
11411151
},
11421152
"outputs": [
11431153
{
@@ -1211,7 +1221,8 @@
12111221
"cell_type": "code",
12121222
"execution_count": null,
12131223
"metadata": {
1214-
"id": "067wj_6bZAG3"
1224+
"id": "067wj_6bZAG3",
1225+
"outputId": "f4f71a08-a45f-4cfc-d4d3-ecb1e17bd2b8"
12151226
},
12161227
"outputs": [
12171228
{
@@ -1777,7 +1788,8 @@
17771788
"cell_type": "code",
17781789
"execution_count": null,
17791790
"metadata": {
1780-
"id": "hgUhEKjzPdMQ"
1791+
"id": "hgUhEKjzPdMQ",
1792+
"outputId": "7702aa77-ef8d-4dba-9a16-2f7f3fc57ffd"
17811793
},
17821794
"outputs": [
17831795
{
@@ -1951,7 +1963,8 @@
19511963
"cell_type": "code",
19521964
"execution_count": null,
19531965
"metadata": {
1954-
"id": "d62AueMC7Yp3"
1966+
"id": "d62AueMC7Yp3",
1967+
"outputId": "d322231c-e522-4cb2-91ae-42097589b70f"
19551968
},
19561969
"outputs": [
19571970
{
@@ -1988,7 +2001,8 @@
19882001
"cell_type": "code",
19892002
"execution_count": null,
19902003
"metadata": {
1991-
"id": "lE7je-hL8Bj3"
2004+
"id": "lE7je-hL8Bj3",
2005+
"outputId": "9ac71238-9b21-4d06-ce7d-e27f2c5dc6bb"
19922006
},
19932007
"outputs": [
19942008
{
@@ -2058,7 +2072,7 @@
20582072
"source": [
20592073
"## Conclusion\n",
20602074
"\n",
2061-
"This notebook demonstrated the fine-tuning of Paligemma on a fashion dataset for object detection. While the complete dataset of 4.5k images could not be utilized due to resource constraints, a subset of 640 images was used, which resulted in measurable improvements in detecting clothing items. \n",
2075+
"This notebook demonstrated the fine-tuning of Paligemma on a fashion dataset for object detection. While the complete dataset of 4.5k images could not be utilized due to resource constraints, a subset of 640 images was used, which resulted in measurable improvements in detecting clothing items.\n",
20622076
"\n",
20632077
"Model was fine-tuned for 80 steps on T4 GPUs;\n",
20642078
"Loss was reduced from 4.7220 to 2.5054.\n",
@@ -2086,8 +2100,8 @@
20862100
"metadata": {
20872101
"accelerator": "GPU",
20882102
"colab": {
2089-
"name": "Finetune_PaliGemma_for_object_detection.ipynb",
2090-
"toc_visible": true
2103+
"toc_visible": true,
2104+
"provenance": []
20912105
},
20922106
"kernelspec": {
20932107
"display_name": "Python 3",
@@ -2096,4 +2110,4 @@
20962110
},
20972111
"nbformat": 4,
20982112
"nbformat_minor": 0
2099-
}
2113+
}

0 commit comments

Comments
 (0)