Download visualizer.local.toml from modventures/floor-visualizer-gpu: direct link, hf CLI and curl.
- Browser
- Download file 1.57 kB
-
https://huggingface.co/spaces/modventures/floor-visualizer-gpu/resolve/main/visualizer.local.toml
- Command line
-
hf download hf://spaces/modventures/floor-visualizer-gpu/visualizer.local.toml
-
curl -L -o visualizer.local.toml https://huggingface.co/spaces/modventures/floor-visualizer-gpu/resolve/main/visualizer.local.toml
1.57 kB
| # Lightweight local preset for CPU-only development on macOS. | |
| # Run with: | |
| # VISUALIZER_CONFIG=visualizer.local.toml uvicorn app:app --host 0.0.0.0 --port 8002 | |
| [models] | |
| oneformer_model_name = "shi-labs/oneformer_ade20k_swin_large" | |
| 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_wall_segments = true | |
| enable_intrinsic_shading = false | |
| enable_shading_transfer = false | |
| enable_fast_shadow_transfer = true | |
| fast_shadow_max_dimension = 640 | |
| enable_sam_refinement = false | |
| warm_start_models = true | |
| inference_max_dimension = 1024 | |
| bundle_image_format = "jpeg" | |
| bundle_image_quality = 92 | |
| data_dir = "data" | |
| [surface_mapping] | |
| ransac_distance_threshold = 0.04 | |
| max_planes = 1 | |
| # Walls have their own plane budget; the floor keeps max_planes above. | |
| wall_max_planes = 4 | |
| max_walls = 6 | |
| wall_work_max_dimension = 768 | |
| wall_edge_straighten_ratio = 0.004 | |
| 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 | |