From 6c2319b90e9575cac7fb35b9f461b1f91aa48e57 Mon Sep 17 00:00:00 2001 From: peelidramuk <134531773+peelidramuk@users.noreply.github.com> Date: Thu, 26 Jun 2025 18:36:26 +0530 Subject: [PATCH 1/6] Create contributing.md --- contributing.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 contributing.md diff --git a/contributing.md b/contributing.md new file mode 100644 index 0000000000..deba01fc8d --- /dev/null +++ b/contributing.md @@ -0,0 +1 @@ +something From 780f4efaac5513b777c1bdfea68301b53b9f0b28 Mon Sep 17 00:00:00 2001 From: peelidramuk <134531773+peelidramuk@users.noreply.github.com> Date: Mon, 30 Jun 2025 16:06:57 +0530 Subject: [PATCH 2/6] Created using Colab --- tf_demo.ipynb | 168 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 168 insertions(+) create mode 100644 tf_demo.ipynb diff --git a/tf_demo.ipynb b/tf_demo.ipynb new file mode 100644 index 0000000000..4f76b625b0 --- /dev/null +++ b/tf_demo.ipynb @@ -0,0 +1,168 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "provenance": [], + "authorship_tag": "ABX9TyOniB04EaRWqiflrTGF0pX9", + "include_colab_link": true + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + } + }, + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "vmFUM31sYF2T", + "outputId": "6d4f3b13-b7c5-4522-c0f6-467895357b10" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Cloning into 'models'...\n", + "remote: Enumerating objects: 102123, done.\u001b[K\n", + "remote: Counting objects: 100% (257/257), done.\u001b[K\n", + "remote: Compressing objects: 100% (132/132), done.\u001b[K\n", + "remote: Total 102123 (delta 172), reused 125 (delta 125), pack-reused 101866 (from 3)\u001b[K\n", + "Receiving objects: 100% (102123/102123), 629.39 MiB | 23.85 MiB/s, done.\n", + "Resolving deltas: 100% (72763/72763), done.\n" + ] + } + ], + "source": [ + "!git clone https://github.com/tensorflow/models.git" + ] + }, + { + "cell_type": "code", + "source": [ + "# Change into models/research directory\n", + "%cd models/research\n", + "\n", + "# Compile protobufs and install object detection API\n", + "!protoc object_detection/protos/*.proto --python_out=.\n", + "\n", + "# Install required Python packages\n", + "!pip install tf_slim\n", + "!pip install .\n", + "\n", + "# Go back to root to continue other tasks\n", + "%cd /\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "amSk1xGwYZQC", + "outputId": "6959a000-1908-486a-b063-9781f44fdc93" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "[Errno 2] No such file or directory: 'models/research'\n", + "/\n", + "Could not make proto path relative: object_detection/protos/*.proto: No such file or directory\n", + "Requirement already satisfied: tf_slim in /usr/local/lib/python3.11/dist-packages (1.1.0)\n", + "Requirement already satisfied: absl-py>=0.2.2 in /usr/local/lib/python3.11/dist-packages (from tf_slim) (1.4.0)\n", + "\u001b[31mERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.\u001b[0m\u001b[31m\n", + "\u001b[0m/\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [ + "import tensorflow as tf\n", + "print(\"TensorFlow version:\", tf.__version__)" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "PFtZ5aCHYdeN", + "outputId": "93e95349-22c5-450e-c7c0-b38b6688addb" + }, + "execution_count": null, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "TensorFlow version: 2.18.0\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [ + "!git config --global user.email \"dileepvaltheti@gmail.com\"\n", + "!git config --global user.name \"Dileep Kumar\"\n" + ], + "metadata": { + "id": "kdUdbc5cYx_8" + }, + "execution_count": 1, + "outputs": [] + }, + { + "cell_type": "code", + "source": [ + "!mkdir -p colab-playground\n", + "!cp /content/tf-demo.ipynb colab-playground/\n" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "RLXTcu9WY-fK", + "outputId": "cbb0ed84-f6e2-4c25-d3ab-45e2570e695e" + }, + "execution_count": 2, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "cp: cannot stat '/content/tf-demo.ipynb': No such file or directory\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [], + "metadata": { + "id": "Q1WR5HCZZAGn" + }, + "execution_count": null, + "outputs": [] + } + ] +} \ No newline at end of file From f6e272fcdcf84d1ee8613103631686b90a16e3c1 Mon Sep 17 00:00:00 2001 From: peelidramuk <134531773+peelidramuk@users.noreply.github.com> Date: Mon, 30 Jun 2025 16:08:14 +0530 Subject: [PATCH 3/6] Delete tf_demo.ipynb --- tf_demo.ipynb | 168 -------------------------------------------------- 1 file changed, 168 deletions(-) delete mode 100644 tf_demo.ipynb diff --git a/tf_demo.ipynb b/tf_demo.ipynb deleted file mode 100644 index 4f76b625b0..0000000000 --- a/tf_demo.ipynb +++ /dev/null @@ -1,168 +0,0 @@ -{ - "nbformat": 4, - "nbformat_minor": 0, - "metadata": { - "colab": { - "provenance": [], - "authorship_tag": "ABX9TyOniB04EaRWqiflrTGF0pX9", - "include_colab_link": true - }, - "kernelspec": { - "name": "python3", - "display_name": "Python 3" - }, - "language_info": { - "name": "python" - } - }, - "cells": [ - { - "cell_type": "markdown", - "metadata": { - "id": "view-in-github", - "colab_type": "text" - }, - "source": [ - "\"Open" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "vmFUM31sYF2T", - "outputId": "6d4f3b13-b7c5-4522-c0f6-467895357b10" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "Cloning into 'models'...\n", - "remote: Enumerating objects: 102123, done.\u001b[K\n", - "remote: Counting objects: 100% (257/257), done.\u001b[K\n", - "remote: Compressing objects: 100% (132/132), done.\u001b[K\n", - "remote: Total 102123 (delta 172), reused 125 (delta 125), pack-reused 101866 (from 3)\u001b[K\n", - "Receiving objects: 100% (102123/102123), 629.39 MiB | 23.85 MiB/s, done.\n", - "Resolving deltas: 100% (72763/72763), done.\n" - ] - } - ], - "source": [ - "!git clone https://github.com/tensorflow/models.git" - ] - }, - { - "cell_type": "code", - "source": [ - "# Change into models/research directory\n", - "%cd models/research\n", - "\n", - "# Compile protobufs and install object detection API\n", - "!protoc object_detection/protos/*.proto --python_out=.\n", - "\n", - "# Install required Python packages\n", - "!pip install tf_slim\n", - "!pip install .\n", - "\n", - "# Go back to root to continue other tasks\n", - "%cd /\n" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "amSk1xGwYZQC", - "outputId": "6959a000-1908-486a-b063-9781f44fdc93" - }, - "execution_count": null, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "[Errno 2] No such file or directory: 'models/research'\n", - "/\n", - "Could not make proto path relative: object_detection/protos/*.proto: No such file or directory\n", - "Requirement already satisfied: tf_slim in /usr/local/lib/python3.11/dist-packages (1.1.0)\n", - "Requirement already satisfied: absl-py>=0.2.2 in /usr/local/lib/python3.11/dist-packages (from tf_slim) (1.4.0)\n", - "\u001b[31mERROR: Directory '.' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.\u001b[0m\u001b[31m\n", - "\u001b[0m/\n" - ] - } - ] - }, - { - "cell_type": "code", - "source": [ - "import tensorflow as tf\n", - "print(\"TensorFlow version:\", tf.__version__)" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "PFtZ5aCHYdeN", - "outputId": "93e95349-22c5-450e-c7c0-b38b6688addb" - }, - "execution_count": null, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "TensorFlow version: 2.18.0\n" - ] - } - ] - }, - { - "cell_type": "code", - "source": [ - "!git config --global user.email \"dileepvaltheti@gmail.com\"\n", - "!git config --global user.name \"Dileep Kumar\"\n" - ], - "metadata": { - "id": "kdUdbc5cYx_8" - }, - "execution_count": 1, - "outputs": [] - }, - { - "cell_type": "code", - "source": [ - "!mkdir -p colab-playground\n", - "!cp /content/tf-demo.ipynb colab-playground/\n" - ], - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "RLXTcu9WY-fK", - "outputId": "cbb0ed84-f6e2-4c25-d3ab-45e2570e695e" - }, - "execution_count": 2, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "cp: cannot stat '/content/tf-demo.ipynb': No such file or directory\n" - ] - } - ] - }, - { - "cell_type": "code", - "source": [], - "metadata": { - "id": "Q1WR5HCZZAGn" - }, - "execution_count": null, - "outputs": [] - } - ] -} \ No newline at end of file From d96a43b8c1b39799848fcf680496a5d7805f20d0 Mon Sep 17 00:00:00 2001 From: peelidramuk <134531773+peelidramuk@users.noreply.github.com> Date: Mon, 30 Jun 2025 16:30:10 +0530 Subject: [PATCH 4/6] Created using Colab --- colab-playground/tf-demo.ipynb | 117 +++++++++++++++++++++++++++++++++ 1 file changed, 117 insertions(+) create mode 100644 colab-playground/tf-demo.ipynb diff --git a/colab-playground/tf-demo.ipynb b/colab-playground/tf-demo.ipynb new file mode 100644 index 0000000000..65f5ea8978 --- /dev/null +++ b/colab-playground/tf-demo.ipynb @@ -0,0 +1,117 @@ +{ + "nbformat": 4, + "nbformat_minor": 0, + "metadata": { + "colab": { + "provenance": [], + "authorship_tag": "ABX9TyNTldFSpzuKRRHsnd55P/V9", + "include_colab_link": true + }, + "kernelspec": { + "name": "python3", + "display_name": "Python 3" + }, + "language_info": { + "name": "python" + } + }, + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "vXybH_yceYG9", + "outputId": "2837531a-7550-45ce-f5ee-05324a11ed69" + }, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Cloning into 'models'...\n", + "remote: Enumerating objects: 102123, done.\u001b[K\n", + "remote: Counting objects: 100% (257/257), done.\u001b[K\n", + "remote: Compressing objects: 100% (134/134), done.\u001b[K\n", + "remote: Total 102123 (delta 171), reused 123 (delta 123), pack-reused 101866 (from 3)\u001b[K\n", + "Receiving objects: 100% (102123/102123), 629.39 MiB | 36.58 MiB/s, done.\n", + "Resolving deltas: 100% (72773/72773), done.\n" + ] + } + ], + "source": [ + "!git clone https://github.com/tensorflow/models.git" + ] + }, + { + "cell_type": "code", + "source": [ + "!pip install -q tf-slim\n", + "!sudo apt-get install -y protobuf-compiler\n", + "!cd models/research && protoc object_detection/protos/*.proto --python_out=.\n", + "!cp models/research/object_detection/packages/tf2/setup.py\n", + "!python3 setup.py install" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "Ogsz_XV0eo3p", + "outputId": "efd0dae1-8d08-46c1-ad19-fef0acdd85a0" + }, + "execution_count": 2, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Reading package lists... Done\n", + "Building dependency tree... Done\n", + "Reading state information... Done\n", + "protobuf-compiler is already the newest version (3.12.4-1ubuntu7.22.04.2).\n", + "0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded.\n", + "cp: missing destination file operand after 'models/research/object_detection/packages/tf2/setup.py'\n", + "Try 'cp --help' for more information.\n", + "python3: can't open file '/content/setup.py': [Errno 2] No such file or directory\n" + ] + } + ] + }, + { + "cell_type": "code", + "source": [ + "import tensorflow as tf\n", + "print(\"Tensorflow version:\", tf.__version__)" + ], + "metadata": { + "colab": { + "base_uri": "https://localhost:8080/" + }, + "id": "guGNF5JrfOau", + "outputId": "fceb962c-7d02-42e3-d998-796dd371d74f" + }, + "execution_count": 3, + "outputs": [ + { + "output_type": "stream", + "name": "stdout", + "text": [ + "Tensorflow version: 2.18.0\n" + ] + } + ] + } + ] +} \ No newline at end of file From de66a243849d335aa75c2643c681ef14acba269c Mon Sep 17 00:00:00 2001 From: peelidramuk <134531773+peelidramuk@users.noreply.github.com> Date: Mon, 30 Jun 2025 16:31:55 +0530 Subject: [PATCH 5/6] Created using Colab From a7c16647ac36a63c4d2944bcf17307106faa657c Mon Sep 17 00:00:00 2001 From: peelidramuk <134531773+peelidramuk@users.noreply.github.com> Date: Mon, 30 Jun 2025 16:42:04 +0530 Subject: [PATCH 6/6] Created using Colab --- colab-playground/tf-demo.ipynb | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/colab-playground/tf-demo.ipynb b/colab-playground/tf-demo.ipynb index 65f5ea8978..7378436f38 100644 --- a/colab-playground/tf-demo.ipynb +++ b/colab-playground/tf-demo.ipynb @@ -4,7 +4,7 @@ "metadata": { "colab": { "provenance": [], - "authorship_tag": "ABX9TyNTldFSpzuKRRHsnd55P/V9", + "authorship_tag": "ABX9TyOosOaEUSAErnOHtLT/M4vB", "include_colab_link": true }, "kernelspec": { @@ -28,13 +28,13 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": null, "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, - "id": "vXybH_yceYG9", - "outputId": "2837531a-7550-45ce-f5ee-05324a11ed69" + "id": "icDnYDhCguWA", + "outputId": "19f16527-5eb9-493b-bc69-e02abfbe0962" }, "outputs": [ { @@ -44,10 +44,10 @@ "Cloning into 'models'...\n", "remote: Enumerating objects: 102123, done.\u001b[K\n", "remote: Counting objects: 100% (257/257), done.\u001b[K\n", - "remote: Compressing objects: 100% (134/134), done.\u001b[K\n", - "remote: Total 102123 (delta 171), reused 123 (delta 123), pack-reused 101866 (from 3)\u001b[K\n", - "Receiving objects: 100% (102123/102123), 629.39 MiB | 36.58 MiB/s, done.\n", - "Resolving deltas: 100% (72773/72773), done.\n" + "remote: Compressing objects: 100% (132/132), done.\u001b[K\n", + "remote: Total 102123 (delta 172), reused 125 (delta 125), pack-reused 101866 (from 3)\u001b[K\n", + "Receiving objects: 100% (102123/102123), 629.39 MiB | 26.46 MiB/s, done.\n", + "Resolving deltas: 100% (72763/72763), done.\n" ] } ], @@ -68,10 +68,10 @@ "colab": { "base_uri": "https://localhost:8080/" }, - "id": "Ogsz_XV0eo3p", - "outputId": "efd0dae1-8d08-46c1-ad19-fef0acdd85a0" + "id": "IVGsnvB0g9rO", + "outputId": "32fcb4ea-558e-4ea6-ad2b-9e98b0684867" }, - "execution_count": 2, + "execution_count": null, "outputs": [ { "output_type": "stream", @@ -93,22 +93,22 @@ "cell_type": "code", "source": [ "import tensorflow as tf\n", - "print(\"Tensorflow version:\", tf.__version__)" + "print(\"Tensorflow version\",tf.__version__)" ], "metadata": { "colab": { "base_uri": "https://localhost:8080/" }, - "id": "guGNF5JrfOau", - "outputId": "fceb962c-7d02-42e3-d998-796dd371d74f" + "id": "kmQuUrsThdsK", + "outputId": "43585332-1bf7-4395-e895-0d946efc52b7" }, - "execution_count": 3, + "execution_count": null, "outputs": [ { "output_type": "stream", "name": "stdout", "text": [ - "Tensorflow version: 2.18.0\n" + "Tensorflow version 2.18.0\n" ] } ]