Reset overlap in H3 spatial retries

This commit is contained in:
2026-09-04 08:48:20 +00:00
parent 027865b9ca
commit 7e45c81589
2 changed files with 26 additions and 5 deletions
+5 -5
View File
@@ -512,11 +512,11 @@ def _shrink_model_tile_param(param):
return None
next_param["grid_rows"] = rows
next_param["grid_cols"] = cols
next_param["spatial_w_overlap"] = _halve_32(next_param.get("spatial_w_overlap", 0))
next_param["spatial_h_overlap"] = _halve_32(next_param.get("spatial_h_overlap", 0))
next_param["fade_width"] = _halve_32(next_param.get("fade_width", 0))
next_param["fade_height"] = _halve_32(next_param.get("fade_height", 0))
next_param["min_tile_size"] = _halve_32(next_param.get("min_tile_size", 0))
next_param["spatial_w_overlap"] = 0
next_param["spatial_h_overlap"] = 0
next_param["fade_width"] = 0
next_param["fade_height"] = 0
next_param["min_tile_size"] = 32
return next_param
tile_w = int(next_param.get("tile_width", 0) or 0)