-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📈 More training (Tuakau), upgrade dnn libraries
Improvements to keras model again by training on more data. This time using 0.1m resolution imagery from Waikato. Tuakau was chosen as it was close to Auckland, and had a good amount of greenhouses (tile bb32_4735) to decrease bias and increase detection by a bit on those types of shiny buildings. Model trained on 100 epochs, resuming from the previous checkpoint (Wigram and Hastings), bringing total training to 300 epochs. Mean_iou accuracy metric is now >90%. TQDM progress bars added in the data processing step. predict.py script now accepts a threshold value, so one can run something like `python predict.py 512 50` to get a building detector of size 512*512 and probabilty >50%. DNN libraries updated to CUDA 9, CUDNN 7.0.5, Keras 2.1.4, Tensorflow 1.5 (from https://github.com/mind/wheels). There is a known issue keras-team/keras#9394 in having to compile a loaded model before predict can work...
- Loading branch information
Showing
5 changed files
with
101 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
name: nz_convnet | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- dask | ||
- gdal | ||
- h5py | ||
- imagemagick | ||
- jupyterlab | ||
- keras>=2.1.3 | ||
- matplotlib | ||
- numpy | ||
- opencv | ||
- scikit-learn | ||
- scikit-image | ||
- tensorflow-gpu>=1.4.1 | ||
- pip: | ||
- pyscreenshot | ||
prefix: /home/user/miniconda3 | ||
name: nz_convnet | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
#- numba::cudatoolkit==9.0 | ||
#- cudnn==7.0.5 | ||
- dask | ||
- gdal | ||
- h5py | ||
- imagemagick | ||
- jupyterlab | ||
- matplotlib | ||
- numpy | ||
- opencv | ||
- scikit-learn | ||
- scikit-image | ||
- tqdm | ||
- pip: | ||
- pyscreenshot | ||
- keras==2.1.4 | ||
#- tensorflow==1.5 | ||
#- tensorflow-gpu==1.5 | ||
- https://github.com/mind/wheels/releases/download/tf1.5-gpu-nomkl/tensorflow-1.5.0-cp36-cp36m-linux_x86_64.whl | ||
prefix: /home/user/miniconda3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters