Skip to content

Commit

Permalink
Updated example
Browse files Browse the repository at this point in the history
  • Loading branch information
vnmsklnk committed Jan 7, 2024
1 parent 33ebd56 commit 8715feb
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@
"metadata": {},
"outputs": [],
"source": [
"satellite_map = avl.Map(Path(\"test_map/map_metadata.txt\"))\n",
"linear_referencer = avl.LinearReferencer()\n",
"\n",
"satellite_map = avl.Map(Path(\"test_map/map_metadata.txt\"), zoom=1.5, overlap_level=0.25, geo_referencer=linear_referencer)\n",
"drone_images = avl.UAVSeq(Path(\"test_queries/queries.txt\"))"
]
},
Expand All @@ -62,13 +64,12 @@
"outputs": [],
"source": [
"eigen_places = avl.EigenPlaces('ResNet101', fc_output_dim=2048)\n",
"super_glue = avl.SuperGlue(\"superglue_outdoor.pth\", resize=800)\n",
"super_glue = avl.SuperGlue(\"weights/superglue_outdoor.pth\", resize=800)\n",
"faiss_searcher = avl.FaissSearcher()\n",
"retrieval_system = avl.RetrievalSystem(eigen_places, satellite_map, super_glue, faiss_searcher)\n",
"\n",
"homography_estimator = avl.HomographyEstimator()\n",
"gmaps_referencer = avl.GoogleMapsReferencer(zoom=17)\n",
"localization_pipeline = avl.LocalizationPipeline(retrieval_system, gmaps_referencer, homography_estimator)"
"localization_pipeline = avl.LocalizationPipeline(retrieval_system, homography_estimator)"
]
},
{
Expand Down Expand Up @@ -105,7 +106,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.12"
"version": "3.11.6"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 8715feb

Please sign in to comment.