-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ch/dev extra tiles #8
Closed
Closed
Conversation
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
… script Former-commit-id: b5fcae0
Former-commit-id: 8ad4d4f
Former-commit-id: 571088a
Former-commit-id: d995e4e
…arallel processing needed Former-commit-id: ca794af
… test ones Former-commit-id: 554edf7
Former-commit-id: 8bf04a8
Former-commit-id: f4bbcbd
Former-commit-id: 43b8d9e
Former-commit-id: 4a09eb1
Former-commit-id: 6bc0c7d
Former-commit-id: 0f9b775
Former-commit-id: f9b898a
Former-commit-id: a704c58
Former-commit-id: 1b3bcce
Former-commit-id: 17673a2
Former-commit-id: c699aa4
Former-commit-id: bfb63e7
…d on the ALL dataset yet, only on the TRN, VAL, TST datasets Former-commit-id: f9482ea
Former-commit-id: 4de2fc3
Former-commit-id: 72f9767
Former-commit-id: 6ba9296
Former-commit-id: 7707d11
Former-commit-id: a7d7402
Former-commit-id: 8296bf4
…wimming-pool-detector into wms Former-commit-id: 50d1a51
Former-commit-id: afabcb8
Former-commit-id: dd9e525
Former-commit-id: 243da4d04c68fe8c67ce8339a7a3b99313fd348c
Former-commit-id: 4c870607e23b75223cb549dffd150ee20a98768c
Former-commit-id: fe16645a6ccc38990cbfa82e34f8452c55b139ff
Former-commit-id: 5cecd84284218524fd2dbfa476902212ce03701e
Former-commit-id: f954480da8c8b3472f1299b54061f64edad517f1
Outdated, branch replaced by ch/empty-tiles. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What?
New development of the
object-detector
in order to give the possibility to add empty tiles (not intersecting labels) to the images dataset to train the model.This version allows the end-user to specify directly in configuration files the number of tiles to download in when debug mode is enabled.
A quarry detection and monitoring example has been added. It provides the possibility to add or not empty tiles
Why?
Adding empty tiles might help the model learning performance and avoid FP detection. Add empty tiles to confront the model with landscape not being the object to detect.
Give the possibility to set in the config files the amount of tiles to download avoid to change it in the script
generate_tilesets.py
How?
EPT tiles are defined in the
prepare_data.py
file to prepare data for model training (config-trne.yaml
of the quarry example). The option can be enabled or not. The number of tiles to be added are defined as a percentage (tiles_frac) of the initial tiles number. Random tiles are selected within a given AOI discarding tiles intersecting the labels. The scriptgenerate_tilesets.py
has been modified with the addition of a new dataset 'EPT_tiles' in order to distribute the empty tiles in the following datasets: trn, val, tst or oth with a given fraction. The fraction of empty tiles added to each dataset is set in the config file where the end-user can choose the fraction of empty tiles to add to the trn dataset. The rest is divided between the val and tst datasets. If the 'empty_tiles' option is disabled in the config files while empty tiles were computed previously, then the tiles are assigned to oth dataset.An example 'quarry-detection-monitoring' has been added to the example folder of the project. README.md instructions help to run the workflow and allow testing the add empty tiles option.
Issue?
The main downside of the current example is the requirement of a DEM raster to execute
prediction_filter.py
. This raster file cannot be added to the git repo (too heavy) and has to be dl from another github repo (or it is stored on S3 and STDL kDrive for STDL people). A link is given to dl the file is provided but a projection conversion from EPSG:4326 to EPSG:2056 must be performed to be consistent with the other dataset projection. So far this re-projection is not included in the script and was done via QGIS. This should be added in further developments. Info about that is present in the README.md file.