Last active
March 6, 2019 14:47
-
-
Save hamanishi/8cf1a1b7b995051ec57e9d22fa4acf0a to your computer and use it in GitHub Desktop.
tfjs_converterをsourceからいれる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nbformat": 4, | |
"nbformat_minor": 0, | |
"metadata": { | |
"colab": { | |
"name": "tfjs_converter_source.ipynb", | |
"version": "0.3.2", | |
"provenance": [], | |
"collapsed_sections": [], | |
"include_colab_link": true | |
}, | |
"kernelspec": { | |
"name": "python3", | |
"display_name": "Python 3" | |
}, | |
"accelerator": "GPU" | |
}, | |
"cells": [ | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"id": "view-in-github", | |
"colab_type": "text" | |
}, | |
"source": [ | |
"<a href=\"https://colab.research.google.com/gist/hamanishi/8cf1a1b7b995051ec57e9d22fa4acf0a/tfjs_converter_source.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>" | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "RtFoOEKjaveR", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 255 | |
}, | |
"outputId": "68bc4e49-b2b6-4eb6-bd07-a6110bbdfa86" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"#yarnっていうのこんふりくとしてるのではずしておく https://github.com/SemkoDev/field.cli/issues/6\n", | |
"!apt purge cmdtest" | |
], | |
"execution_count": 14, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Reading package lists... Done\n", | |
"Building dependency tree \n", | |
"Reading state information... Done\n", | |
"The following packages were automatically installed and are no longer required:\n", | |
" python-chardet python-cliapp python-markdown python-pkg-resources\n", | |
" python-pygments python-ttystatus python-yaml\n", | |
"Use 'apt autoremove' to remove them.\n", | |
"The following packages will be REMOVED:\n", | |
" cmdtest*\n", | |
"0 upgraded, 0 newly installed, 1 to remove and 47 not upgraded.\n", | |
"After this operation, 98.3 kB disk space will be freed.\n", | |
"(Reading database ... 136266 files and directories currently installed.)\n", | |
"Removing cmdtest (0.32-1) ...\n", | |
"Processing triggers for man-db (2.8.3-2ubuntu0.1) ...\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "pnbMp0JsaXEB", | |
"colab_type": "text" | |
}, | |
"cell_type": "markdown", | |
"source": [ | |
"nodeいれるhttps://github.com/nodesource/distributions/blob/master/README.md#deb" | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "6GMVOlpgaMZt", | |
"colab_type": "code", | |
"colab": {} | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!curl -sL https://deb.nodesource.com/setup_11.x | bash \n", | |
"!apt-get install -y nodejs" | |
], | |
"execution_count": 0, | |
"outputs": [] | |
}, | |
{ | |
"metadata": { | |
"id": "mXjV4YZOZHRr", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 255 | |
}, | |
"outputId": "dc6a64e4-9ce1-4b80-d997-0effa5f9036d" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"#npm経由でいれる\n", | |
"!npm install --global yarn" | |
], | |
"execution_count": 16, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"\u001b[K\u001b[?25h/usr/bin/yarn -> /usr/lib/node_modules/yarn/bin/yarn.js\n", | |
"/usr/bin/yarnpkg -> /usr/lib/node_modules/yarn/bin/yarn.js\n", | |
"+ yarn@1.13.0\n", | |
"updated 1 package in 0.239s\n", | |
"\n", | |
"\u001b[33m\u001b[39m\n", | |
"\u001b[33m ╭───────────────────────────────────────────────────────────────╮\u001b[39m\n", | |
" \u001b[33m│\u001b[39m \u001b[33m│\u001b[39m\n", | |
" \u001b[33m│\u001b[39m New \u001b[33mminor\u001b[39m version of npm available! \u001b[31m6.7.0\u001b[39m → \u001b[32m6.8.0\u001b[39m \u001b[33m│\u001b[39m\n", | |
" \u001b[33m│\u001b[39m \u001b[33mChangelog:\u001b[39m \u001b[36mhttps://github.com/npm/cli/releases/tag/v6.8.0\u001b[39m \u001b[33m│\u001b[39m\n", | |
" \u001b[33m│\u001b[39m Run \u001b[32mnpm install -g npm\u001b[39m to update! \u001b[33m│\u001b[39m\n", | |
" \u001b[33m│\u001b[39m \u001b[33m│\u001b[39m\n", | |
"\u001b[33m ╰───────────────────────────────────────────────────────────────╯\u001b[39m\n", | |
"\u001b[33m\u001b[39m\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "k0O58pwPalDE", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 34 | |
}, | |
"outputId": "47c2ec01-44c9-4713-f140-7cb77781622b" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!yarn --version" | |
], | |
"execution_count": 17, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"1.13.0\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "3r_0Wr6SWl5S", | |
"colab_type": "code", | |
"colab": {} | |
}, | |
"cell_type": "code", | |
"source": [ | |
"#!apt-get update && apt-get install yarn\n", | |
"#!yarn --version" | |
], | |
"execution_count": 0, | |
"outputs": [] | |
}, | |
{ | |
"metadata": { | |
"id": "nomJrSaSSN4p", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 290 | |
}, | |
"outputId": "9d7b312a-c436-4741-e93a-420b59af3ac8" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!wget -O tfjsconvert.tar.gz https://github.com/tensorflow/tfjs-converter/archive/v1.0.0.tar.gz" | |
], | |
"execution_count": 2, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"--2019-03-06 14:21:19-- https://github.com/tensorflow/tfjs-converter/archive/v1.0.0.tar.gz\n", | |
"Resolving github.com (github.com)... 192.30.253.113, 192.30.253.112\n", | |
"Connecting to github.com (github.com)|192.30.253.113|:443... connected.\n", | |
"HTTP request sent, awaiting response... 302 Found\n", | |
"Location: https://codeload.github.com/tensorflow/tfjs-converter/tar.gz/v1.0.0 [following]\n", | |
"--2019-03-06 14:21:19-- https://codeload.github.com/tensorflow/tfjs-converter/tar.gz/v1.0.0\n", | |
"Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121\n", | |
"Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected.\n", | |
"HTTP request sent, awaiting response... 200 OK\n", | |
"Length: unspecified [application/x-gzip]\n", | |
"Saving to: ‘tfjsconvert.tar.gz’\n", | |
"\n", | |
"tfjsconvert.tar.gz [ <=> ] 645.61K 699KB/s in 0.9s \n", | |
"\n", | |
"2019-03-06 14:21:21 (699 KB/s) - ‘tfjsconvert.tar.gz’ saved [661108]\n", | |
"\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "7TurxP0aSaUu", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 2794 | |
}, | |
"outputId": "77ab9c94-466c-4973-c9ca-2a14ebeab9d9" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!tar -zxf tfjsconvert.tar.gz" | |
], | |
"execution_count": 3, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"tfjs-converter-1.0.0/\n", | |
"tfjs-converter-1.0.0/.babelrc\n", | |
"tfjs-converter-1.0.0/.gitignore\n", | |
"tfjs-converter-1.0.0/.npmignore\n", | |
"tfjs-converter-1.0.0/.travis.yml\n", | |
"tfjs-converter-1.0.0/.vscode/\n", | |
"tfjs-converter-1.0.0/.vscode/settings.json\n", | |
"tfjs-converter-1.0.0/.vscode/tasks.json\n", | |
"tfjs-converter-1.0.0/DEVELOPMENT.md\n", | |
"tfjs-converter-1.0.0/ISSUE_TEMPLATE.md\n", | |
"tfjs-converter-1.0.0/LICENSE\n", | |
"tfjs-converter-1.0.0/README.md\n", | |
"tfjs-converter-1.0.0/demo/\n", | |
"tfjs-converter-1.0.0/demo/control_flow/\n", | |
"tfjs-converter-1.0.0/demo/control_flow/README.md\n", | |
"tfjs-converter-1.0.0/demo/control_flow/index.html\n", | |
"tfjs-converter-1.0.0/demo/control_flow/loop_model.js\n", | |
"tfjs-converter-1.0.0/demo/mobilenet/\n", | |
"tfjs-converter-1.0.0/demo/mobilenet/README.md\n", | |
"tfjs-converter-1.0.0/demo/mobilenet/cat.jpg\n", | |
"tfjs-converter-1.0.0/demo/mobilenet/imagenet_classes.js\n", | |
"tfjs-converter-1.0.0/demo/mobilenet/index.html\n", | |
"tfjs-converter-1.0.0/demo/mobilenet/index.js\n", | |
"tfjs-converter-1.0.0/demo/mobilenet/mobilenet.js\n", | |
"tfjs-converter-1.0.0/demo/package.json\n", | |
"tfjs-converter-1.0.0/demo/ssd/\n", | |
"tfjs-converter-1.0.0/demo/ssd/classes.js\n", | |
"tfjs-converter-1.0.0/demo/ssd/image1.jpg\n", | |
"tfjs-converter-1.0.0/demo/ssd/image2.jpg\n", | |
"tfjs-converter-1.0.0/demo/ssd/index.html\n", | |
"tfjs-converter-1.0.0/demo/ssd/index.js\n", | |
"tfjs-converter-1.0.0/demo/yarn.lock\n", | |
"tfjs-converter-1.0.0/docs/\n", | |
"tfjs-converter-1.0.0/docs/supported_ops.md\n", | |
"tfjs-converter-1.0.0/karma.conf.js\n", | |
"tfjs-converter-1.0.0/package.json\n", | |
"tfjs-converter-1.0.0/python/\n", | |
"tfjs-converter-1.0.0/python/.pylintrc\n", | |
"tfjs-converter-1.0.0/python/BUILD\n", | |
"tfjs-converter-1.0.0/python/MANIFEST.in\n", | |
"tfjs-converter-1.0.0/python/README.md\n", | |
"tfjs-converter-1.0.0/python/WORKSPACE\n", | |
"tfjs-converter-1.0.0/python/build-pip-package.sh\n", | |
"tfjs-converter-1.0.0/python/requirements-dev.txt\n", | |
"tfjs-converter-1.0.0/python/requirements.txt\n", | |
"tfjs-converter-1.0.0/python/run-python-tests.sh\n", | |
"tfjs-converter-1.0.0/python/setup.cfg\n", | |
"tfjs-converter-1.0.0/python/setup.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/BUILD\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/__init__.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/BUILD\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/__init__.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/common.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/converter.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/converter_test.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/keras_h5_conversion.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/keras_h5_conversion_test.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/keras_tfjs_loader.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/keras_tfjs_loader_test.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/tf_saved_model_conversion.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/converters/tf_saved_model_conversion_test.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/quantization.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/quantization_test.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/read_weights.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/read_weights_test.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/version.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/write_weights.py\n", | |
"tfjs-converter-1.0.0/python/tensorflowjs/write_weights_test.py\n", | |
"tfjs-converter-1.0.0/python/test_pip_package.py\n", | |
"tfjs-converter-1.0.0/rollup.config.google.js\n", | |
"tfjs-converter-1.0.0/rollup.config.js\n", | |
"tfjs-converter-1.0.0/scripts/\n", | |
"tfjs-converter-1.0.0/scripts/build-npm.sh\n", | |
"tfjs-converter-1.0.0/scripts/gen_doc.ts\n", | |
"tfjs-converter-1.0.0/scripts/gen_json.ts\n", | |
"tfjs-converter-1.0.0/scripts/make-version\n", | |
"tfjs-converter-1.0.0/scripts/publish-npm.sh\n", | |
"tfjs-converter-1.0.0/scripts/tag-version\n", | |
"tfjs-converter-1.0.0/src/\n", | |
"tfjs-converter-1.0.0/src/data/\n", | |
"tfjs-converter-1.0.0/src/data/api.proto\n", | |
"tfjs-converter-1.0.0/src/data/compiled_api.ts\n", | |
"tfjs-converter-1.0.0/src/data/types.ts\n", | |
"tfjs-converter-1.0.0/src/executor/\n", | |
"tfjs-converter-1.0.0/src/executor/execution_context.ts\n", | |
"tfjs-converter-1.0.0/src/executor/execution_context_test.ts\n", | |
"tfjs-converter-1.0.0/src/executor/graph_executor.ts\n", | |
"tfjs-converter-1.0.0/src/executor/graph_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/executor/graph_model.ts\n", | |
"tfjs-converter-1.0.0/src/executor/graph_model_test.ts\n", | |
"tfjs-converter-1.0.0/src/executor/tensor_array.ts\n", | |
"tfjs-converter-1.0.0/src/executor/tensor_array_test.ts\n", | |
"tfjs-converter-1.0.0/src/index.ts\n", | |
"tfjs-converter-1.0.0/src/operations/\n", | |
"tfjs-converter-1.0.0/src/operations/executors/\n", | |
"tfjs-converter-1.0.0/src/operations/executors/arithmetic_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/arithmetic_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/basic_math_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/basic_math_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/control_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/control_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/convolution_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/convolution_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/creation_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/creation_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/dynamic_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/dynamic_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/evaluation_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/evaluation_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/graph_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/graph_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/image_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/image_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/logical_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/logical_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/matrices_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/matrices_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/normalization_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/normalization_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/reduction_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/reduction_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/slice_join_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/slice_join_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/spectral_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/spectral_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/test_helper.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/transformation_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/transformation_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/executors/utils.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/arithmetic.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/basic_math.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/control.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/convolution.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/creation.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/dynamic.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/evaluation.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/graph.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/image.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/logical.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/matrices.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/normalization.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/op_list_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/reduction.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/slice_join.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/spectral.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_list/transformation.ts\n", | |
"tfjs-converter-1.0.0/src/operations/op_mapper_schema.ts\n", | |
"tfjs-converter-1.0.0/src/operations/operation_executor.ts\n", | |
"tfjs-converter-1.0.0/src/operations/operation_executor_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/operation_mapper.ts\n", | |
"tfjs-converter-1.0.0/src/operations/operation_mapper_test.ts\n", | |
"tfjs-converter-1.0.0/src/operations/types.ts\n", | |
"tfjs-converter-1.0.0/src/version.ts\n", | |
"tfjs-converter-1.0.0/src/version_test.ts\n", | |
"tfjs-converter-1.0.0/tools/\n", | |
"tfjs-converter-1.0.0/tools/compiled_api.js\n", | |
"tfjs-converter-1.0.0/tools/pb2json_converter.ts\n", | |
"tfjs-converter-1.0.0/tsconfig.json\n", | |
"tfjs-converter-1.0.0/tslint.json\n", | |
"tfjs-converter-1.0.0/yarn.lock\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "mmngn1u7SphL", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 68 | |
}, | |
"outputId": "c4e68eb6-c787-4b5e-c742-215d3db06ce2" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"import os\n", | |
"from os.path import exists, join, expanduser\n", | |
"\n", | |
"os.chdir(expanduser(\"/content/tfjs-converter-1.0.0/\"))\n", | |
"!pwd\n", | |
"\n", | |
"!yarn\n", | |
"\n", | |
"os.chdir(expanduser(\"/content/tfjs-converter-1.0.0/python\"))\n", | |
"!pwd" | |
], | |
"execution_count": 4, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"/content/tfjs-converter-1.0.0\n", | |
"ERROR: There are no scenarios; must have at least one.\n", | |
"/content/tfjs-converter-1.0.0/python\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "dCa4CiDgTK0j", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 1147 | |
}, | |
"outputId": "26873dff-8aff-4292-e932-b0271c042698" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!pip install -r requirements.txt" | |
], | |
"execution_count": 5, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Requirement already satisfied: h5py==2.8.0 in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 1)) (2.8.0)\n", | |
"Collecting keras==2.2.2 (from -r requirements.txt (line 2))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/34/7d/b1dedde8af99bd82f20ed7e9697aac0597de3049b1f786aa2aac3b9bd4da/Keras-2.2.2-py2.py3-none-any.whl (299kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 307kB 6.9MB/s \n", | |
"\u001b[?25hCollecting numpy==1.15.1 (from -r requirements.txt (line 3))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/fe/94/7049fed8373c52839c8cde619acaf2c9b83082b935e5aa8c0fa27a4a8bcc/numpy-1.15.1-cp36-cp36m-manylinux1_x86_64.whl (13.9MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 13.9MB 3.3MB/s \n", | |
"\u001b[?25hRequirement already satisfied: six==1.11.0 in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 4)) (1.11.0)\n", | |
"Collecting tensorflow==1.12.0 (from -r requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/22/cc/ca70b78087015d21c5f3f93694107f34ebccb3be9624385a911d4b52ecef/tensorflow-1.12.0-cp36-cp36m-manylinux1_x86_64.whl (83.1MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 83.1MB 461kB/s \n", | |
"\u001b[?25hCollecting tensorflow_hub==0.1.1 (from -r requirements.txt (line 6))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/5f/22/64f246ef80e64b1a13b2f463cefa44f397a51c49a303294f5f3d04ac39ac/tensorflow_hub-0.1.1-py2.py3-none-any.whl (52kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 61kB 22.6MB/s \n", | |
"\u001b[?25hCollecting keras-preprocessing==1.0.2 (from keras==2.2.2->-r requirements.txt (line 2))\n", | |
" Downloading https://files.pythonhosted.org/packages/71/26/1e778ebd737032749824d5cba7dbd3b0cf9234b87ab5ec79f5f0403ca7e9/Keras_Preprocessing-1.0.2-py2.py3-none-any.whl\n", | |
"Requirement already satisfied: pyyaml in /usr/local/lib/python3.6/dist-packages (from keras==2.2.2->-r requirements.txt (line 2)) (3.13)\n", | |
"Requirement already satisfied: scipy>=0.14 in /usr/local/lib/python3.6/dist-packages (from keras==2.2.2->-r requirements.txt (line 2)) (1.1.0)\n", | |
"Collecting keras-applications==1.0.4 (from keras==2.2.2->-r requirements.txt (line 2))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/54/90/8f327deaa37a71caddb59b7b4aaa9d4b3e90c0e76f8c2d1572005278ddc5/Keras_Applications-1.0.4-py2.py3-none-any.whl (43kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 51kB 22.4MB/s \n", | |
"\u001b[?25hRequirement already satisfied: gast>=0.2.0 in /usr/local/lib/python3.6/dist-packages (from tensorflow==1.12.0->-r requirements.txt (line 5)) (0.2.2)\n", | |
"Requirement already satisfied: astor>=0.6.0 in /usr/local/lib/python3.6/dist-packages (from tensorflow==1.12.0->-r requirements.txt (line 5)) (0.7.1)\n", | |
"Requirement already satisfied: grpcio>=1.8.6 in /usr/local/lib/python3.6/dist-packages (from tensorflow==1.12.0->-r requirements.txt (line 5)) (1.15.0)\n", | |
"Requirement already satisfied: protobuf>=3.6.1 in /usr/local/lib/python3.6/dist-packages (from tensorflow==1.12.0->-r requirements.txt (line 5)) (3.6.1)\n", | |
"Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.6/dist-packages (from tensorflow==1.12.0->-r requirements.txt (line 5)) (1.1.0)\n", | |
"Collecting tensorboard<1.13.0,>=1.12.0 (from tensorflow==1.12.0->-r requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/07/53/8d32ce9471c18f8d99028b7cef2e5b39ea8765bd7ef250ca05b490880971/tensorboard-1.12.2-py3-none-any.whl (3.0MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 3.1MB 11.1MB/s \n", | |
"\u001b[?25hRequirement already satisfied: absl-py>=0.1.6 in /usr/local/lib/python3.6/dist-packages (from tensorflow==1.12.0->-r requirements.txt (line 5)) (0.7.0)\n", | |
"Requirement already satisfied: wheel>=0.26 in /usr/local/lib/python3.6/dist-packages (from tensorflow==1.12.0->-r requirements.txt (line 5)) (0.33.1)\n", | |
"Requirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (from protobuf>=3.6.1->tensorflow==1.12.0->-r requirements.txt (line 5)) (40.8.0)\n", | |
"Requirement already satisfied: werkzeug>=0.11.10 in /usr/local/lib/python3.6/dist-packages (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->-r requirements.txt (line 5)) (0.14.1)\n", | |
"Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.6/dist-packages (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->-r requirements.txt (line 5)) (3.0.1)\n", | |
"\u001b[31mtensorflow 1.12.0 has requirement keras-applications>=1.0.6, but you'll have keras-applications 1.0.4 which is incompatible.\u001b[0m\n", | |
"\u001b[31mtensorflow 1.12.0 has requirement keras-preprocessing>=1.0.5, but you'll have keras-preprocessing 1.0.2 which is incompatible.\u001b[0m\n", | |
"\u001b[31mfeaturetools 0.4.1 has requirement pandas>=0.23.0, but you'll have pandas 0.22.0 which is incompatible.\u001b[0m\n", | |
"\u001b[31malbumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.8 which is incompatible.\u001b[0m\n", | |
"Installing collected packages: numpy, keras-preprocessing, keras-applications, keras, tensorboard, tensorflow, tensorflow-hub\n", | |
" Found existing installation: numpy 1.14.6\n", | |
" Uninstalling numpy-1.14.6:\n", | |
" Successfully uninstalled numpy-1.14.6\n", | |
" Found existing installation: Keras-Preprocessing 1.0.9\n", | |
" Uninstalling Keras-Preprocessing-1.0.9:\n", | |
" Successfully uninstalled Keras-Preprocessing-1.0.9\n", | |
" Found existing installation: Keras-Applications 1.0.7\n", | |
" Uninstalling Keras-Applications-1.0.7:\n", | |
" Successfully uninstalled Keras-Applications-1.0.7\n", | |
" Found existing installation: Keras 2.2.4\n", | |
" Uninstalling Keras-2.2.4:\n", | |
" Successfully uninstalled Keras-2.2.4\n", | |
" Found existing installation: tensorboard 1.13.0\n", | |
" Uninstalling tensorboard-1.13.0:\n", | |
" Successfully uninstalled tensorboard-1.13.0\n", | |
" Found existing installation: tensorflow 1.13.1\n", | |
" Uninstalling tensorflow-1.13.1:\n", | |
" Successfully uninstalled tensorflow-1.13.1\n", | |
" Found existing installation: tensorflow-hub 0.3.0\n", | |
" Uninstalling tensorflow-hub-0.3.0:\n", | |
" Successfully uninstalled tensorflow-hub-0.3.0\n", | |
"Successfully installed keras-2.2.2 keras-applications-1.0.4 keras-preprocessing-1.0.2 numpy-1.15.1 tensorboard-1.12.2 tensorflow-1.12.0 tensorflow-hub-0.1.1\n" | |
], | |
"name": "stdout" | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"application/vnd.colab-display-data+json": { | |
"pip_warning": { | |
"packages": [ | |
"numpy" | |
] | |
} | |
} | |
}, | |
"metadata": { | |
"tags": [] | |
} | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "DcXdYYuubWMf", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 102 | |
}, | |
"outputId": "e80f7ee2-ae97-4942-adc7-69bc36c31243" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!pip install virtualenv" | |
], | |
"execution_count": 19, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Collecting virtualenv\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/33/5d/314c760d4204f64e4a968275182b7751bd5c3249094757b39ba987dcfb5a/virtualenv-16.4.3-py2.py3-none-any.whl (2.0MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 2.0MB 14.8MB/s \n", | |
"\u001b[?25hInstalling collected packages: virtualenv\n", | |
"Successfully installed virtualenv-16.4.3\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "WeE8yzRqTNFL", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 8164 | |
}, | |
"outputId": "e81961f8-ed7a-4d66-e623-0015d3dfb354" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!rm -r hoge\n", | |
"!./build-pip-package.sh ./hoge/" | |
], | |
"execution_count": 20, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Using temporary directory: /tmp/tmp.kfRFg4qNMx\n", | |
"Copying ./tensorflowjs/quantization.py\n", | |
"Copying ./tensorflowjs/__init__.py\n", | |
"Copying ./tensorflowjs/write_weights.py\n", | |
"Copying ./tensorflowjs/converters/__init__.py\n", | |
"Copying ./tensorflowjs/converters/keras_h5_conversion.py\n", | |
"Copying ./tensorflowjs/converters/common.py\n", | |
"Copying ./tensorflowjs/converters/converter.py\n", | |
"Copying ./tensorflowjs/converters/tf_saved_model_conversion.py\n", | |
"Copying ./tensorflowjs/converters/keras_tfjs_loader.py\n", | |
"Copying ./tensorflowjs/read_weights.py\n", | |
"Copying ./tensorflowjs/version.py\n", | |
"Copying ./setup.py\n", | |
"Copying ./test_pip_package.py\n", | |
"\u001b[2K\u001b[1G\u001b[1myarn install v1.13.0\u001b[22m\n", | |
"\u001b[2K\u001b[1G\u001b[2m[1/4]\u001b[22m Resolving packages...\n", | |
"\u001b[1G\u001b[0K\u001b[2K\u001b[1G\u001b[2K\u001b[1G\u001b[32msuccess\u001b[39m Already up-to-date.\n", | |
"\u001b[2K\u001b[1GDone in 0.61s.\n", | |
"\u001b[2K\u001b[1G\u001b[1myarn run v1.13.0\u001b[22m\n", | |
"\u001b[2K\u001b[1G\u001b[2m$ ts-node ./scripts/gen_json.ts\u001b[22m\n", | |
"Generated python/tensorflowjs/op_list/arithmetic.json\n", | |
"Generated python/tensorflowjs/op_list/basic_math.json\n", | |
"Generated python/tensorflowjs/op_list/control.json\n", | |
"Generated python/tensorflowjs/op_list/convolution.json\n", | |
"Generated python/tensorflowjs/op_list/creation.json\n", | |
"Generated python/tensorflowjs/op_list/dynamic.json\n", | |
"Generated python/tensorflowjs/op_list/evaluation.json\n", | |
"Generated python/tensorflowjs/op_list/graph.json\n", | |
"Generated python/tensorflowjs/op_list/image.json\n", | |
"Generated python/tensorflowjs/op_list/logical.json\n", | |
"Generated python/tensorflowjs/op_list/matrices.json\n", | |
"Generated python/tensorflowjs/op_list/normalization.json\n", | |
"Ignored src/operations/op_list/op_list_test.ts\n", | |
"Generated python/tensorflowjs/op_list/reduction.json\n", | |
"Generated python/tensorflowjs/op_list/slice_join.json\n", | |
"Generated python/tensorflowjs/op_list/spectral.json\n", | |
"Generated python/tensorflowjs/op_list/transformation.json\n", | |
"Done!\n", | |
"\u001b[2K\u001b[1GDone in 1.25s.\n", | |
"\n", | |
"Copying JSON file: dynamic.json\n", | |
"Copying JSON file: matrices.json\n", | |
"Copying JSON file: creation.json\n", | |
"Copying JSON file: evaluation.json\n", | |
"Copying JSON file: slice_join.json\n", | |
"Copying JSON file: image.json\n", | |
"Copying JSON file: convolution.json\n", | |
"Copying JSON file: control.json\n", | |
"Copying JSON file: basic_math.json\n", | |
"Copying JSON file: reduction.json\n", | |
"Copying JSON file: graph.json\n", | |
"Copying JSON file: logical.json\n", | |
"Copying JSON file: normalization.json\n", | |
"Copying JSON file: transformation.json\n", | |
"Copying JSON file: arithmetic.json\n", | |
"Copying JSON file: spectral.json\n", | |
"\n", | |
"Copying requirements.txt\n", | |
"\n", | |
"Copying README.md\n", | |
"\n", | |
"Copying setup.cfg\n", | |
"\n", | |
"Running virtualenv with interpreter /usr/bin/python2\n", | |
"New python executable in /tmp/tmp.VtW7USZLdv/bin/python2\n", | |
"Also creating executable in /tmp/tmp.VtW7USZLdv/bin/python\n", | |
"Installing setuptools, pip, wheel...\n", | |
"done.\n", | |
"\n", | |
"Building wheel for python2: Python 2.7.15rc1 ...\n", | |
"\n", | |
"Collecting h5py==2.8.0 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 1))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/33/0c/1c5dfa85e05052aa5f50969d87c67a2128dc39a6f8ce459a503717e56bd0/h5py-2.8.0-cp27-cp27mu-manylinux1_x86_64.whl (2.7MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 2.7MB 9.8MB/s \n", | |
"\u001b[?25hCollecting keras==2.2.2 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
" Using cached https://files.pythonhosted.org/packages/34/7d/b1dedde8af99bd82f20ed7e9697aac0597de3049b1f786aa2aac3b9bd4da/Keras-2.2.2-py2.py3-none-any.whl\n", | |
"Collecting numpy==1.15.1 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 3))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/c9/16/1134977cc35d2f72dbe80efa75a8e989ac21289f8e7e2c9005444cd17cd5/numpy-1.15.1-cp27-cp27mu-manylinux1_x86_64.whl (13.8MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 13.8MB 2.4MB/s \n", | |
"\u001b[?25hCollecting six==1.11.0 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 4))\n", | |
" Downloading https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl\n", | |
"Collecting tensorflow==1.12.0 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/bd/68/ec26b2cb070a5760707ec8d9491a24e5be72f4885f265bb04abf70c0f9f1/tensorflow-1.12.0-cp27-cp27mu-manylinux1_x86_64.whl (83.1MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 83.1MB 364kB/s \n", | |
"\u001b[?25hCollecting tensorflow_hub==0.1.1 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 6))\n", | |
" Using cached https://files.pythonhosted.org/packages/5f/22/64f246ef80e64b1a13b2f463cefa44f397a51c49a303294f5f3d04ac39ac/tensorflow_hub-0.1.1-py2.py3-none-any.whl\n", | |
"Collecting scipy>=0.14 (from keras==2.2.2->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/81/39/f1457091d0a45a84a2bd7815e2cf6bd45d4fe240728e9ed567cbb17c8abe/scipy-1.2.1-cp27-cp27mu-manylinux1_x86_64.whl (24.8MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 24.8MB 1.4MB/s \n", | |
"\u001b[?25hCollecting keras-preprocessing==1.0.2 (from keras==2.2.2->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
" Using cached https://files.pythonhosted.org/packages/71/26/1e778ebd737032749824d5cba7dbd3b0cf9234b87ab5ec79f5f0403ca7e9/Keras_Preprocessing-1.0.2-py2.py3-none-any.whl\n", | |
"Collecting keras-applications==1.0.4 (from keras==2.2.2->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
" Using cached https://files.pythonhosted.org/packages/54/90/8f327deaa37a71caddb59b7b4aaa9d4b3e90c0e76f8c2d1572005278ddc5/Keras_Applications-1.0.4-py2.py3-none-any.whl\n", | |
"Collecting pyyaml (from keras==2.2.2->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz (270kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 276kB 14.6MB/s \n", | |
"\u001b[?25hCollecting grpcio>=1.8.6 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/b8/be/3bb6d8241b5ed1f8437169df53e7dd6ca986174e022585de15087a848c99/grpcio-1.19.0-cp27-cp27mu-manylinux1_x86_64.whl (10.7MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 10.7MB 2.8MB/s \n", | |
"\u001b[?25hCollecting mock>=2.0.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/e6/35/f187bdf23be87092bd0f1200d43d23076cee4d0dec109f195173fd3ebc79/mock-2.0.0-py2.py3-none-any.whl (56kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 61kB 22.5MB/s \n", | |
"\u001b[?25hCollecting enum34>=1.1.6 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Downloading https://files.pythonhosted.org/packages/c5/db/e56e6b4bbac7c4a06de1c50de6fe1ef3810018ae11732a50f15f62c7d050/enum34-1.1.6-py2-none-any.whl\n", | |
"Collecting protobuf>=3.6.1 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/65/31/00ba247814289a000f56d89cb0257448efdaa1b79aee62bfb974d0da2e8b/protobuf-3.7.0-cp27-cp27mu-manylinux1_x86_64.whl (1.2MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 1.2MB 11.8MB/s \n", | |
"\u001b[?25hCollecting gast>=0.2.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Downloading https://files.pythonhosted.org/packages/4e/35/11749bf99b2d4e3cceb4d55ca22590b0d7c2c62b9de38ac4a4a7f4687421/gast-0.2.2.tar.gz\n", | |
"Requirement already satisfied: wheel in /tmp/tmp.VtW7USZLdv/lib/python2.7/site-packages (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5)) (0.33.1)\n", | |
"Collecting absl-py>=0.1.6 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/31/bc/ab68120d1d89ae23b694a55fe2aece2f91194313b71f9b05a80b32d3c24b/absl-py-0.7.0.tar.gz (96kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 102kB 27.6MB/s \n", | |
"\u001b[?25hCollecting backports.weakref>=1.0rc1 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Downloading https://files.pythonhosted.org/packages/88/ec/f598b633c3d5ffe267aaada57d961c94fdfa183c5c3ebda2b6d151943db6/backports.weakref-1.0.post1-py2.py3-none-any.whl\n", | |
"Collecting tensorboard<1.13.0,>=1.12.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/51/ae/9840c4837c6f54034ac942b5344396e8c3d74686a9bd29beafdf633cc221/tensorboard-1.12.2-py2-none-any.whl (3.0MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 3.1MB 6.1MB/s \n", | |
"\u001b[?25hCollecting termcolor>=1.1.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Downloading https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz\n", | |
"Collecting astor>=0.6.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Downloading https://files.pythonhosted.org/packages/35/6b/11530768cac581a12952a2aad00e1526b89d242d0b9f59534ef6e6a1752f/astor-0.7.1-py2.py3-none-any.whl\n", | |
"Collecting futures>=2.2.0 (from grpcio>=1.8.6->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl\n", | |
"Collecting funcsigs>=1; python_version < \"3.3\" (from mock>=2.0.0->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Downloading https://files.pythonhosted.org/packages/69/cb/f5be453359271714c01b9bd06126eaf2e368f1fddfff30818754b5ac2328/funcsigs-1.0.2-py2.py3-none-any.whl\n", | |
"Collecting pbr>=0.11 (from mock>=2.0.0->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/14/09/12fe9a14237a6b7e0ba3a8d6fcf254bf4b10ec56a0185f73d651145e9222/pbr-5.1.3-py2.py3-none-any.whl (107kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 112kB 26.8MB/s \n", | |
"\u001b[?25hRequirement already satisfied: setuptools in /tmp/tmp.VtW7USZLdv/lib/python2.7/site-packages (from protobuf>=3.6.1->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5)) (40.8.0)\n", | |
"Collecting werkzeug>=0.11.10 (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 327kB 13.2MB/s \n", | |
"\u001b[?25hCollecting markdown>=2.6.8 (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/7a/6b/5600647404ba15545ec37d2f7f58844d690baf2f81f3a60b862e48f29287/Markdown-3.0.1-py2.py3-none-any.whl (89kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 92kB 26.2MB/s \n", | |
"\u001b[?25hBuilding wheels for collected packages: pyyaml, gast, absl-py, termcolor\n", | |
" Building wheel for pyyaml (setup.py) ... \u001b[?25ldone\n", | |
"\u001b[?25h Stored in directory: /root/.cache/pip/wheels/ad/da/0c/74eb680767247273e2cf2723482cb9c924fe70af57c334513f\n", | |
" Building wheel for gast (setup.py) ... \u001b[?25ldone\n", | |
"\u001b[?25h Stored in directory: /root/.cache/pip/wheels/5c/2e/7e/a1d4d4fcebe6c381f378ce7743a3ced3699feb89bcfbdadadd\n", | |
" Building wheel for absl-py (setup.py) ... \u001b[?25ldone\n", | |
"\u001b[?25h Stored in directory: /root/.cache/pip/wheels/90/db/f8/2c3101f72ef1ad434e4662853174126ce30201a3e163dcbeca\n", | |
" Building wheel for termcolor (setup.py) ... \u001b[?25ldone\n", | |
"\u001b[?25h Stored in directory: /root/.cache/pip/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6\n", | |
"Successfully built pyyaml gast absl-py termcolor\n", | |
"\u001b[31mtensorflow 1.12.0 has requirement keras-applications>=1.0.6, but you'll have keras-applications 1.0.4 which is incompatible.\u001b[0m\n", | |
"\u001b[31mtensorflow 1.12.0 has requirement keras-preprocessing>=1.0.5, but you'll have keras-preprocessing 1.0.2 which is incompatible.\u001b[0m\n", | |
"Installing collected packages: numpy, six, h5py, scipy, keras-preprocessing, keras-applications, pyyaml, keras, enum34, futures, grpcio, funcsigs, pbr, mock, protobuf, gast, absl-py, backports.weakref, werkzeug, markdown, tensorboard, termcolor, astor, tensorflow, tensorflow-hub\n", | |
"Successfully installed absl-py-0.7.0 astor-0.7.1 backports.weakref-1.0.post1 enum34-1.1.6 funcsigs-1.0.2 futures-3.2.0 gast-0.2.2 grpcio-1.19.0 h5py-2.8.0 keras-2.2.2 keras-applications-1.0.4 keras-preprocessing-1.0.2 markdown-3.0.1 mock-2.0.0 numpy-1.15.1 pbr-5.1.3 protobuf-3.7.0 pyyaml-3.13 scipy-1.2.1 six-1.11.0 tensorboard-1.12.2 tensorflow-1.12.0 tensorflow-hub-0.1.1 termcolor-1.1.0 werkzeug-0.14.1\n", | |
"\n", | |
"Building wheel for Python 2.7.15rc1 ...\n", | |
"\n", | |
"Using TensorFlow backend.\n", | |
"running bdist_wheel\n", | |
"running build\n", | |
"running build_py\n", | |
"file tensorflowjs.py (for module tensorflowjs) not found\n", | |
"file tensorflowjs/converters.py (for module tensorflowjs.converters) not found\n", | |
"creating build\n", | |
"creating build/lib.linux-x86_64-2.7\n", | |
"creating build/lib.linux-x86_64-2.7/tensorflowjs\n", | |
"copying tensorflowjs/__init__.py -> build/lib.linux-x86_64-2.7/tensorflowjs\n", | |
"copying tensorflowjs/version.py -> build/lib.linux-x86_64-2.7/tensorflowjs\n", | |
"copying tensorflowjs/quantization.py -> build/lib.linux-x86_64-2.7/tensorflowjs\n", | |
"copying tensorflowjs/read_weights.py -> build/lib.linux-x86_64-2.7/tensorflowjs\n", | |
"copying tensorflowjs/write_weights.py -> build/lib.linux-x86_64-2.7/tensorflowjs\n", | |
"creating build/lib.linux-x86_64-2.7/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/__init__.py -> build/lib.linux-x86_64-2.7/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/common.py -> build/lib.linux-x86_64-2.7/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/converter.py -> build/lib.linux-x86_64-2.7/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/keras_h5_conversion.py -> build/lib.linux-x86_64-2.7/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/keras_tfjs_loader.py -> build/lib.linux-x86_64-2.7/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/tf_saved_model_conversion.py -> build/lib.linux-x86_64-2.7/tensorflowjs/converters\n", | |
"package init file 'tensorflowjs/op_list/__init__.py' not found (or not a regular file)\n", | |
"running egg_info\n", | |
"creating tensorflowjs.egg-info\n", | |
"writing requirements to tensorflowjs.egg-info/requires.txt\n", | |
"writing tensorflowjs.egg-info/PKG-INFO\n", | |
"writing top-level names to tensorflowjs.egg-info/top_level.txt\n", | |
"writing dependency_links to tensorflowjs.egg-info/dependency_links.txt\n", | |
"writing entry points to tensorflowjs.egg-info/entry_points.txt\n", | |
"writing manifest file 'tensorflowjs.egg-info/SOURCES.txt'\n", | |
"file tensorflowjs.py (for module tensorflowjs) not found\n", | |
"file tensorflowjs/converters.py (for module tensorflowjs.converters) not found\n", | |
"reading manifest file 'tensorflowjs.egg-info/SOURCES.txt'\n", | |
"writing manifest file 'tensorflowjs.egg-info/SOURCES.txt'\n", | |
"creating build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/dynamic.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/matrices.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/creation.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/evaluation.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/slice_join.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/image.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/convolution.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/control.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/basic_math.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/reduction.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/graph.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/logical.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/normalization.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/transformation.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/arithmetic.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/spectral.json -> build/lib.linux-x86_64-2.7/tensorflowjs/op_list\n", | |
"file tensorflowjs.py (for module tensorflowjs) not found\n", | |
"file tensorflowjs/converters.py (for module tensorflowjs.converters) not found\n", | |
"installing to build/bdist.linux-x86_64/wheel\n", | |
"running install\n", | |
"running install_lib\n", | |
"creating build/bdist.linux-x86_64\n", | |
"creating build/bdist.linux-x86_64/wheel\n", | |
"creating build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/quantization.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"creating build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/dynamic.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/matrices.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/creation.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/evaluation.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/slice_join.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/image.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/convolution.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/control.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/basic_math.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/reduction.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/graph.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/logical.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/normalization.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/transformation.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/arithmetic.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/op_list/spectral.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/__init__.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/write_weights.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"creating build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/converters/__init__.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/converters/keras_h5_conversion.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/converters/common.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/converters/converter.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/converters/tf_saved_model_conversion.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/converters/keras_tfjs_loader.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/read_weights.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"copying build/lib.linux-x86_64-2.7/tensorflowjs/version.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"running install_egg_info\n", | |
"Copying tensorflowjs.egg-info to build/bdist.linux-x86_64/wheel/tensorflowjs-1.0.0-py2.7.egg-info\n", | |
"running install_scripts\n", | |
"creating build/bdist.linux-x86_64/wheel/tensorflowjs-1.0.0.dist-info/WHEEL\n", | |
"creating 'dist/tensorflowjs-1.0.0-py2-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it\n", | |
"adding 'tensorflowjs/__init__.py'\n", | |
"adding 'tensorflowjs/quantization.py'\n", | |
"adding 'tensorflowjs/read_weights.py'\n", | |
"adding 'tensorflowjs/version.py'\n", | |
"adding 'tensorflowjs/write_weights.py'\n", | |
"adding 'tensorflowjs/converters/__init__.py'\n", | |
"adding 'tensorflowjs/converters/common.py'\n", | |
"adding 'tensorflowjs/converters/converter.py'\n", | |
"adding 'tensorflowjs/converters/keras_h5_conversion.py'\n", | |
"adding 'tensorflowjs/converters/keras_tfjs_loader.py'\n", | |
"adding 'tensorflowjs/converters/tf_saved_model_conversion.py'\n", | |
"adding 'tensorflowjs/op_list/arithmetic.json'\n", | |
"adding 'tensorflowjs/op_list/basic_math.json'\n", | |
"adding 'tensorflowjs/op_list/control.json'\n", | |
"adding 'tensorflowjs/op_list/convolution.json'\n", | |
"adding 'tensorflowjs/op_list/creation.json'\n", | |
"adding 'tensorflowjs/op_list/dynamic.json'\n", | |
"adding 'tensorflowjs/op_list/evaluation.json'\n", | |
"adding 'tensorflowjs/op_list/graph.json'\n", | |
"adding 'tensorflowjs/op_list/image.json'\n", | |
"adding 'tensorflowjs/op_list/logical.json'\n", | |
"adding 'tensorflowjs/op_list/matrices.json'\n", | |
"adding 'tensorflowjs/op_list/normalization.json'\n", | |
"adding 'tensorflowjs/op_list/reduction.json'\n", | |
"adding 'tensorflowjs/op_list/slice_join.json'\n", | |
"adding 'tensorflowjs/op_list/spectral.json'\n", | |
"adding 'tensorflowjs/op_list/transformation.json'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/METADATA'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/WHEEL'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/entry_points.txt'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/top_level.txt'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/RECORD'\n", | |
"removing build/bdist.linux-x86_64/wheel\n", | |
"\n", | |
"Generated wheel file(s) in /content/tfjs-converter-1.0.0/python/hoge :\n", | |
" tensorflowjs-1.0.0-py2-none-any.whl\n", | |
"Already using interpreter /usr/bin/python3\n", | |
"Using base prefix '/usr'\n", | |
"New python executable in /tmp/tmp.TWx8UD7iob/bin/python3\n", | |
"Also creating executable in /tmp/tmp.TWx8UD7iob/bin/python\n", | |
"Installing setuptools, pip, wheel...\n", | |
"done.\n", | |
"\n", | |
"Building wheel for python3: Python 3.6.7 ...\n", | |
"\n", | |
"Collecting h5py==2.8.0 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 1))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/8e/cb/726134109e7bd71d98d1fcc717ffe051767aac42ede0e7326fd1787e5d64/h5py-2.8.0-cp36-cp36m-manylinux1_x86_64.whl (2.8MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 2.8MB 12.0MB/s \n", | |
"\u001b[?25hCollecting keras==2.2.2 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
" Using cached https://files.pythonhosted.org/packages/34/7d/b1dedde8af99bd82f20ed7e9697aac0597de3049b1f786aa2aac3b9bd4da/Keras-2.2.2-py2.py3-none-any.whl\n", | |
"Collecting numpy==1.15.1 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 3))\n", | |
" Using cached https://files.pythonhosted.org/packages/fe/94/7049fed8373c52839c8cde619acaf2c9b83082b935e5aa8c0fa27a4a8bcc/numpy-1.15.1-cp36-cp36m-manylinux1_x86_64.whl\n", | |
"Collecting six==1.11.0 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 4))\n", | |
" Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl\n", | |
"Collecting tensorflow==1.12.0 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Using cached https://files.pythonhosted.org/packages/22/cc/ca70b78087015d21c5f3f93694107f34ebccb3be9624385a911d4b52ecef/tensorflow-1.12.0-cp36-cp36m-manylinux1_x86_64.whl\n", | |
"Collecting tensorflow_hub==0.1.1 (from -r /content/tfjs-converter-1.0.0/python/requirements.txt (line 6))\n", | |
" Using cached https://files.pythonhosted.org/packages/5f/22/64f246ef80e64b1a13b2f463cefa44f397a51c49a303294f5f3d04ac39ac/tensorflow_hub-0.1.1-py2.py3-none-any.whl\n", | |
"Collecting scipy>=0.14 (from keras==2.2.2->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/7f/5f/c48860704092933bf1c4c1574a8de1ffd16bf4fde8bab190d747598844b2/scipy-1.2.1-cp36-cp36m-manylinux1_x86_64.whl (24.8MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 24.8MB 2.0MB/s \n", | |
"\u001b[?25hCollecting keras-applications==1.0.4 (from keras==2.2.2->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
" Using cached https://files.pythonhosted.org/packages/54/90/8f327deaa37a71caddb59b7b4aaa9d4b3e90c0e76f8c2d1572005278ddc5/Keras_Applications-1.0.4-py2.py3-none-any.whl\n", | |
"Collecting keras-preprocessing==1.0.2 (from keras==2.2.2->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
" Using cached https://files.pythonhosted.org/packages/71/26/1e778ebd737032749824d5cba7dbd3b0cf9234b87ab5ec79f5f0403ca7e9/Keras_Preprocessing-1.0.2-py2.py3-none-any.whl\n", | |
"Collecting pyyaml (from keras==2.2.2->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 2))\n", | |
" Using cached https://files.pythonhosted.org/packages/9e/a3/1d13970c3f36777c583f136c136f804d70f500168edc1edea6daa7200769/PyYAML-3.13.tar.gz\n", | |
"Collecting grpcio>=1.8.6 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/f4/dc/5503d89e530988eb7a1aed337dcb456ef8150f7c06132233bd9e41ec0215/grpcio-1.19.0-cp36-cp36m-manylinux1_x86_64.whl (10.8MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 10.8MB 3.2MB/s \n", | |
"\u001b[?25hRequirement already satisfied: wheel>=0.26 in /tmp/tmp.TWx8UD7iob/lib/python3.6/site-packages (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5)) (0.33.1)\n", | |
"Collecting tensorboard<1.13.0,>=1.12.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Using cached https://files.pythonhosted.org/packages/07/53/8d32ce9471c18f8d99028b7cef2e5b39ea8765bd7ef250ca05b490880971/tensorboard-1.12.2-py3-none-any.whl\n", | |
"Collecting protobuf>=3.6.1 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/c5/60/ca38e967360212ddbb004141a70f5f6d47296e1fba37964d8ac6cb631921/protobuf-3.7.0-cp36-cp36m-manylinux1_x86_64.whl (1.2MB)\n", | |
"\u001b[K 100% |████████████████████████████████| 1.2MB 12.6MB/s \n", | |
"\u001b[?25hCollecting astor>=0.6.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Using cached https://files.pythonhosted.org/packages/35/6b/11530768cac581a12952a2aad00e1526b89d242d0b9f59534ef6e6a1752f/astor-0.7.1-py2.py3-none-any.whl\n", | |
"Collecting gast>=0.2.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Using cached https://files.pythonhosted.org/packages/4e/35/11749bf99b2d4e3cceb4d55ca22590b0d7c2c62b9de38ac4a4a7f4687421/gast-0.2.2.tar.gz\n", | |
"Collecting absl-py>=0.1.6 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Using cached https://files.pythonhosted.org/packages/31/bc/ab68120d1d89ae23b694a55fe2aece2f91194313b71f9b05a80b32d3c24b/absl-py-0.7.0.tar.gz\n", | |
"Collecting termcolor>=1.1.0 (from tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Using cached https://files.pythonhosted.org/packages/8a/48/a76be51647d0eb9f10e2a4511bf3ffb8cc1e6b14e9e4fab46173aa79f981/termcolor-1.1.0.tar.gz\n", | |
"Collecting werkzeug>=0.11.10 (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl\n", | |
"Collecting markdown>=2.6.8 (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5))\n", | |
" Using cached https://files.pythonhosted.org/packages/7a/6b/5600647404ba15545ec37d2f7f58844d690baf2f81f3a60b862e48f29287/Markdown-3.0.1-py2.py3-none-any.whl\n", | |
"Requirement already satisfied: setuptools in /tmp/tmp.TWx8UD7iob/lib/python3.6/site-packages (from protobuf>=3.6.1->tensorflow==1.12.0->-r /content/tfjs-converter-1.0.0/python/requirements.txt (line 5)) (40.8.0)\n", | |
"Building wheels for collected packages: pyyaml, gast, absl-py, termcolor\n", | |
" Building wheel for pyyaml (setup.py) ... \u001b[?25ldone\n", | |
"\u001b[?25h Stored in directory: /root/.cache/pip/wheels/ad/da/0c/74eb680767247273e2cf2723482cb9c924fe70af57c334513f\n", | |
" Building wheel for gast (setup.py) ... \u001b[?25ldone\n", | |
"\u001b[?25h Stored in directory: /root/.cache/pip/wheels/5c/2e/7e/a1d4d4fcebe6c381f378ce7743a3ced3699feb89bcfbdadadd\n", | |
" Building wheel for absl-py (setup.py) ... \u001b[?25ldone\n", | |
"\u001b[?25h Stored in directory: /root/.cache/pip/wheels/90/db/f8/2c3101f72ef1ad434e4662853174126ce30201a3e163dcbeca\n", | |
" Building wheel for termcolor (setup.py) ... \u001b[?25ldone\n", | |
"\u001b[?25h Stored in directory: /root/.cache/pip/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6\n", | |
"Successfully built pyyaml gast absl-py termcolor\n", | |
"\u001b[31mtensorflow 1.12.0 has requirement keras-applications>=1.0.6, but you'll have keras-applications 1.0.4 which is incompatible.\u001b[0m\n", | |
"\u001b[31mtensorflow 1.12.0 has requirement keras-preprocessing>=1.0.5, but you'll have keras-preprocessing 1.0.2 which is incompatible.\u001b[0m\n", | |
"Installing collected packages: six, numpy, h5py, scipy, keras-applications, keras-preprocessing, pyyaml, keras, grpcio, protobuf, werkzeug, markdown, tensorboard, astor, gast, absl-py, termcolor, tensorflow, tensorflow-hub\n", | |
"Successfully installed absl-py-0.7.0 astor-0.7.1 gast-0.2.2 grpcio-1.19.0 h5py-2.8.0 keras-2.2.2 keras-applications-1.0.4 keras-preprocessing-1.0.2 markdown-3.0.1 numpy-1.15.1 protobuf-3.7.0 pyyaml-3.13 scipy-1.2.1 six-1.11.0 tensorboard-1.12.2 tensorflow-1.12.0 tensorflow-hub-0.1.1 termcolor-1.1.0 werkzeug-0.14.1\n", | |
"\n", | |
"Building wheel for Python 3.6.7 ...\n", | |
"\n", | |
"Using TensorFlow backend.\n", | |
"running bdist_wheel\n", | |
"running build\n", | |
"running build_py\n", | |
"file tensorflowjs.py (for module tensorflowjs) not found\n", | |
"file tensorflowjs/converters.py (for module tensorflowjs.converters) not found\n", | |
"creating build/lib\n", | |
"creating build/lib/tensorflowjs\n", | |
"copying tensorflowjs/__init__.py -> build/lib/tensorflowjs\n", | |
"copying tensorflowjs/version.py -> build/lib/tensorflowjs\n", | |
"copying tensorflowjs/quantization.py -> build/lib/tensorflowjs\n", | |
"copying tensorflowjs/read_weights.py -> build/lib/tensorflowjs\n", | |
"copying tensorflowjs/write_weights.py -> build/lib/tensorflowjs\n", | |
"creating build/lib/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/__init__.py -> build/lib/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/common.py -> build/lib/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/converter.py -> build/lib/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/keras_h5_conversion.py -> build/lib/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/keras_tfjs_loader.py -> build/lib/tensorflowjs/converters\n", | |
"copying tensorflowjs/converters/tf_saved_model_conversion.py -> build/lib/tensorflowjs/converters\n", | |
"package init file 'tensorflowjs/op_list/__init__.py' not found (or not a regular file)\n", | |
"running egg_info\n", | |
"writing tensorflowjs.egg-info/PKG-INFO\n", | |
"writing dependency_links to tensorflowjs.egg-info/dependency_links.txt\n", | |
"writing entry points to tensorflowjs.egg-info/entry_points.txt\n", | |
"writing requirements to tensorflowjs.egg-info/requires.txt\n", | |
"writing top-level names to tensorflowjs.egg-info/top_level.txt\n", | |
"file tensorflowjs.py (for module tensorflowjs) not found\n", | |
"file tensorflowjs/converters.py (for module tensorflowjs.converters) not found\n", | |
"reading manifest file 'tensorflowjs.egg-info/SOURCES.txt'\n", | |
"writing manifest file 'tensorflowjs.egg-info/SOURCES.txt'\n", | |
"creating build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/dynamic.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/matrices.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/creation.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/evaluation.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/slice_join.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/image.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/convolution.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/control.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/basic_math.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/reduction.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/graph.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/logical.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/normalization.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/transformation.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/arithmetic.json -> build/lib/tensorflowjs/op_list\n", | |
"copying tensorflowjs/op_list/spectral.json -> build/lib/tensorflowjs/op_list\n", | |
"file tensorflowjs.py (for module tensorflowjs) not found\n", | |
"file tensorflowjs/converters.py (for module tensorflowjs.converters) not found\n", | |
"installing to build/bdist.linux-x86_64/wheel\n", | |
"running install\n", | |
"running install_lib\n", | |
"creating build/bdist.linux-x86_64/wheel\n", | |
"creating build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"copying build/lib/tensorflowjs/quantization.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"creating build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/dynamic.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/matrices.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/creation.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/evaluation.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/slice_join.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/image.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/convolution.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/control.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/basic_math.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/reduction.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/graph.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/logical.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/normalization.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/transformation.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/arithmetic.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/op_list/spectral.json -> build/bdist.linux-x86_64/wheel/tensorflowjs/op_list\n", | |
"copying build/lib/tensorflowjs/__init__.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"copying build/lib/tensorflowjs/write_weights.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"creating build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib/tensorflowjs/converters/__init__.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib/tensorflowjs/converters/keras_h5_conversion.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib/tensorflowjs/converters/common.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib/tensorflowjs/converters/converter.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib/tensorflowjs/converters/tf_saved_model_conversion.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib/tensorflowjs/converters/keras_tfjs_loader.py -> build/bdist.linux-x86_64/wheel/tensorflowjs/converters\n", | |
"copying build/lib/tensorflowjs/read_weights.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"copying build/lib/tensorflowjs/version.py -> build/bdist.linux-x86_64/wheel/tensorflowjs\n", | |
"running install_egg_info\n", | |
"Copying tensorflowjs.egg-info to build/bdist.linux-x86_64/wheel/tensorflowjs-1.0.0-py3.6.egg-info\n", | |
"running install_scripts\n", | |
"creating build/bdist.linux-x86_64/wheel/tensorflowjs-1.0.0.dist-info/WHEEL\n", | |
"creating 'dist/tensorflowjs-1.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it\n", | |
"adding 'tensorflowjs/__init__.py'\n", | |
"adding 'tensorflowjs/quantization.py'\n", | |
"adding 'tensorflowjs/read_weights.py'\n", | |
"adding 'tensorflowjs/version.py'\n", | |
"adding 'tensorflowjs/write_weights.py'\n", | |
"adding 'tensorflowjs/converters/__init__.py'\n", | |
"adding 'tensorflowjs/converters/common.py'\n", | |
"adding 'tensorflowjs/converters/converter.py'\n", | |
"adding 'tensorflowjs/converters/keras_h5_conversion.py'\n", | |
"adding 'tensorflowjs/converters/keras_tfjs_loader.py'\n", | |
"adding 'tensorflowjs/converters/tf_saved_model_conversion.py'\n", | |
"adding 'tensorflowjs/op_list/arithmetic.json'\n", | |
"adding 'tensorflowjs/op_list/basic_math.json'\n", | |
"adding 'tensorflowjs/op_list/control.json'\n", | |
"adding 'tensorflowjs/op_list/convolution.json'\n", | |
"adding 'tensorflowjs/op_list/creation.json'\n", | |
"adding 'tensorflowjs/op_list/dynamic.json'\n", | |
"adding 'tensorflowjs/op_list/evaluation.json'\n", | |
"adding 'tensorflowjs/op_list/graph.json'\n", | |
"adding 'tensorflowjs/op_list/image.json'\n", | |
"adding 'tensorflowjs/op_list/logical.json'\n", | |
"adding 'tensorflowjs/op_list/matrices.json'\n", | |
"adding 'tensorflowjs/op_list/normalization.json'\n", | |
"adding 'tensorflowjs/op_list/reduction.json'\n", | |
"adding 'tensorflowjs/op_list/slice_join.json'\n", | |
"adding 'tensorflowjs/op_list/spectral.json'\n", | |
"adding 'tensorflowjs/op_list/transformation.json'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/METADATA'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/WHEEL'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/entry_points.txt'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/top_level.txt'\n", | |
"adding 'tensorflowjs-1.0.0.dist-info/RECORD'\n", | |
"removing build/bdist.linux-x86_64/wheel\n", | |
"\n", | |
"Generated wheel file(s) in /content/tfjs-converter-1.0.0/python/hoge :\n", | |
" tensorflowjs-1.0.0-py3-none-any.whl\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "RKVJUr2Ub8Zk", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 34 | |
}, | |
"outputId": "dffbd268-edaa-4228-bb75-ee0a380edd18" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!pwd" | |
], | |
"execution_count": 23, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"/content/tfjs-converter-1.0.0/python\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "4WREyKj9bq-Y", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 2001 | |
}, | |
"outputId": "9895f7dd-d428-426b-814f-8ee24a21efda" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!pip install --force-reinstall /content/tfjs-converter-1.0.0/python/hoge/tensorflowjs-1.0.0-py3-none-any.whl" | |
], | |
"execution_count": 31, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Processing ./hoge/tensorflowjs-1.0.0-py3-none-any.whl\n", | |
"Collecting keras==2.2.2 (from tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/34/7d/b1dedde8af99bd82f20ed7e9697aac0597de3049b1f786aa2aac3b9bd4da/Keras-2.2.2-py2.py3-none-any.whl\n", | |
"Collecting numpy==1.15.1 (from tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/fe/94/7049fed8373c52839c8cde619acaf2c9b83082b935e5aa8c0fa27a4a8bcc/numpy-1.15.1-cp36-cp36m-manylinux1_x86_64.whl\n", | |
"Collecting six==1.11.0 (from tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl\n", | |
"Collecting tensorflow-hub==0.1.1 (from tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/5f/22/64f246ef80e64b1a13b2f463cefa44f397a51c49a303294f5f3d04ac39ac/tensorflow_hub-0.1.1-py2.py3-none-any.whl\n", | |
"Collecting tensorflow==1.12.0 (from tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/22/cc/ca70b78087015d21c5f3f93694107f34ebccb3be9624385a911d4b52ecef/tensorflow-1.12.0-cp36-cp36m-manylinux1_x86_64.whl\n", | |
"Collecting h5py==2.8.0 (from tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/8e/cb/726134109e7bd71d98d1fcc717ffe051767aac42ede0e7326fd1787e5d64/h5py-2.8.0-cp36-cp36m-manylinux1_x86_64.whl\n", | |
"Collecting keras-preprocessing==1.0.2 (from keras==2.2.2->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/71/26/1e778ebd737032749824d5cba7dbd3b0cf9234b87ab5ec79f5f0403ca7e9/Keras_Preprocessing-1.0.2-py2.py3-none-any.whl\n", | |
"Collecting scipy>=0.14 (from keras==2.2.2->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/7f/5f/c48860704092933bf1c4c1574a8de1ffd16bf4fde8bab190d747598844b2/scipy-1.2.1-cp36-cp36m-manylinux1_x86_64.whl\n", | |
"Collecting keras-applications==1.0.4 (from keras==2.2.2->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/54/90/8f327deaa37a71caddb59b7b4aaa9d4b3e90c0e76f8c2d1572005278ddc5/Keras_Applications-1.0.4-py2.py3-none-any.whl\n", | |
"Collecting pyyaml (from keras==2.2.2->tensorflowjs==1.0.0)\n", | |
"Collecting protobuf>=3.4.0 (from tensorflow-hub==0.1.1->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/c5/60/ca38e967360212ddbb004141a70f5f6d47296e1fba37964d8ac6cb631921/protobuf-3.7.0-cp36-cp36m-manylinux1_x86_64.whl\n", | |
"Collecting astor>=0.6.0 (from tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/35/6b/11530768cac581a12952a2aad00e1526b89d242d0b9f59534ef6e6a1752f/astor-0.7.1-py2.py3-none-any.whl\n", | |
"Collecting grpcio>=1.8.6 (from tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/f4/dc/5503d89e530988eb7a1aed337dcb456ef8150f7c06132233bd9e41ec0215/grpcio-1.19.0-cp36-cp36m-manylinux1_x86_64.whl\n", | |
"Collecting tensorboard<1.13.0,>=1.12.0 (from tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/07/53/8d32ce9471c18f8d99028b7cef2e5b39ea8765bd7ef250ca05b490880971/tensorboard-1.12.2-py3-none-any.whl\n", | |
"Collecting gast>=0.2.0 (from tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
"Collecting termcolor>=1.1.0 (from tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
"Collecting wheel>=0.26 (from tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
" Downloading https://files.pythonhosted.org/packages/96/ba/a4702cbb6a3a485239fbe9525443446203f00771af9ac000fa3ef2788201/wheel-0.33.1-py2.py3-none-any.whl\n", | |
"Collecting absl-py>=0.1.6 (from tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
"Collecting setuptools (from protobuf>=3.4.0->tensorflow-hub==0.1.1->tensorflowjs==1.0.0)\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/d1/6a/4b2fcefd2ea0868810e92d519dacac1ddc64a2e53ba9e3422c3b62b378a6/setuptools-40.8.0-py2.py3-none-any.whl (575kB)\n", | |
"\u001b[K 100% |████████████████████████████████| 583kB 13.4MB/s \n", | |
"\u001b[?25hCollecting werkzeug>=0.11.10 (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/20/c4/12e3e56473e52375aa29c4764e70d1b8f3efa6682bef8d0aae04fe335243/Werkzeug-0.14.1-py2.py3-none-any.whl\n", | |
"Collecting markdown>=2.6.8 (from tensorboard<1.13.0,>=1.12.0->tensorflow==1.12.0->tensorflowjs==1.0.0)\n", | |
" Using cached https://files.pythonhosted.org/packages/7a/6b/5600647404ba15545ec37d2f7f58844d690baf2f81f3a60b862e48f29287/Markdown-3.0.1-py2.py3-none-any.whl\n", | |
"\u001b[31mtensorflow 1.12.0 has requirement keras-applications>=1.0.6, but you'll have keras-applications 1.0.4 which is incompatible.\u001b[0m\n", | |
"\u001b[31mtensorflow 1.12.0 has requirement keras-preprocessing>=1.0.5, but you'll have keras-preprocessing 1.0.2 which is incompatible.\u001b[0m\n", | |
"\u001b[31mjupyter-console 6.0.0 has requirement prompt-toolkit<2.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.15 which is incompatible.\u001b[0m\n", | |
"\u001b[31mfeaturetools 0.4.1 has requirement pandas>=0.23.0, but you'll have pandas 0.22.0 which is incompatible.\u001b[0m\n", | |
"\u001b[31malbumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.8 which is incompatible.\u001b[0m\n", | |
"Installing collected packages: six, numpy, scipy, keras-preprocessing, h5py, keras-applications, pyyaml, keras, setuptools, protobuf, tensorflow-hub, astor, grpcio, wheel, werkzeug, markdown, tensorboard, gast, termcolor, absl-py, tensorflow, tensorflowjs\n", | |
" Found existing installation: six 1.11.0\n", | |
" Uninstalling six-1.11.0:\n", | |
" Successfully uninstalled six-1.11.0\n", | |
" Found existing installation: numpy 1.15.1\n", | |
" Uninstalling numpy-1.15.1:\n", | |
" Successfully uninstalled numpy-1.15.1\n", | |
" Found existing installation: scipy 1.1.0\n", | |
" Uninstalling scipy-1.1.0:\n", | |
" Successfully uninstalled scipy-1.1.0\n", | |
" Found existing installation: Keras-Preprocessing 1.0.2\n", | |
" Uninstalling Keras-Preprocessing-1.0.2:\n", | |
" Successfully uninstalled Keras-Preprocessing-1.0.2\n", | |
" Found existing installation: h5py 2.8.0\n", | |
" Uninstalling h5py-2.8.0:\n", | |
" Successfully uninstalled h5py-2.8.0\n", | |
" Found existing installation: Keras-Applications 1.0.4\n", | |
" Uninstalling Keras-Applications-1.0.4:\n", | |
" Successfully uninstalled Keras-Applications-1.0.4\n", | |
" Found existing installation: PyYAML 3.13\n", | |
" Uninstalling PyYAML-3.13:\n", | |
" Successfully uninstalled PyYAML-3.13\n", | |
" Found existing installation: Keras 2.2.2\n", | |
" Uninstalling Keras-2.2.2:\n", | |
" Successfully uninstalled Keras-2.2.2\n", | |
" Found existing installation: setuptools 40.8.0\n", | |
" Uninstalling setuptools-40.8.0:\n", | |
" Successfully uninstalled setuptools-40.8.0\n", | |
" Found existing installation: protobuf 3.6.1\n", | |
" Uninstalling protobuf-3.6.1:\n", | |
" Successfully uninstalled protobuf-3.6.1\n", | |
" Found existing installation: tensorflow-hub 0.1.1\n", | |
" Uninstalling tensorflow-hub-0.1.1:\n", | |
" Successfully uninstalled tensorflow-hub-0.1.1\n", | |
" Found existing installation: astor 0.7.1\n", | |
" Uninstalling astor-0.7.1:\n", | |
" Successfully uninstalled astor-0.7.1\n", | |
" Found existing installation: grpcio 1.15.0\n", | |
" Uninstalling grpcio-1.15.0:\n", | |
" Successfully uninstalled grpcio-1.15.0\n", | |
" Found existing installation: wheel 0.33.1\n", | |
" Uninstalling wheel-0.33.1:\n", | |
" Successfully uninstalled wheel-0.33.1\n", | |
" Found existing installation: Werkzeug 0.14.1\n", | |
" Uninstalling Werkzeug-0.14.1:\n", | |
" Successfully uninstalled Werkzeug-0.14.1\n", | |
" Found existing installation: Markdown 3.0.1\n", | |
" Uninstalling Markdown-3.0.1:\n", | |
" Successfully uninstalled Markdown-3.0.1\n", | |
" Found existing installation: tensorboard 1.12.2\n", | |
" Uninstalling tensorboard-1.12.2:\n", | |
" Successfully uninstalled tensorboard-1.12.2\n", | |
" Found existing installation: gast 0.2.2\n", | |
" Uninstalling gast-0.2.2:\n", | |
" Successfully uninstalled gast-0.2.2\n", | |
" Found existing installation: termcolor 1.1.0\n", | |
" Uninstalling termcolor-1.1.0:\n", | |
" Successfully uninstalled termcolor-1.1.0\n", | |
" Found existing installation: absl-py 0.7.0\n", | |
" Uninstalling absl-py-0.7.0:\n", | |
" Successfully uninstalled absl-py-0.7.0\n", | |
" Found existing installation: tensorflow 1.12.0\n", | |
" Uninstalling tensorflow-1.12.0:\n", | |
" Successfully uninstalled tensorflow-1.12.0\n", | |
"Successfully installed absl-py-0.7.0 astor-0.7.1 gast-0.2.2 grpcio-1.19.0 h5py-2.8.0 keras-2.2.2 keras-applications-1.0.4 keras-preprocessing-1.0.2 markdown-3.0.1 numpy-1.15.1 protobuf-3.7.0 pyyaml-3.13 scipy-1.2.1 setuptools-40.8.0 six-1.11.0 tensorboard-1.12.2 tensorflow-1.12.0 tensorflow-hub-0.1.1 tensorflowjs-1.0.0 termcolor-1.1.0 werkzeug-0.14.1 wheel-0.33.1\n" | |
], | |
"name": "stdout" | |
}, | |
{ | |
"output_type": "display_data", | |
"data": { | |
"application/vnd.colab-display-data+json": { | |
"pip_warning": { | |
"packages": [ | |
"google", | |
"grpc", | |
"numpy", | |
"pkg_resources", | |
"scipy", | |
"six" | |
] | |
} | |
} | |
}, | |
"metadata": { | |
"tags": [] | |
} | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "GubFu76XdHwv", | |
"colab_type": "code", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 136 | |
}, | |
"outputId": "7a5c5acf-ac3e-4254-f56a-5097dc6fa9b4" | |
}, | |
"cell_type": "code", | |
"source": [ | |
"!tensorflowjs_converter" | |
], | |
"execution_count": 32, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Using TensorFlow backend.\n", | |
"Traceback (most recent call last):\n", | |
" File \"/usr/local/bin/tensorflowjs_converter\", line 10, in <module>\n", | |
" sys.exit(main())\n", | |
" File \"/usr/local/lib/python3.6/dist-packages/tensorflowjs/converters/converter.py\", line 327, in main\n", | |
" 'Error: The input_path argument must be set. '\n", | |
"ValueError: Error: The input_path argument must be set. Run with --help flag for usage information.\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"metadata": { | |
"id": "jY2hO3zjdTab", | |
"colab_type": "code", | |
"colab": {} | |
}, | |
"cell_type": "code", | |
"source": [ | |
"" | |
], | |
"execution_count": 0, | |
"outputs": [] | |
}, | |
{ | |
"metadata": { | |
"id": "p3F4qo6idTXr", | |
"colab_type": "code", | |
"colab": {} | |
}, | |
"cell_type": "code", | |
"source": [ | |
"" | |
], | |
"execution_count": 0, | |
"outputs": [] | |
}, | |
{ | |
"metadata": { | |
"id": "DI8sCMozUDeq", | |
"colab_type": "code", | |
"colab": {} | |
}, | |
"cell_type": "code", | |
"source": [ | |
"" | |
], | |
"execution_count": 0, | |
"outputs": [] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment