Skip to content

Create contributing.md #1477

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
117 changes: 117 additions & 0 deletions colab-playground/tf-demo.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyOosOaEUSAErnOHtLT/M4vB",
"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": [
"<a href=\"https://colab.research.google.com/github/peelidramuk/C/blob/master/colab-playground/tf-demo.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "icDnYDhCguWA",
"outputId": "19f16527-5eb9-493b-bc69-e02abfbe0962"
},
"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 | 26.46 MiB/s, done.\n",
"Resolving deltas: 100% (72763/72763), 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": "IVGsnvB0g9rO",
"outputId": "32fcb4ea-558e-4ea6-ad2b-9e98b0684867"
},
"execution_count": null,
"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": "kmQuUrsThdsK",
"outputId": "43585332-1bf7-4395-e895-0d946efc52b7"
},
"execution_count": null,
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"text": [
"Tensorflow version 2.18.0\n"
]
}
]
}
]
}
1 change: 1 addition & 0 deletions contributing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
something