From 1aba4ea7a29b05e86f5d223245a573e7dcd86caa Mon Sep 17 00:00:00 2001 From: Anthony Zhang <47730496+AntonioMacaronio@users.noreply.github.com> Date: Thu, 25 Jan 2024 15:09:23 -0800 Subject: [PATCH] fixing colmap installation to use apt-get since gdown on the URL unable to download colmap (#2823) fixing colmap installation to use apt-get since gdown on the URL was failing --- colab/demo.ipynb | 37 ++++++++----------------------------- 1 file changed, 8 insertions(+), 29 deletions(-) diff --git a/colab/demo.ipynb b/colab/demo.ipynb index 9edf298248..aeb3def01f 100644 --- a/colab/demo.ipynb +++ b/colab/demo.ipynb @@ -3,8 +3,8 @@ { "cell_type": "markdown", "metadata": { - "id": "view-in-github", - "colab_type": "text" + "colab_type": "text", + "id": "view-in-github" }, "source": [ "\"Open" @@ -65,8 +65,8 @@ "cell_type": "code", "execution_count": null, "metadata": { - "id": "9oyLHl8QfYwP", - "cellView": "form" + "cellView": "form", + "id": "9oyLHl8QfYwP" }, "outputs": [], "source": [ @@ -83,28 +83,7 @@ "\n", "# Installing COLMAP\n", "%cd /content/\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", + "!apt-get install colmap\n", "\n", "# Install nerfstudio\n", "%cd /content/\n", @@ -350,8 +329,8 @@ "metadata": { "accelerator": "GPU", "colab": { - "provenance": [], - "include_colab_link": true + "include_colab_link": true, + "provenance": [] }, "gpuClass": "standard", "kernelspec": { @@ -371,4 +350,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}