Last active
October 21, 2020 20:19
-
-
Save Tofull/dc7b3b3d446e0f8e7bdfe1fa9dca404b to your computer and use it in GitHub Desktop.
exploration_open3d.ipynb
This file contains hidden or 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": "exploration_open3d.ipynb", | |
"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/Tofull/dc7b3b3d446e0f8e7bdfe1fa9dca404b/exploration_open3d.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>" | |
] | |
}, | |
{ | |
"cell_type": "markdown", | |
"metadata": { | |
"id": "wSj89h9yyiuZ" | |
}, | |
"source": [ | |
"This Google Colab notebook aims to help prototyping with Open3D." | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "gmFNFpn8wf7p", | |
"outputId": "3b40367d-2f58-4d39-b7fa-d104ef8837af", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 153 | |
} | |
}, | |
"source": [ | |
"!pip install --upgrade pip" | |
], | |
"execution_count": null, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Collecting pip\n", | |
"\u001b[?25l Downloading https://files.pythonhosted.org/packages/cb/28/91f26bd088ce8e22169032100d4260614fc3da435025ff389ef1d396a433/pip-20.2.4-py2.py3-none-any.whl (1.5MB)\n", | |
"\r\u001b[K |▏ | 10kB 25.5MB/s eta 0:00:01\r\u001b[K |▍ | 20kB 15.3MB/s eta 0:00:01\r\u001b[K |▋ | 30kB 13.0MB/s eta 0:00:01\r\u001b[K |▉ | 40kB 9.0MB/s eta 0:00:01\r\u001b[K |█ | 51kB 7.7MB/s eta 0:00:01\r\u001b[K |█▎ | 61kB 8.2MB/s eta 0:00:01\r\u001b[K |█▌ | 71kB 7.8MB/s eta 0:00:01\r\u001b[K |█▊ | 81kB 7.7MB/s eta 0:00:01\r\u001b[K |██ | 92kB 7.5MB/s eta 0:00:01\r\u001b[K |██▏ | 102kB 7.7MB/s eta 0:00:01\r\u001b[K |██▍ | 112kB 7.7MB/s eta 0:00:01\r\u001b[K |██▋ | 122kB 7.7MB/s eta 0:00:01\r\u001b[K |██▉ | 133kB 7.7MB/s eta 0:00:01\r\u001b[K |███ | 143kB 7.7MB/s eta 0:00:01\r\u001b[K |███▎ | 153kB 7.7MB/s eta 0:00:01\r\u001b[K |███▌ | 163kB 7.7MB/s eta 0:00:01\r\u001b[K |███▊ | 174kB 7.7MB/s eta 0:00:01\r\u001b[K |████ | 184kB 7.7MB/s eta 0:00:01\r\u001b[K |████▏ | 194kB 7.7MB/s eta 0:00:01\r\u001b[K |████▍ | 204kB 7.7MB/s eta 0:00:01\r\u001b[K |████▋ | 215kB 7.7MB/s eta 0:00:01\r\u001b[K |████▉ | 225kB 7.7MB/s eta 0:00:01\r\u001b[K |█████ | 235kB 7.7MB/s eta 0:00:01\r\u001b[K |█████▎ | 245kB 7.7MB/s eta 0:00:01\r\u001b[K |█████▍ | 256kB 7.7MB/s eta 0:00:01\r\u001b[K |█████▋ | 266kB 7.7MB/s eta 0:00:01\r\u001b[K |█████▉ | 276kB 7.7MB/s eta 0:00:01\r\u001b[K |██████ | 286kB 7.7MB/s eta 0:00:01\r\u001b[K |██████▎ | 296kB 7.7MB/s eta 0:00:01\r\u001b[K |██████▌ | 307kB 7.7MB/s eta 0:00:01\r\u001b[K |██████▊ | 317kB 7.7MB/s eta 0:00:01\r\u001b[K |███████ | 327kB 7.7MB/s eta 0:00:01\r\u001b[K |███████▏ | 337kB 7.7MB/s eta 0:00:01\r\u001b[K |███████▍ | 348kB 7.7MB/s eta 0:00:01\r\u001b[K |███████▋ | 358kB 7.7MB/s eta 0:00:01\r\u001b[K |███████▉ | 368kB 7.7MB/s eta 0:00:01\r\u001b[K |████████ | 378kB 7.7MB/s eta 0:00:01\r\u001b[K |████████▎ | 389kB 7.7MB/s eta 0:00:01\r\u001b[K |████████▌ | 399kB 7.7MB/s eta 0:00:01\r\u001b[K |████████▊ | 409kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████ | 419kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████▏ | 430kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████▍ | 440kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████▋ | 450kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████▉ | 460kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████ | 471kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████▎ | 481kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████▌ | 491kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████▊ | 501kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████▉ | 512kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████ | 522kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████▎ | 532kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████▌ | 542kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████▊ | 552kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████ | 563kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████▏ | 573kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████▍ | 583kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████▋ | 593kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████▉ | 604kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████ | 614kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████▎ | 624kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████▌ | 634kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████▊ | 645kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████ | 655kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████▏ | 665kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████▍ | 675kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████▋ | 686kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████▉ | 696kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████ | 706kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████▎ | 716kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████▌ | 727kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████▊ | 737kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████ | 747kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████▏ | 757kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████▎ | 768kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████▌ | 778kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████▊ | 788kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████ | 798kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████▏ | 808kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████▍ | 819kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████▋ | 829kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████▉ | 839kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████ | 849kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████▎ | 860kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████▌ | 870kB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████▊ | 880kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████ | 890kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████▏ | 901kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████▍ | 911kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████▋ | 921kB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████▉ | 931kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████ | 942kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████▎ | 952kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████▌ | 962kB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████▊ | 972kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████ | 983kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████▏ | 993kB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████▍ | 1.0MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████▋ | 1.0MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████▊ | 1.0MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████ | 1.0MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████▏ | 1.0MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████▍ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████▋ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████▉ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████▎ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████▌ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████▊ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████▏ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████▍ | 1.1MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████▋ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████▉ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████▎ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████▌ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████▊ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████▏ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████▍ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████▋ | 1.2MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████▉ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████▏ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████▍ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████▋ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████▉ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████████ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████████▎ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████████▌ | 1.3MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████████▊ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████████ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████████▏ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████████▍ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████████▋ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |█████████████████████████████▉ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████████ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████████▎ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████████▌ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |██████████████████████████████▊ | 1.4MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████████ | 1.5MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████████▏| 1.5MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████████▍| 1.5MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████████▋| 1.5MB 7.7MB/s eta 0:00:01\r\u001b[K |███████████████████████████████▉| 1.5MB 7.7MB/s eta 0:00:01\r\u001b[K |████████████████████████████████| 1.5MB 7.7MB/s \n", | |
"\u001b[?25hInstalling collected packages: pip\n", | |
" Found existing installation: pip 19.3.1\n", | |
" Uninstalling pip-19.3.1:\n", | |
" Successfully uninstalled pip-19.3.1\n", | |
"Successfully installed pip-20.2.4\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "p51NzYZfwhpf", | |
"outputId": "5a337eff-be09-45c1-a306-9579cf926f8d", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 816 | |
} | |
}, | |
"source": [ | |
"!pip install open3d" | |
], | |
"execution_count": null, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Collecting open3d\n", | |
" Downloading open3d-0.11.0-cp36-cp36m-manylinux2014_x86_64.whl (99.2 MB)\n", | |
"\u001b[K |████████████████████████████████| 99.2 MB 1.6 kB/s \n", | |
"\u001b[?25hRequirement already satisfied: widgetsnbextension in /usr/local/lib/python3.6/dist-packages (from open3d) (3.5.1)\n", | |
"Requirement already satisfied: notebook in /usr/local/lib/python3.6/dist-packages (from open3d) (5.3.1)\n", | |
"Requirement already satisfied: matplotlib in /usr/local/lib/python3.6/dist-packages (from open3d) (3.2.2)\n", | |
"Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from open3d) (1.18.5)\n", | |
"Requirement already satisfied: ipywidgets in /usr/local/lib/python3.6/dist-packages (from open3d) (7.5.1)\n", | |
"Requirement already satisfied: ipython-genutils in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (0.2.0)\n", | |
"Requirement already satisfied: nbformat in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (5.0.7)\n", | |
"Requirement already satisfied: terminado>=0.8.1 in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (0.9.1)\n", | |
"Requirement already satisfied: traitlets>=4.2.1 in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (4.3.3)\n", | |
"Requirement already satisfied: nbconvert in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (5.6.1)\n", | |
"Requirement already satisfied: jupyter-core>=4.4.0 in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (4.6.3)\n", | |
"Requirement already satisfied: jupyter-client>=5.2.0 in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (5.3.5)\n", | |
"Requirement already satisfied: Send2Trash in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (1.5.0)\n", | |
"Requirement already satisfied: tornado>=4 in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (5.1.1)\n", | |
"Requirement already satisfied: jinja2 in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (2.11.2)\n", | |
"Requirement already satisfied: ipykernel in /usr/local/lib/python3.6/dist-packages (from notebook->open3d) (4.10.1)\n", | |
"Requirement already satisfied: python-dateutil>=2.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->open3d) (2.8.1)\n", | |
"Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->open3d) (1.2.0)\n", | |
"Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in /usr/local/lib/python3.6/dist-packages (from matplotlib->open3d) (2.4.7)\n", | |
"Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.6/dist-packages (from matplotlib->open3d) (0.10.0)\n", | |
"Requirement already satisfied: ipython>=4.0.0; python_version >= \"3.3\" in /usr/local/lib/python3.6/dist-packages (from ipywidgets->open3d) (5.5.0)\n", | |
"Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /usr/local/lib/python3.6/dist-packages (from nbformat->notebook->open3d) (2.6.0)\n", | |
"Requirement already satisfied: ptyprocess; os_name != \"nt\" in /usr/local/lib/python3.6/dist-packages (from terminado>=0.8.1->notebook->open3d) (0.6.0)\n", | |
"Requirement already satisfied: decorator in /usr/local/lib/python3.6/dist-packages (from traitlets>=4.2.1->notebook->open3d) (4.4.2)\n", | |
"Requirement already satisfied: six in /usr/local/lib/python3.6/dist-packages (from traitlets>=4.2.1->notebook->open3d) (1.15.0)\n", | |
"Requirement already satisfied: testpath in /usr/local/lib/python3.6/dist-packages (from nbconvert->notebook->open3d) (0.4.4)\n", | |
"Requirement already satisfied: defusedxml in /usr/local/lib/python3.6/dist-packages (from nbconvert->notebook->open3d) (0.6.0)\n", | |
"Requirement already satisfied: bleach in /usr/local/lib/python3.6/dist-packages (from nbconvert->notebook->open3d) (3.2.1)\n", | |
"Requirement already satisfied: mistune<2,>=0.8.1 in /usr/local/lib/python3.6/dist-packages (from nbconvert->notebook->open3d) (0.8.4)\n", | |
"Requirement already satisfied: entrypoints>=0.2.2 in /usr/local/lib/python3.6/dist-packages (from nbconvert->notebook->open3d) (0.3)\n", | |
"Requirement already satisfied: pandocfilters>=1.4.1 in /usr/local/lib/python3.6/dist-packages (from nbconvert->notebook->open3d) (1.4.2)\n", | |
"Requirement already satisfied: pygments in /usr/local/lib/python3.6/dist-packages (from nbconvert->notebook->open3d) (2.6.1)\n", | |
"Requirement already satisfied: pyzmq>=13 in /usr/local/lib/python3.6/dist-packages (from jupyter-client>=5.2.0->notebook->open3d) (19.0.2)\n", | |
"Requirement already satisfied: MarkupSafe>=0.23 in /usr/local/lib/python3.6/dist-packages (from jinja2->notebook->open3d) (1.1.1)\n", | |
"Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.4 in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= \"3.3\"->ipywidgets->open3d) (1.0.18)\n", | |
"Requirement already satisfied: setuptools>=18.5 in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= \"3.3\"->ipywidgets->open3d) (50.3.0)\n", | |
"Requirement already satisfied: simplegeneric>0.8 in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= \"3.3\"->ipywidgets->open3d) (0.8.1)\n", | |
"Requirement already satisfied: pexpect; sys_platform != \"win32\" in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= \"3.3\"->ipywidgets->open3d) (4.8.0)\n", | |
"Requirement already satisfied: pickleshare in /usr/local/lib/python3.6/dist-packages (from ipython>=4.0.0; python_version >= \"3.3\"->ipywidgets->open3d) (0.7.5)\n", | |
"Requirement already satisfied: packaging in /usr/local/lib/python3.6/dist-packages (from bleach->nbconvert->notebook->open3d) (20.4)\n", | |
"Requirement already satisfied: webencodings in /usr/local/lib/python3.6/dist-packages (from bleach->nbconvert->notebook->open3d) (0.5.1)\n", | |
"Requirement already satisfied: wcwidth in /usr/local/lib/python3.6/dist-packages (from prompt-toolkit<2.0.0,>=1.0.4->ipython>=4.0.0; python_version >= \"3.3\"->ipywidgets->open3d) (0.2.5)\n", | |
"Installing collected packages: open3d\n", | |
"Successfully installed open3d-0.11.0\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "rqnYzaA5w8nI", | |
"outputId": "5889a9b3-9e67-42e9-840f-9034f55ae7a9", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 136 | |
} | |
}, | |
"source": [ | |
"!git clone https://github.com/intel-isl/Open3D-ML" | |
], | |
"execution_count": null, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Cloning into 'Open3D-ML'...\n", | |
"remote: Enumerating objects: 86, done.\u001b[K\n", | |
"remote: Counting objects: 100% (86/86), done.\u001b[K\n", | |
"remote: Compressing objects: 100% (62/62), done.\u001b[K\n", | |
"remote: Total 3585 (delta 39), reused 49 (delta 22), pack-reused 3499\u001b[K\n", | |
"Receiving objects: 100% (3585/3585), 35.85 MiB | 35.74 MiB/s, done.\n", | |
"Resolving deltas: 100% (2314/2314), done.\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "6bOibPu5xCn5", | |
"outputId": "e0f60434-6d3c-4d68-e2d1-0d4c863de966", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 34 | |
} | |
}, | |
"source": [ | |
"%cd Open3D-ML/" | |
], | |
"execution_count": null, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"/content/Open3D-ML\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "gnXv-v7MxOXH", | |
"outputId": "94d9b6fc-468d-4453-da20-e8faf6a5a098", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 119 | |
} | |
}, | |
"source": [ | |
"!ls" | |
], | |
"execution_count": null, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"ci\t ml3d\t\t\t requirements.txt\n", | |
"data\t model_zoo.md\t\t scripts\n", | |
"docs\t README.md\t\t\t set_open3d_ml_root.sh\n", | |
"examples requirements-tensorflow.txt setup.py\n", | |
"__init__.py requirements-torch-cuda.txt tests\n", | |
"Makefile requirements-torch.txt\t version.txt\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "OcixaeINxI4P", | |
"outputId": "c695a4b1-b351-4524-cc8d-1aa4cd80c02a", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 544 | |
} | |
}, | |
"source": [ | |
"!pip install -r requirements-torch-cuda.txt" | |
], | |
"execution_count": null, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Looking in links: https://download.pytorch.org/whl/torch_stable.html\n", | |
"Requirement already satisfied: torch==1.6.0+cu101 in /usr/local/lib/python3.6/dist-packages (from -r requirements-torch-cuda.txt (line 2)) (1.6.0+cu101)\n", | |
"Requirement already satisfied: torchvision==0.7.0+cu101 in /usr/local/lib/python3.6/dist-packages (from -r requirements-torch-cuda.txt (line 3)) (0.7.0+cu101)\n", | |
"Requirement already satisfied: tensorboard in /usr/local/lib/python3.6/dist-packages (from -r requirements-torch-cuda.txt (line 4)) (2.3.0)\n", | |
"Requirement already satisfied: numpy in /usr/local/lib/python3.6/dist-packages (from torch==1.6.0+cu101->-r requirements-torch-cuda.txt (line 2)) (1.18.5)\n", | |
"Requirement already satisfied: future in /usr/local/lib/python3.6/dist-packages (from torch==1.6.0+cu101->-r requirements-torch-cuda.txt (line 2)) (0.16.0)\n", | |
"Requirement already satisfied: pillow>=4.1.1 in /usr/local/lib/python3.6/dist-packages (from torchvision==0.7.0+cu101->-r requirements-torch-cuda.txt (line 3)) (7.0.0)\n", | |
"Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (1.7.0)\n", | |
"Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (0.4.1)\n", | |
"Requirement already satisfied: protobuf>=3.6.0 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (3.12.4)\n", | |
"Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (3.2.2)\n", | |
"Requirement already satisfied: wheel>=0.26; python_version >= \"3\" in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (0.35.1)\n", | |
"Requirement already satisfied: six>=1.10.0 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (1.15.0)\n", | |
"Requirement already satisfied: absl-py>=0.4 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (0.10.0)\n", | |
"Requirement already satisfied: requests<3,>=2.21.0 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (2.23.0)\n", | |
"Requirement already satisfied: google-auth<2,>=1.6.3 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (1.17.2)\n", | |
"Requirement already satisfied: werkzeug>=0.11.15 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (1.0.1)\n", | |
"Requirement already satisfied: setuptools>=41.0.0 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (50.3.0)\n", | |
"Requirement already satisfied: grpcio>=1.24.3 in /usr/local/lib/python3.6/dist-packages (from tensorboard->-r requirements-torch-cuda.txt (line 4)) (1.32.0)\n", | |
"Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.6/dist-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard->-r requirements-torch-cuda.txt (line 4)) (1.3.0)\n", | |
"Requirement already satisfied: importlib-metadata; python_version < \"3.8\" in /usr/local/lib/python3.6/dist-packages (from markdown>=2.6.8->tensorboard->-r requirements-torch-cuda.txt (line 4)) (2.0.0)\n", | |
"Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.6/dist-packages (from requests<3,>=2.21.0->tensorboard->-r requirements-torch-cuda.txt (line 4)) (2020.6.20)\n", | |
"Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.6/dist-packages (from requests<3,>=2.21.0->tensorboard->-r requirements-torch-cuda.txt (line 4)) (2.10)\n", | |
"Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.6/dist-packages (from requests<3,>=2.21.0->tensorboard->-r requirements-torch-cuda.txt (line 4)) (3.0.4)\n", | |
"Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.6/dist-packages (from requests<3,>=2.21.0->tensorboard->-r requirements-torch-cuda.txt (line 4)) (1.24.3)\n", | |
"Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.6/dist-packages (from google-auth<2,>=1.6.3->tensorboard->-r requirements-torch-cuda.txt (line 4)) (0.2.8)\n", | |
"Requirement already satisfied: rsa<5,>=3.1.4; python_version >= \"3\" in /usr/local/lib/python3.6/dist-packages (from google-auth<2,>=1.6.3->tensorboard->-r requirements-torch-cuda.txt (line 4)) (4.6)\n", | |
"Requirement already satisfied: cachetools<5.0,>=2.0.0 in /usr/local/lib/python3.6/dist-packages (from google-auth<2,>=1.6.3->tensorboard->-r requirements-torch-cuda.txt (line 4)) (4.1.1)\n", | |
"Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.6/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard->-r requirements-torch-cuda.txt (line 4)) (3.1.0)\n", | |
"Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.6/dist-packages (from importlib-metadata; python_version < \"3.8\"->markdown>=2.6.8->tensorboard->-r requirements-torch-cuda.txt (line 4)) (3.2.0)\n", | |
"Requirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /usr/local/lib/python3.6/dist-packages (from pyasn1-modules>=0.2.1->google-auth<2,>=1.6.3->tensorboard->-r requirements-torch-cuda.txt (line 4)) (0.4.8)\n" | |
], | |
"name": "stdout" | |
} | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"metadata": { | |
"id": "6884FXRPxhX4", | |
"outputId": "9b2d6d6b-5f7b-44c1-b002-f530bae3a6e7", | |
"colab": { | |
"base_uri": "https://localhost:8080/", | |
"height": 136 | |
} | |
}, | |
"source": [ | |
"!python -c \"import open3d.ml.torch as ml3d\"" | |
], | |
"execution_count": null, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": [ | |
"Traceback (most recent call last):\n", | |
" File \"<string>\", line 1, in <module>\n", | |
" File \"/usr/local/lib/python3.6/dist-packages/open3d/__init__.py\", line 64, in <module>\n", | |
" _CDLL(next((_Path(__file__).parent / 'cpu').glob('pybind*')))\n", | |
" File \"/usr/lib/python3.6/ctypes/__init__.py\", line 348, in __init__\n", | |
" self._handle = _dlopen(self._name, mode)\n", | |
"OSError: libc++.so.1: cannot open shared object file: No such file or directory\n" | |
], | |
"name": "stdout" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment