Configuration
segment-lidar v0.1.5
Last updated
segment-lidar v0.1.5
Last updated
The segment_lidar module provides a set of parameters that can be used to configure the segmentation process. These parameters are passed to the SamLidar class as arguments when instantiating the class. The following table shows the parameters and their default values:
Parameter | Default value | Description |
---|---|---|
Here is an example of how to configure the parameters:
Additionally, the parameters of segment-anything can be configured as follows:
Please, refer to the segment-anything repository for more details about these parameters. See the complete arguments list of the SamLidar class here.
algorithm
"segment-geospatial"
Algorithm to use for segmentation. Possible values are: "segment-geospatial", "segment-anything".
ckpt_path
None
Path to the checkpoint file.
device
"cuda:0"
Device to use for inference.
model_type
"vit_h"
Type of the SAM model. Possible values are: "vit_h", "vit_l", "vit_b".
resolution
0.25
The resolution value of the created image raster.
sam_kwargs
False
Whether to use the SAM kwargs when using "segment-geospatial" as algorithm