-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support glob expression for predict.src_las (#15)
* Support glob expression for predict.src_las * Add condition to save docke rimage on push only
- Loading branch information
1 parent
d4bd918
commit bab20e7
Showing
4 changed files
with
43 additions
and
15 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
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,11 +1,20 @@ | ||
src_las: "/path/to/input.las" | ||
output_dir: "/path/to/output_dir/" | ||
resume_from_checkpoint: "/path/to/lightning_model.ckpt" | ||
src_las: "/path/to/input.las" # Any glob pattern can be used to predict on multiple files. | ||
output_dir: "/path/to/output_dir/" # Predictions are saved in a new file which shares src_las basename. | ||
resume_from_checkpoint: "/path/to/lightning_model.ckpt" # Checkpoint of trained model. | ||
gpus: 0 # 0 for none, 1 for one, [gpu_id] to specify which gpu to use e.g [1] | ||
|
||
probas_to_save: "all" # override with a list of string matching class names to select specific probas to save | ||
# Speifying the ouptut: | ||
# A list of string matching class names to select specific probas to save | ||
# OR keyword "all" to save all probabilities. | ||
# In addition, these dimensions are always created: | ||
# - `PredictedClassification`: predicted classification based on argmax, with classes | ||
# specified by datamodule.dataset_description class dictionary. | ||
# - entropy`: Shannon entropy of predicted probabilities | ||
probas_to_save: "all" | ||
|
||
# Relative to how probas are interpolated | ||
# e.g. subtile_overlap=25 to use a sliding window of inference of whihc predictions will be merged. | ||
# Probas interpolation parameters | ||
# subtile_overlap=25 to use a sliding window of inference of which predictions will be merged. | ||
# This comes with a computing cost as the effective predicted area is multiplied. | ||
subtile_overlap: 0 | ||
# Higher interpolation_k to use more context | ||
interpolation_k: 10 |
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