Skip to content

Commit

Permalink
Update setup_for_tests.ipynb
Browse files Browse the repository at this point in the history
added folder path
  • Loading branch information
FDG2801 committed Jun 22, 2023
1 parent 80eb59a commit 17416cc
Showing 1 changed file with 36 additions and 36 deletions.
72 changes: 36 additions & 36 deletions setup_for_tests.ipynb
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
{
"nbformat": 4,
"nbformat_minor": 0,
"metadata": {
"colab": {
"provenance": []
},
"kernelspec": {
"name": "python3",
"display_name": "Python 3"
},
"language_info": {
"name": "python"
},
"accelerator": "GPU",
"gpuClass": "standard"
},
"cells": [
{
"cell_type": "code",
Expand All @@ -31,33 +15,38 @@
},
{
"cell_type": "code",
"source": [
"!git clone https://github.com/CarachinoAlessio/VisualGeolocalization.git\n",
"!mv /content/VisualGeolocalization/* /content > /dev/null"
],
"execution_count": null,
"metadata": {
"id": "t7yrv9tVf4h9"
},
"execution_count": null,
"outputs": []
"outputs": [],
"source": [
"!git clone https://github.com/CarachinoAlessio/VisualGeolocalization.git\n",
"!mv /content/VisualGeolocalization/* /content > /dev/null"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {
"id": "v7K3mgYbfw_Y"
},
"outputs": [],
"source": [
"import shutil\n",
"import urllib\n",
"\n",
"#install dependencies\n",
"!pip3 install -r requirements.txt > /dev/null"
],
"metadata": {
"id": "v7K3mgYbfw_Y"
},
"execution_count": 3,
"outputs": []
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "jbJ6tkmqf0Cl"
},
"outputs": [],
"source": [
"import gdown\n",
"from google.colab import drive\n",
Expand Down Expand Up @@ -96,7 +85,7 @@
"!mv /content/tokyo_xs/test/queries /content/tokyo_xs/test/queries_v1\n",
"\n",
"!unzip /content/tokyo-night.zip > /dev/null\n",
"!cp -r /content/tokyo_xs/test/database /content/tokyo-night\n",
"!cp -r /content/tokyo_xs/test/database /content/tokyo-night/test/\n",
"\n",
"!unzip /content/night_target.zip > /dev/null\n",
"\n",
Expand All @@ -109,12 +98,23 @@
"!unzip /content/eff2vs_geowarp.zip > /dev/null\n",
"\n",
"!unzip /content/eff2vs_grl.zip > /dev/null"
],
"metadata": {
"id": "jbJ6tkmqf0Cl"
},
"execution_count": null,
"outputs": []
]
}
]
],
"metadata": {
"accelerator": "GPU",
"colab": {
"provenance": []
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
},
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 0
}

0 comments on commit 17416cc

Please sign in to comment.