floor-visualizer-gpu / visualizer.segformer.toml
github-actions[bot]
Automated Deploy: 68d5cff2736b313f6dfd11a1571c64ce37dccda6
9365782
Raw
History Blame Contribute Delete
1.32 kB
# CPU / low-VRAM preset using SegFormer as the primary segmentation model.
# Use this on CPU-only servers or while waiting for GPU quota approval.
# Run with:
# VISUALIZER_CONFIG=visualizer.segformer.toml uvicorn app:app --host 0.0.0.0 --port 8002
[models]
segmentation_model = "segformer"
segformer_model_name = "nvidia/segformer-b2-finetuned-ade-512-512"
depth_model_name = "Intel/dpt-large"
sam2_model_name = "facebook/sam2-hiera-large"
sam2_model_cfg = ""
sam2_checkpoint = ""
[runtime]
enable_depth_estimation = false
enable_plane_fit = true
enable_multi_plane_surfaces = true
enable_intrinsic_shading = false
enable_shading_transfer = true
enable_sam_refinement = false
data_dir = "data"
[surface_mapping]
ransac_distance_threshold = 0.04
max_planes = 5
normal_angle_threshold_degrees = 35
normal_smoothing_kernel = 5
min_plane_pixels = 1500
edge_close_ratio = 0.009
edge_kernel_ratio = 0.006
edge_dilation_iterations = 2
soft_floor_covering_expansion_enabled = true
soft_floor_covering_kernel_ratio = 0.008
soft_floor_covering_dilation_iterations = 2
uv_min_coverage = 0.995
uv_max_bad_neighbor_ratio = 0.035
uv_max_jump_ratio = 8.0
uv_absolute_jump_meters = 0.35
enable_geometry_surface_filter = false
plane_distance_threshold_meters = 0.12
plane_normal_min_cos = 0.45
plane_filter_min_keep_ratio = 0.45