Updating the script for downloading data (#968)

* Updating the script for downloading data

* Making update to config structure

* Updating documentation and colab

* Adding back the save directory

* Pushing an all flag for nerfstudio

* forgot to save some previous edits
This commit is contained in:
Jake Austin authored and GitHub committed 2022-11-25 21:40:13 -08:00
1 parent 2c64ba5b6a
commit 1eae0839b4
5 files changed
+208 -112

No files matched your search

+25 -25
View File
@@ -3,8 +3,8 @@
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
"colab_type": "text",
"id": "view-in-github"
},
"source": [
"<a href=\"https://colab.research.google.com/github/nerfstudio-project/nerfstudio/blob/tancik%2Fpolycam/colab/demo.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
@@ -65,17 +65,17 @@
"cell_type": "code",
"execution_count": 1,
"metadata": {
"cellView": "form",
"colab": {
"base_uri": "https://localhost:8080/"
},
"id": "RGr33zHaHak0",
"outputId": "2641dce6-cd57-4d31-d8b1-860bc1adf17f",
"cellView": "form"
"outputId": "2641dce6-cd57-4d31-d8b1-860bc1adf17f"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"⏬ Downloading https://github.com/jaimergp/miniforge/releases/latest/download/Mambaforge-colab-Linux-x86_64.sh...\n",
"📦 Installing...\n",
@@ -98,8 +98,8 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "9oyLHl8QfYwP",
"cellView": "form"
"cellView": "form",
"id": "9oyLHl8QfYwP"
},
"outputs": [],
"source": [
@@ -127,8 +127,8 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "msVLprI4gRA4",
"cellView": "form"
"cellView": "form",
"id": "msVLprI4gRA4"
},
"outputs": [],
"source": [
@@ -194,7 +194,7 @@
" scene = \"custom_data\"\n",
"else:\n",
" %cd /content/\n",
" !ns-download-data --dataset=nerfstudio --capture=$scene\n",
" !ns-download-data nerfstudio --capture-name=$scene\n",
"\n",
"print(\"Data Processing Succeeded!\")"
]
@@ -203,18 +203,18 @@
"cell_type": "code",
"execution_count": 2,
"metadata": {
"cellView": "form",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 928
},
"id": "VoKDxqEcjmfC",
"outputId": "d2919aa4-96dd-4e50-829f-289e4208882b",
"cellView": "form"
"outputId": "d2919aa4-96dd-4e50-829f-289e4208882b"
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"/content\n",
"\u001b[K\u001b[?25h/tools/node/bin/lt -> /tools/node/lib/node_modules/localtunnel/bin/lt.js\n",
@@ -225,11 +225,7 @@
]
},
{
"output_type": "execute_result",
"data": {
"text/plain": [
"<IPython.lib.display.IFrame at 0x7f1d0da6f950>"
],
"text/html": [
"\n",
" <iframe\n",
@@ -240,10 +236,14 @@
" allowfullscreen\n",
" ></iframe>\n",
" "
],
"text/plain": [
"<IPython.lib.display.IFrame at 0x7f1d0da6f950>"
]
},
"execution_count": 2,
"metadata": {},
"execution_count": 2
"output_type": "execute_result"
}
],
"source": [
@@ -281,8 +281,8 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "m_N8_cLfjoXD",
"cellView": "form"
"cellView": "form",
"id": "m_N8_cLfjoXD"
},
"outputs": [],
"source": [
@@ -362,22 +362,22 @@
"accelerator": "GPU",
"colab": {
"collapsed_sections": [],
"provenance": [],
"include_colab_link": true
"include_colab_link": true,
"provenance": []
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3.8.12 ('nerfactory')",
"display_name": "Python 3.8.13 ('nerfstudio')",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python",
"version": "3.8.12"
"version": "3.8.13"
},
"vscode": {
"interpreter": {
"hash": "34c28001ff35fb390494047002768a8182dcf55b1b11415165e62ea61557ab83"
"hash": "c59f626636933ef1dc834fb3684b382f705301c5306cf8436d2da634c2289783"
}
}
},