Source code for symforce.examples.bundle_adjustment_in_the_large.download_dataset
# ----------------------------------------------------------------------------# SymForce - Copyright 2022, Skydio, Inc.# This source code is under the Apache 2.0 license found in the LICENSE file.# ----------------------------------------------------------------------------"""Script to download Bundle-Adjustment-in-the-Large datasets into the `./data` folder"""from__future__importannotationsimportbz2importreimporturllib.parsefromhtml.parserimportHTMLParserfrompathlibimportPathimportarghimportrequestsCURRENT_DIR=Path(__file__).resolve().parentBASE_URL="https://grail.cs.washington.edu/projects/bal"