-
Notifications
You must be signed in to change notification settings - Fork 264
Update 3Dtrees: Detailview to v1.1.1 #1831
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
Open
kgerb
wants to merge
4
commits into
bgruening:master
Choose a base branch
from
3dTrees-earth:update_detailview_v1_1_1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -3,11 +3,12 @@ | |
| species prediction on segmented point cloud. | ||
| </description> | ||
| <macros> | ||
| <token name="@TOOL_VERSION@">1.1.0</token> | ||
| <token name="@VERSION_SUFFIX@">0</token> | ||
| <token name="@TOOL_VERSION@">1.1.1</token> | ||
| <token name="@VERSION_SUFFIX@">1</token> | ||
| </macros> | ||
| <requirements> | ||
| <container type="docker">ghcr.io/3dtrees-earth/3dtrees_detailview:@TOOL_VERSION@</container> | ||
| <!-- <container type="docker">ghcr.io/3dtrees-earth/3dtrees_detailview:@TOOL_VERSION@</container> --> | ||
| <container type="docker">docker.io/library/3dtrees-tool-3dtrees_detailview</container> | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is a version here missing? |
||
| </requirements> | ||
| <command detect_errors="exit_code"><![CDATA[ | ||
| ln -s '$input' input.laz && | ||
|
|
@@ -18,6 +19,8 @@ | |
| --n-aug '$n_aug' | ||
| --projection-backend '$projection_backend' | ||
| --model-path '$model_path' | ||
| --output-species-id-dim '$output_species_id_dim' | ||
| --output-species-prob-dim '$output_species_prob_dim' | ||
| --output-type both | ||
| ]]> | ||
| </command> | ||
|
|
@@ -33,6 +36,8 @@ | |
| <option value="/app/model_europe_v1" selected="true">Europe</option> | ||
| <option value="/app/model_global_v1">Global</option> | ||
| </param> | ||
| <param argument="--output-species-id-dim" type="text" value="species_id" label="Species ID Output Dimension" help="Name of the LAS extra dimension used for predicted species IDs."/> | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. validators? |
||
| <param argument="--output-species-prob-dim" type="text" value="species_prob" label="Species Probability Output Dimension" help="Name of the LAS extra dimension used for predicted species probabilities."/> | ||
| </inputs> | ||
| <outputs> | ||
| <data name="predictions_csv" format="csv" label="Species Predictions" from_work_dir="predictions.csv"/> | ||
|
|
@@ -46,8 +51,10 @@ | |
| <param name="n_aug" value="1"/> | ||
| <param name="projection_backend" value="torch"/> | ||
| <param name="model_path" value="/app/model_europe_v1"/> | ||
| <param name="output_species_id_dim" value="species_id"/> | ||
| <param name="output_species_prob_dim" value="species_prob"/> | ||
| <assert_stderr> | ||
| <has_n_lines n="35"/> | ||
| <has_n_lines n="25"/> | ||
| <has_text text="RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location=torch.device('cpu') to map your storages to the CPU."/> | ||
| </assert_stderr> | ||
| </test> | ||
|
|
@@ -75,6 +82,8 @@ This tool performs tree species classification on segmented 3D point clouds usin | |
| - **Model Region**: Select the trained model based on your data's geographic origin | ||
| - Europe: Model trained on European tree species data | ||
| - Global: Model trained on global tree species data | ||
| - **Species ID Output Dimension**: Name of the LAS extra dimension used for predicted species IDs | ||
| - **Species Probability Output Dimension**: Name of the LAS extra dimension used for predicted species probabilities | ||
|
|
||
| **Outputs** | ||
|
|
||
|
|
@@ -87,8 +96,9 @@ This tool performs tree species classification on segmented 3D point clouds usin | |
| - **predictions_probs.csv** | ||
| - Detailed probability matrix with probability for each species for each tree | ||
| - **pc_with_species.laz** | ||
| - species_id: Species classification | ||
| - species_prob: Classification confidence | ||
| - `species_id` by default: Species classification | ||
| - `species_prob` by default: Classification confidence | ||
| - Both output dimension names can be customized via the tool parameters | ||
|
|
||
| **Supported Species** | ||
|
|
||
|
|
||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.