diff --git a/colab/demo.ipynb b/colab/demo.ipynb index f88f3f494..4a87f1718 100644 --- a/colab/demo.ipynb +++ b/colab/demo.ipynb @@ -7,7 +7,7 @@ "colab_type": "text" }, "source": [ - "\"Open" + "\"Open" ] }, { @@ -65,43 +65,12 @@ "cell_type": "code", "execution_count": null, "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "RGr33zHaHak0", - "outputId": "6ad38334-22d2-4675-bffb-0bae91b17577" - }, - "outputs": [ - { - "output_type": "stream", - "name": "stdout", - "text": [ - "⏬ Downloading https://github.com/jaimergp/miniforge/releases/latest/download/Mambaforge-colab-Linux-x86_64.sh...\n", - "📦 Installing...\n", - "📌 Adjusting configuration...\n", - "🩹 Patching environment...\n", - "⏲ Done in 0:00:18\n", - "🔁 Restarting kernel...\n" - ] - } - ], - "source": [ - "#@markdown

Install Conda (requires runtime restart)

\n", - "\n", - "!pip install -q condacolab\n", - "import condacolab\n", - "condacolab.install()" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "9oyLHl8QfYwP" + "id": "9oyLHl8QfYwP", + "cellView": "form" }, "outputs": [], "source": [ - "#@markdown

Install Nerfstudio and Dependencies (~15 min)

\n", + "#@markdown

Install Nerfstudio and Dependencies (~8 min)

\n", "\n", "%cd /content/\n", "!pip install --upgrade pip\n", @@ -109,18 +78,37 @@ "\n", "# Installing TinyCuda\n", "%cd /content/\n", - "!gdown \"https://drive.google.com/u/1/uc?id=12RL_NVgE9WGvr_fEsXEiuaJ1QESvQCPl&confirm=t\" \n", - "!pip install tinycudann-1.7-cp38-cp38-linux_x86_64.whl\n", + "!gdown \"https://drive.google.com/u/1/uc?id=1LlL2ofrViALsqE789MFGZeJyxkNu84cT&confirm=t\" \n", + "!pip install tinycudann-1.7-cp39-cp39-linux_x86_64.whl\n", "\n", "# Installing COLMAP\n", "%cd /content/\n", - "!conda install -c conda-forge colmap\n", + "!gdown \"https://drive.google.com/u/0/uc?id=15WngFRNar_b8CaPR5R-hvQ3eAnlyk_SL&confirm=t\"\n", + "!sudo apt-get install \\\n", + " build-essential \\\n", + " libboost-program-options-dev \\\n", + " libboost-filesystem-dev \\\n", + " libboost-graph-dev \\\n", + " libboost-system-dev \\\n", + " libboost-test-dev \\\n", + " libeigen3-dev \\\n", + " libflann-dev \\\n", + " libfreeimage-dev \\\n", + " libmetis-dev \\\n", + " libgoogle-glog-dev \\\n", + " libgflags-dev \\\n", + " libsqlite3-dev \\\n", + " libglew-dev \\\n", + " qtbase5-dev \\\n", + " libqt5opengl5-dev \\\n", + " libcgal-dev \\\n", + " libceres-dev\n", + "!unzip local.zip -d /usr/\n", + "!chmod +x /usr/local/bin/colmap\n", "\n", "# Install nerfstudio\n", "%cd /content/\n", - "# !pip install nerfstudio\n", - "!pip install git+https://github.com/nerfstudio-project/nerfstudio.git\n", - "!conda remove --force qt-main" + "!pip install git+https://github.com/nerfstudio-project/nerfstudio.git" ] }, {