--- license: mit task_categories: - image-classification tags: - aerial imagery - disaster - multilabel classification - damage assessment pretty_name: LADI v2 size_categories: - 10K, 'bridges_any': False, 'buildings_any': False, 'buildings_affected_or_greater': False, 'buildings_minor_or_greater': False, 'debris_any': False, 'flooding_any': False, 'flooding_structures': False, 'roads_any': False, 'roads_damage': False, 'trees_any': True, 'trees_damage': True, 'water_any': True } ``` Examples in the v1 datasets are analogous, with classes drawn from their respective tasks (infrastructure and damage). ## Using the Dataset ### Downloading the Dataset You can download the dataset by loading it with `download_ladi=True`, which fetches the compressed data from an s3 bucket and extracts it into your filesystem: ```python from datasets import load_dataset ds = load_dataset("MITLL/LADI-v2-dataset", "v2a_resized",                 streaming=True, download_ladi=True,                 base_dir='./ladi_dataset', trust_remote_code=True) ``` You can browse the bucket here: [https://ladi.s3.amazonaws.com/index.html](https://ladi.s3.amazonaws.com/index.html). Note that the `v2_resized` dataset is the same as the `v2` dataset, but with lower-resolution images (1800x1200 px). We expect that these images are still more than large enough to support most tasks, and encourage you to use the v2_resized and v2a_resized datasets when possible as the download is about 45x smaller. We try not to download images you don't need, so this will only fetch the v2_resized images, leaving v1 and v2 alone. We intend for this dataset to be used mostly in streaming mode from individual files. While you can convert it to a parquet table, we typically use the dataset with `streaming=True`, which allows you to navigate, inspect, and alter the dataset on the filesystem. After the initial download, simply omitting the `download_ladi` argument, or passing `download_ladi=False`, will use the version of LADI already in `base_dir`: ```python from datasets import load_dataset ds = load_dataset("MITLL/LADI-v2-dataset", "v2a_resized",                 streaming=True, base_dir='./ladi_dataset',                 trust_remote_code=True) ``` **As previously noted, LADI v1 does not have separate test and validation sets, so the 'val' and 'test' splits in LADI v1 data point to the same labels!** ## Dataset Information: - **Citation - BibTeX**: ``` ``` Paper forthcoming - watch this space for details - **Developed by:** Jeff Liu, Sam Scheele - **Funded by:** Department of the Air Force under Air Force Contract No. FA8702-15-D-0001 - **License:** MIT --- DISTRIBUTION STATEMENT A. Approved for public release. Distribution is unlimited. This material is based upon work supported by the Department of the Air Force under Air Force Contract No. FA8702-15-D-0001. Any opinions, findings, conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the Department of the Air Force. © 2024 Massachusetts Institute of Technology. The software/firmware is provided to you on an As-Is basis Delivered to the U.S. Government with Unlimited Rights, as defined in DFARS Part 252.227-7013 or 7014 (Feb 2014). Notwithstanding any copyright notice, U.S. Government rights in this work are defined by DFARS 252.227-7013 or DFARS 252.227-7014 as detailed above. Use of this work other than as specifically authorized by the U.S. Government may violate any copyrights that exist in this work.