|
1 | | -# Tutorials Guide |
| 1 | +# LADI Tutorials |
| 2 | + |
| 3 | +Tutorials for the Low Altitude Disaster Imagery (LADI) dataset. This tutorial was originally forked from a [Penn State Learning Factory](https://www.lf.psu.edu/) capstone project. |
| 4 | + |
| 5 | +- [LADI Tutorials](#ladi-tutorials) |
| 6 | + - [Point of Contact](#point-of-contact) |
| 7 | + - [Initial Setup](#initial-setup) |
| 8 | + - [Persistent System Environment Variables](#persistent-system-environment-variables) |
| 9 | + - [Scripts](#scripts) |
| 10 | + - [Tutorials - Accessing the Dataset](#tutorials---accessing-the-dataset) |
| 11 | + - [Tutorials - Metadata Analysis](#tutorials---metadata-analysis) |
| 12 | + - [Tutorials - Machine Learning](#tutorials---machine-learning) |
| 13 | + - [Distribution Statement](#distribution-statement) |
2 | 14 |
|
3 | | -Tutorial for the Low Altitude Disaster Imagery (LADI) dataset. This tutorial was originally forked from a [Penn State Learning Factory](https://www.lf.psu.edu/) capstone project |
| 15 | +## Point of Contact |
4 | 16 |
|
5 | | -- [Tutorials Guide](#tutorials-guide) |
6 | | - - [Getting Started](#getting-started) |
7 | | - - [Clean and Validate LADI Dataset](#clean-and-validate-ladi-dataset) |
8 | | - - [PyTorch Data Loading](#pytorch-data-loading) |
9 | | - - [Train and Test A Classifier](#train-and-test-a-classifier) |
10 | | - - [Fine Tuning Torchvision Models](#fine-tuning-torchvision-models) |
11 | | - - [Distribution Statement](#distribution-statement) |
| 17 | +We encourage the use of the [GitHub Issues](https://guides.github.com/features/issues/) but when email is required, please contact the administrators at [ladi-dataset-admin@mit.edu](mailto:ladi-dataset-admin@mit.edu). As the public safety and computer vision communities adopt the dataset, a separate mailing list for development may be created. |
12 | 18 |
|
13 | | -## Getting Started |
| 19 | +## Initial Setup |
14 | 20 |
|
15 | | -[Getting Started](./Tutorials/Get_Started.md) |
| 21 | +This section specifies the run order and requirements for the initial setup the repository. Other repositories in this organization may be reliant upon this setup being completed. |
16 | 22 |
|
17 | | -This documentation is about installing AWS tools and configuring AWS environment to download LADI dataset and load dataset in Python locally and remotely. |
| 23 | +### Persistent System Environment Variables |
18 | 24 |
|
19 | | -## Clean and Validate LADI Dataset |
| 25 | +Immediately after cloning this repository, [create a persistent system environment](https://superuser.com/q/284342/44051) variable titled `LADI_DIR_TUTORIAL` with a value of the full path to this repository root directory. |
20 | 26 |
|
21 | | -[Clean and Validate LADI Dataset](./Tutorials/Clean_Validate.md) |
| 27 | +On unix there are many ways to do this, here is an example using [`/etc/profile.d`](https://unix.stackexchange.com/a/117473). Create a new file `ladi-env.sh` using `sudo vi /etc/profile.d/ladi-env.sh` and add the command to set the variable: |
22 | 28 |
|
23 | | -This documentation is about clean the LADI dataset. For this project, we have only extracted 2000 images for training. |
| 29 | +```bash |
| 30 | +export LADI_DIR_TUTORIAL=PATH TO /ladi-tutorial |
| 31 | +``` |
24 | 32 |
|
25 | | -## PyTorch Data Loading |
| 33 | +You can confirm `LADI_DIR_TUTORIAL` was set in unix by inspecting the output of `env`. |
26 | 34 |
|
27 | | -[PyTorch Data Loading](./Tutorials/Pytorch_Data_Load.md) |
| 35 | +### Scripts |
28 | 36 |
|
29 | | -This documentation is about loading LADI dataset in PyTorch framework including examples of writing custom `Dataset`, `Transforms` and `Dataloader`. |
| 37 | +This is a set of boilerplate scripts describing the [normalized script pattern that GitHub uses in its projects](https://github.blog/2015-06-30-scripts-to-rule-them-all/). The [GitHub Scripts To Rule Them All](https://github.com/github/scripts-to-rule-them-all) was used as a template. Refer to the [script directory README](./script/README.md) for more details. |
| 38 | + |
| 39 | +You will need to run these scripts in this order to download package dependencies and download all of the necessary data to get you started. |
| 40 | + |
| 41 | +## Tutorials - Accessing the Dataset |
30 | 42 |
|
31 | | -## Train and Test A Classifier |
| 43 | +A set of tutorials focused on installing AWS tools and configuring AWS environment to download LADI dataset and load dataset in Python locally and remotely. There is also a short tutorial on how to clean and validate data. |
32 | 44 |
|
33 | | -[Train and Test A Classifier](./Tutorials/Train_Test_Classifier.md) |
| 45 | +- [Getting Started](./tutorials/Get_Started.md) |
| 46 | +- [Clean and Validate LADI Dataset](./tutorials/Clean_Validate.md) |
34 | 47 |
|
35 | | -This documentation is about training and testing a classifier model using Convolutional Neural Network (CNN) from scratch. |
| 48 | +## Tutorials - Metadata Analysis |
36 | 49 |
|
37 | | -## Fine Tuning Torchvision Models |
| 50 | +A set of tutorials are Jupyter Python 3.X notebooks that demonstrate on how to perform geospatial analysis by enhancing the LADI metadata with third party GIS information. One tutorial identifies the number of images taken within an administrative boundary (e.g. USA states) and assigns each state a color based on the number of images taken. The other tutorial filters images based on an specific annotation and performs various geospatial measurements on this subset. |
38 | 51 |
|
39 | | -[Fine Tuning Torchvision Models](./Tutorials/Fine_Tune_Torchvision_Models.md) |
| 52 | +- [ISO-3166-2 Administrative Boundaries](./tutorials/Geospatial-Hurricane-Analysis.ipynb) |
| 53 | +- [Geospatial Hurricane Analysis](./tutorials/Geospatial-Hurricane-Analysis.ipynb) |
40 | 54 |
|
41 | | -This documentation is about training and testing a classifier model using pre-trained ResNet and AlexNet. |
| 55 | +### Tutorials - Machine Learning |
| 56 | + |
| 57 | +These tutorials focus on how to training and testing a classifier model using Convolutional Neural Network (CNN) from scratch or using pre-trained ResNet and AlexNet. |
| 58 | + |
| 59 | +- [PyTorch Data Loading](./tutorials/Pytorch_Data_Load.md) |
| 60 | +- [Train and Test A Classifier](./tutorials/Train_Test_Classifier.md) |
| 61 | +- [Fine Tuning Torchvision Models](./tutorials/Fine_Tune_Torchvision_Models.md) |
| 62 | + |
| 63 | +This documentation is about loading LADI dataset in PyTorch framework including examples of writing custom `Dataset`, `Transforms` and `Dataloader`. |
42 | 64 |
|
43 | 65 | ## Distribution Statement |
44 | 66 |
|
45 | | -[BSD -Clause License](https://github.com/LADI-Dataset/ladi-tutorial/blob/master/LICENSE) |
| 67 | +[BSD 3-Clause License](LICENSE) |
0 commit comments