Skip to content

Commit

Permalink
Doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Qberto committed Oct 24, 2018
1 parent 3f547eb commit 54cf797
Show file tree
Hide file tree
Showing 293 changed files with 2,127 additions and 60 deletions.
14 changes: 14 additions & 0 deletions TODOs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Run as admin
proenv.bat

Get GitHub

pip install jupyter notebook

broken link on kycafos shapefile - Repair data source

Bring CAFO notebook over

Bring CAFO frozen graph over

Bring Label map
13 changes: 9 additions & 4 deletions doc/.ipynb_checkpoints/Step1_DataPreparation-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
" # <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/python.png\"></img>\n",
"<img src=\"img/python.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 1: Data Preparation</span>"
]
Expand Down Expand Up @@ -114,7 +114,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# Set reference to our map, cafos layer, a layout object, and an output directory\n",
Expand Down Expand Up @@ -148,7 +150,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# Main iteration loop\n",
Expand Down Expand Up @@ -192,6 +196,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true,
"scrolled": false
},
"outputs": [],
Expand Down Expand Up @@ -224,7 +229,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/python.png\"></img>\n",
"<img src=\"img/robot.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 2: Annotation and Labeling of the Images</span>"
]
Expand Down Expand Up @@ -76,7 +76,6 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
Expand All @@ -100,7 +99,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
43 changes: 27 additions & 16 deletions doc/.ipynb_checkpoints/Step3_TrainTestSplit-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/python.png\"></img>\n",
"<img src=\"img/robot.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 3: Split Labeled Images into Train/Test Samples</span>"
]
Expand Down Expand Up @@ -40,48 +40,59 @@
]
},
{
"attachments": {},
"cell_type": "markdown",
"metadata": {},
"source": [
"SpaceNet\n",
"## Other Sources of Labeled Training Data"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You can also leverage a wealth of pre-annotated imagery and labeled training data for a variety of purposes. The following resources can help:"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"#### SpaceNet\n",
"A Corpus of commercial satellite imagery and labeled training data – could be used to expand on our land classification work:\n",
"\n",
"https://aws.amazon.com/public-datasets/spacenet/\n",
"\n",
"SAT-4 & SAT-6\n",
"#### SAT-4 & SAT-6\n",
"Barren land, trees, grassland, roads, buildings and water bodies\n",
"\n",
"http://csc.lsu.edu/~saikat/deepsat/\n",
"\n",
"DSTL\n",
"#### DSTL\n",
"Buildings, Manmade structures, Road, Track, Trees, Crops, Waterway, Standing water, Vehicle Large, Vehicle Small\n",
"\n",
"https://www.kaggle.com/c/dstl-satellite-imagery-feature-detection/data\n",
"\n",
"Cars Overhead With Context (COWC)\n",
"#### Cars Overhead With Context (COWC)\n",
"Annotated cars from overhead\n",
"\n",
"https://gdo-datasci.ucllnl.org/cowc/\n",
"\n",
"Slums and informal settlements\n",
"#### Slums and informal settlements\n",
"\n",
"https://www.kaggle.com/fedebayle/slums-argentina\n",
"\n",
"PlanesNet\n",
"#### PlanesNet\n",
"Planes in Satellite Imagery\n",
"\n",
"https://www.kaggle.com/rhammell/planesnet"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
"cell_type": "markdown",
"metadata": {},
"source": [
"## Contribute Your Own!"
]
}
],
"metadata": {
Expand All @@ -100,7 +111,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
12 changes: 7 additions & 5 deletions doc/.ipynb_checkpoints/Step4_CreateTFRecords-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/robo.jpg\"></img>\n",
"<img src=\"img/robot.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 4: Generate TF Records from the train/test splits</span>"
]
Expand All @@ -29,7 +29,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Conversion from XML files to singular CSVs"
"## 1. Conversion from XML files to singular CSVs"
]
},
{
Expand Down Expand Up @@ -80,7 +80,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"os.chdir(\"\") # Set workspace path\n",
Expand All @@ -105,7 +107,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Conversion of singular CSVs to TFRecords"
"## 2. Conversion of singular CSVs to TFRecords"
]
},
{
Expand Down Expand Up @@ -151,7 +153,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
8 changes: 5 additions & 3 deletions doc/.ipynb_checkpoints/Step5_SetConfigFiles-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/robo.jpg\"></img>\n",
"<img src=\"img/robot.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 5: Set up a configuration file containing CNN hyperparameters and a label file containing your object classes</span>"
]
Expand Down Expand Up @@ -174,7 +174,9 @@
"metadata": {},
"source": [
"#### Activation function\n",
"The function used to determine if a neuron will \"fire\" or not. "
"The function used to determine if a neuron will \"fire\" or not. \n",
"\n",
"<img src=\"img/relu.png\" style=\"width:50%\"></img>"
]
},
{
Expand Down Expand Up @@ -473,7 +475,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
4 changes: 1 addition & 3 deletions doc/.ipynb_checkpoints/Step6_Training-checkpoint.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
"source": [
"# <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/robo.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 6: Neural Network Training!</span>"
]
},
Expand Down Expand Up @@ -119,7 +117,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/robo.jpg\"></img>\n",
"<img src=\"img/robot.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 7: Export an inference graph from the new trained model</span>"
]
Expand Down Expand Up @@ -51,7 +51,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### Very easy!"
"### Quite straightforward."
]
}
],
Expand All @@ -71,7 +71,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/robo.jpg\"></img>\n",
"<img src=\"img/robot.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 8: Detect CAFO sites!</span>"
]
Expand Down Expand Up @@ -321,7 +321,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.1"
}
},
"nbformat": 4,
Expand Down
13 changes: 9 additions & 4 deletions doc/Step1_DataPreparation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
" # <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/python.png\"></img>\n",
"<img src=\"img/python.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 1: Data Preparation</span>"
]
Expand Down Expand Up @@ -114,7 +114,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# Set reference to our map, cafos layer, a layout object, and an output directory\n",
Expand Down Expand Up @@ -148,7 +150,9 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"# Main iteration loop\n",
Expand Down Expand Up @@ -192,6 +196,7 @@
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true,
"scrolled": false
},
"outputs": [],
Expand Down Expand Up @@ -224,7 +229,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.5.3"
"version": "3.6.6"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions doc/Step2_Annotation_and_Labeling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"source": [
"# <span style=\"color:purple\">GIS and Machine Learning for Object Detection in Satellite Imagery</span>\n",
"\n",
"<img src=\"img/python.png\"></img>\n",
"<img src=\"img/robot.jpg\"></img>\n",
"\n",
"## <span style=\"color:blue\">Step 2: Annotation and Labeling of the Images</span>"
]
Expand Down Expand Up @@ -99,7 +99,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.1"
"version": "3.6.6"
}
},
"nbformat": 4,
Expand Down
Loading

0 comments on commit 54cf797

Please sign in to comment.