Skip to content

Instantly share code, notes, and snippets.

@hugozanini
Created December 22, 2020 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hugozanini/9e2885c274568b0dcbe8bf0ca8ff88c7 to your computer and use it in GitHub Desktop.
Save hugozanini/9e2885c274568b0dcbe8bf0ca8ff88c7 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"name": "Publishing.ipynb",
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
}
},
"cells": [
{
"cell_type": "code",
"metadata": {
"id": "qafiqrBJG8pF",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "e5964b99-4349-437d-80db-f1bcad68d170"
},
"source": [
"%cd /content\r\n",
"!wget http://download.tensorflow.org/models/object_detection/classification/tf2/20200710/mobilenet_v2.tar.gz\r\n",
"!tar -xvf mobilenet_v2.tar.gz\r\n",
"!rm mobilenet_v2.tar.gz"
],
"execution_count": null,
"outputs": [
{
"output_type": "stream",
"text": [
"/content\n",
"mobilenet_v2.tar.gz 100%[===================>] 8.01M 30.8MB/s in 0.3s \n",
"\n",
"2020-12-22 19:20:36 (30.8 MB/s) - ‘mobilenet_v2.tar.gz’ saved [8404070/8404070]\n",
"\n",
"mobilenet_v2/\n",
"mobilenet_v2/mobilenet_v2.ckpt-1.index\n",
"mobilenet_v2/checkpoint\n",
"mobilenet_v2/mobilenet_v2.ckpt-1.data-00001-of-00002\n",
"mobilenet_v2/mobilenet_v2.ckpt-1.data-00000-of-00002\n"
],
"name": "stdout"
}
]
},
{
"cell_type": "code",
"metadata": {
"id": "6zRvdLDfRGA_",
"colab": {
"base_uri": "https://localhost:8080/"
},
"outputId": "56451c62-cda3-49cd-8744-3ad7337497ef"
},
"source": [
"!wget https://raw.githubusercontent.com/tensorflow/models/master/research/object_detection/configs/tf2/ssd_mobilenet_v2_320x320_coco17_tpu-8.config\r\n",
"!mv ssd_mobilenet_v2_320x320_coco17_tpu-8.config mobilenet_v2.config"
],
"execution_count": null,
"outputs": [
{
"output_type": "stream",
"text": [
"ssd_mobilenet_v2_32 100%[===================>] 4.38K --.-KB/s in 0s \n",
"\n",
"2020-12-22 19:20:42 (77.4 MB/s) - ‘ssd_mobilenet_v2_320x320_coco17_tpu-8.config’ saved [4484/4484]\n",
"\n"
],
"name": "stdout"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment