mirror of
https://github.com/nerfstudio-project/nerfstudio.git
synced 2026-11-26 10:59:53 +08:00
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
This commit is contained in:
1 parent
67b1005784
commit
1aba4ea7a2
1 file changed
+8
-29
+8
-29
@@ -3,8 +3,8 @@
|
|||||||
{
|
{
|
||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "view-in-github",
|
"colab_type": "text",
|
||||||
"colab_type": "text"
|
"id": "view-in-github"
|
||||||
},
|
},
|
||||||
"source": [
|
"source": [
|
||||||
"<a href=\"https://colab.research.google.com/github/nerfstudio-project/nerfstudio/blob/alex%2Fcolab-logo-fix/colab/demo.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
|
"<a href=\"https://colab.research.google.com/github/nerfstudio-project/nerfstudio/blob/alex%2Fcolab-logo-fix/colab/demo.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
|
||||||
@@ -65,8 +65,8 @@
|
|||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": null,
|
"execution_count": null,
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"id": "9oyLHl8QfYwP",
|
"cellView": "form",
|
||||||
"cellView": "form"
|
"id": "9oyLHl8QfYwP"
|
||||||
},
|
},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
@@ -83,28 +83,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"# Installing COLMAP\n",
|
"# Installing COLMAP\n",
|
||||||
"%cd /content/\n",
|
"%cd /content/\n",
|
||||||
"!gdown \"https://drive.google.com/u/0/uc?id=15WngFRNar_b8CaPR5R-hvQ3eAnlyk_SL&confirm=t\"\n",
|
"!apt-get install colmap\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",
|
"\n",
|
||||||
"# Install nerfstudio\n",
|
"# Install nerfstudio\n",
|
||||||
"%cd /content/\n",
|
"%cd /content/\n",
|
||||||
@@ -350,8 +329,8 @@
|
|||||||
"metadata": {
|
"metadata": {
|
||||||
"accelerator": "GPU",
|
"accelerator": "GPU",
|
||||||
"colab": {
|
"colab": {
|
||||||
"provenance": [],
|
"include_colab_link": true,
|
||||||
"include_colab_link": true
|
"provenance": []
|
||||||
},
|
},
|
||||||
"gpuClass": "standard",
|
"gpuClass": "standard",
|
||||||
"kernelspec": {
|
"kernelspec": {
|
||||||
@@ -371,4 +350,4 @@
|
|||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
"nbformat_minor": 0
|
"nbformat_minor": 0
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user