diff --git a/flat/C1/.complete b/flat/C1/.complete new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/.complete_0.60 b/flat/C1/.complete_0.60 new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/mesh/w021_spliced_p8C1/meta.json b/flat/C1/mesh/w021_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..87f395fc2ea57446f090b3d639e98d2187509c1c --- /dev/null +++ b/flat/C1/mesh/w021_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3313.987060546875, 3784.201416015625, 10040.99609375], [4810.83154296875, 4463.05517578125, 11037.5615234375]], "area_vx2": 3009200.0, "model_source": "/workspace/flat/C1/w021_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w021_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w021_spliced_p8C1"}]}, "area_cm2": 1.5249420288000002} \ No newline at end of file diff --git a/flat/C1/mesh/w022_spliced_p8C1/meta.json b/flat/C1/mesh/w022_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3d4be7d3e60e5ee7855526f854965998f293f849 --- /dev/null +++ b/flat/C1/mesh/w022_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3293.095947265625, 3761.970703125, 10038.380859375], [4841.6171875, 4469.5205078125, 11039.630859375]], "area_vx2": 3173600.0, "model_source": "/workspace/flat/C1/w022_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w022_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w022_spliced_p8C1"}]}, "area_cm2": 1.596008448} \ No newline at end of file diff --git a/flat/C1/mesh/w023_spliced_p8C1/meta.json b/flat/C1/mesh/w023_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..d3de51672f955bd5842320e4e0c56dcd3936af53 --- /dev/null +++ b/flat/C1/mesh/w023_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3228.383544921875, 3743.572265625, 10039.7890625], [4854.89013671875, 4476.921875, 11036.6923828125]], "area_vx2": 3213200.0, "model_source": "/workspace/flat/C1/w023_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w023_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w023_spliced_p8C1"}]}, "area_cm2": 1.6524435456} \ No newline at end of file diff --git a/flat/C1/mesh/w024_spliced_p8C1/meta.json b/flat/C1/mesh/w024_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..7e20212ae74ce6655afca759b7f4df2d6f7a10ff --- /dev/null +++ b/flat/C1/mesh/w024_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3210.76171875, 3737.95849609375, 10040.8388671875], [4887.34814453125, 4482.9033203125, 11037.046875]], "area_vx2": 3381600.0, "model_source": "/workspace/flat/C1/w024_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w024_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w024_spliced_p8C1"}]}, "area_cm2": 1.7264959488000002} \ No newline at end of file diff --git a/flat/C1/mesh/w025_spliced_p8C1/meta.json b/flat/C1/mesh/w025_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..cb09710786471852be578cf8b0e089dd108cb78f --- /dev/null +++ b/flat/C1/mesh/w025_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3183.9697265625, 3722.73046875, 10045.18359375], [4913.06494140625, 4492.58203125, 11037.6396484375]], "area_vx2": 3543200.0, "model_source": "/workspace/flat/C1/w025_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w025_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w025_spliced_p8C1"}]}, "area_cm2": 1.7966665728} \ No newline at end of file diff --git a/flat/C1/mesh/w026_spliced_p8C1/meta.json b/flat/C1/mesh/w026_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..424b682baf5f879178e5d5936e2723b001f7b8c8 --- /dev/null +++ b/flat/C1/mesh/w026_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3167.404296875, 3706.703857421875, 10038.931640625], [4933.8740234375, 4504.5283203125, 11037.27734375]], "area_vx2": 3674800.0, "model_source": "/workspace/flat/C1/w026_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w026_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w026_spliced_p8C1"}]}, "area_cm2": 1.8695245824000002} \ No newline at end of file diff --git a/flat/C1/mesh/w027_spliced_p8C1/meta.json b/flat/C1/mesh/w027_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..5d05d5ae473145fd6ef6fd7539431cb64e50c012 --- /dev/null +++ b/flat/C1/mesh/w027_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3138.414794921875, 3695.940185546875, 10043.6357421875], [4950.2353515625, 4512.5263671875, 11036.01171875]], "area_vx2": 3819200.0, "model_source": "/workspace/flat/C1/w027_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w027_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w027_spliced_p8C1"}]}, "area_cm2": 1.9405910016000003} \ No newline at end of file diff --git a/flat/C1/mesh/w028_spliced_p8C1/meta.json b/flat/C1/mesh/w028_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..897cdf12d463507c3ecaa510500b119044edbf4b --- /dev/null +++ b/flat/C1/mesh/w028_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3109.53369140625, 3689.29150390625, 10045.28515625], [4956.5517578125, 4518.82763671875, 11036.873046875]], "area_vx2": 3989600.0, "model_source": "/workspace/flat/C1/w028_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w028_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w028_spliced_p8C1"}]}, "area_cm2": 2.0134490112} \ No newline at end of file diff --git a/flat/C1/mesh/w029_spliced_p8C1/meta.json b/flat/C1/mesh/w029_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..edebe8578732583d8f6650f5dd6cb34f27e5107d --- /dev/null +++ b/flat/C1/mesh/w029_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3087.827392578125, 3677.5244140625, 10042.390625], [4982.99462890625, 4532.689453125, 11037.693359375]], "area_vx2": 4134000.0, "model_source": "/workspace/flat/C1/w029_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w029_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w029_spliced_p8C1"}]}, "area_cm2": 2.0857098240000003} \ No newline at end of file diff --git a/flat/C1/mesh/w030_spliced_p8C1/meta.json b/flat/C1/mesh/w030_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..62b790bc6a91f87b9ee1e4d49541debf27395961 --- /dev/null +++ b/flat/C1/mesh/w030_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3043.498291015625, 3669.29150390625, 10042.1796875], [4982.4248046875, 4541.76513671875, 11037.2021484375]], "area_vx2": 4230800.0, "model_source": "/workspace/flat/C1/w030_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w030_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w030_spliced_p8C1"}]}, "area_cm2": 2.145429504} \ No newline at end of file diff --git a/flat/C1/mesh/w031_spliced_p8C1/meta.json b/flat/C1/mesh/w031_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..29c5d3da7e7a1454af04f4dcdbda40e23acdb26b --- /dev/null +++ b/flat/C1/mesh/w031_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3029.10693359375, 3666.65283203125, 10042.46875], [4988.583984375, 4554.4609375, 11037.9287109375]], "area_vx2": 4386000.0, "model_source": "/workspace/flat/C1/w031_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w031_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w031_spliced_p8C1"}]}, "area_cm2": 2.215600128} \ No newline at end of file diff --git a/flat/C1/mesh/w032_spliced_p8C1/meta.json b/flat/C1/mesh/w032_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..df26525de5ad80f2c990c47a7c271c995b386f76 --- /dev/null +++ b/flat/C1/mesh/w032_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3000.826416015625, 3653.69140625, 10041.1669921875], [5003.39208984375, 4565.8681640625, 11037.865234375]], "area_vx2": 4515200.0, "model_source": "/workspace/flat/C1/w032_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w032_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w032_spliced_p8C1"}]}, "area_cm2": 2.2884581376} \ No newline at end of file diff --git a/flat/C1/mesh/w033_spliced_p8C1/meta.json b/flat/C1/mesh/w033_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..00884944df2dacb3abb4d9f46586456c477ae841 --- /dev/null +++ b/flat/C1/mesh/w033_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2975.846923828125, 3646.6015625, 10041.783203125], [5029.20654296875, 4577.755859375, 11042.703125]], "area_vx2": 4673200.0, "model_source": "/workspace/flat/C1/w033_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w033_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w033_spliced_p8C1"}]}, "area_cm2": 2.3607189504000003} \ No newline at end of file diff --git a/flat/C1/mesh/w034_spliced_p8C1/meta.json b/flat/C1/mesh/w034_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..91a32f2baa869b21bca1d33db247bf4cbec7a33f --- /dev/null +++ b/flat/C1/mesh/w034_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2911.322509765625, 3641.369873046875, 10041.984375], [5051.95556640625, 4583.58154296875, 11037.8662109375]], "area_vx2": 4794000.0, "model_source": "/workspace/flat/C1/w034_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w034_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w034_spliced_p8C1"}]}, "area_cm2": 2.432083968} \ No newline at end of file diff --git a/flat/C1/mesh/w035_spliced_p8C1/meta.json b/flat/C1/mesh/w035_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..8628e15e2d9ded5cfa854ba1e1a51061a3fd8246 --- /dev/null +++ b/flat/C1/mesh/w035_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2878.889892578125, 3632.71923828125, 10041.548828125], [5086.53466796875, 4589.2041015625, 11037.8583984375]], "area_vx2": 4916000.0, "model_source": "/workspace/flat/C1/w035_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w035_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w035_spliced_p8C1"}]}, "area_cm2": 2.5034489856000004} \ No newline at end of file diff --git a/flat/C1/mesh/w036_spliced_p8C1/meta.json b/flat/C1/mesh/w036_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3d247bd0a8a3ce9b22f2f4747b227ac7f4a8e24d --- /dev/null +++ b/flat/C1/mesh/w036_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2837.844482421875, 3620.22607421875, 10040.9345703125], [5130.14013671875, 4603.3427734375, 11036.4326171875]], "area_vx2": 5006800.0, "model_source": "/workspace/flat/C1/w036_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w036_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w036_spliced_p8C1"}]}, "area_cm2": 2.5772027904000003} \ No newline at end of file diff --git a/flat/C1/mesh/w037_spliced_p8C1/meta.json b/flat/C1/mesh/w037_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..241dbcec8014b2cafa638c6326c13e905b5633cc --- /dev/null +++ b/flat/C1/mesh/w037_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2828.55810546875, 3606.995849609375, 10039.93359375], [5133.1650390625, 4603.7470703125, 11037.50390625]], "area_vx2": 5110800.0, "model_source": "/workspace/flat/C1/w037_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w037_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w037_spliced_p8C1"}]}, "area_cm2": 2.6360266752} \ No newline at end of file diff --git a/flat/C1/mesh/w038_spliced_p8C1/meta.json b/flat/C1/mesh/w038_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..be9980bffddc5bf11b145718eb54bae47190e385 --- /dev/null +++ b/flat/C1/mesh/w038_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2824.51513671875, 3599.899658203125, 10041.6669921875], [5172.39208984375, 4625.3330078125, 11040.1337890625]], "area_vx2": 5251200.0, "model_source": "/workspace/flat/C1/w038_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w038_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w038_spliced_p8C1"}]}, "area_cm2": 2.7085860864000004} \ No newline at end of file diff --git a/flat/C1/mesh/w039_spliced_p8C1/meta.json b/flat/C1/mesh/w039_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3f86d871f8d6afbbe643247912a66ef72bb12c7c --- /dev/null +++ b/flat/C1/mesh/w039_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2794.60546875, 3597.071044921875, 10041.732421875], [5217.59814453125, 4623.8173828125, 11037.32421875]], "area_vx2": 5390400.0, "model_source": "/workspace/flat/C1/w039_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w039_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w039_spliced_p8C1"}]}, "area_cm2": 2.7820412928000002} \ No newline at end of file diff --git a/flat/C1/mesh/w040_spliced_p8C1/meta.json b/flat/C1/mesh/w040_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..0b48e7986d5d80672894f07d7b4b16e68cc8a686 --- /dev/null +++ b/flat/C1/mesh/w040_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2769.332275390625, 3581.570556640625, 10042.5283203125], [5268.87353515625, 4644.95703125, 11038.095703125]], "area_vx2": 5537200.0, "model_source": "/workspace/flat/C1/w040_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w040_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w040_spliced_p8C1"}]}, "area_cm2": 2.8551979008000004} \ No newline at end of file diff --git a/flat/C1/mesh/w041_spliced_p8C1/meta.json b/flat/C1/mesh/w041_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..292d8a9daf067f2e55edac6f1799fa759625ccad --- /dev/null +++ b/flat/C1/mesh/w041_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2767.4736328125, 3575.819091796875, 10041.24609375], [5287.8251953125, 4646.88427734375, 11038.26953125]], "area_vx2": 5680800.0, "model_source": "/workspace/flat/C1/w041_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w041_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w041_spliced_p8C1"}]}, "area_cm2": 2.9295489024} \ No newline at end of file diff --git a/flat/C1/mesh/w042_spliced_p8C1/meta.json b/flat/C1/mesh/w042_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..54156ebc79588e2d903edd7666a789baa91b9756 --- /dev/null +++ b/flat/C1/mesh/w042_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2743.691650390625, 3558.853271484375, 10042.53125], [5328.06494140625, 4656.62353515625, 11038.39453125]], "area_vx2": 5841200.0, "model_source": "/workspace/flat/C1/w042_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w042_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w042_spliced_p8C1"}]}, "area_cm2": 3.0018097152000003} \ No newline at end of file diff --git a/flat/C1/mesh/w043_spliced_p8C1/meta.json b/flat/C1/mesh/w043_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..fd5ead17cb1cacf81dccd0998468f600c37c37d2 --- /dev/null +++ b/flat/C1/mesh/w043_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2710.4970703125, 3548.6982421875, 10043.28515625], [5349.6787109375, 4667.3447265625, 11038.3212890625]], "area_vx2": 5873600.0, "model_source": "/workspace/flat/C1/w043_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w043_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w043_spliced_p8C1"}]}, "area_cm2": 3.0573490176000004} \ No newline at end of file diff --git a/flat/C1/mesh/w044_spliced_p8C1/meta.json b/flat/C1/mesh/w044_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..d114ac1c577725dec6ca5d0090857424f2067fdf --- /dev/null +++ b/flat/C1/mesh/w044_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2689.529052734375, 3534.430419921875, 10040.4755859375], [5365.513671875, 4673.7021484375, 11039.4501953125]], "area_vx2": 6011600.0, "model_source": "/workspace/flat/C1/w044_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w044_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w044_spliced_p8C1"}]}, "area_cm2": 3.1305056256} \ No newline at end of file diff --git a/flat/C1/mesh/w045_spliced_p8C1/meta.json b/flat/C1/mesh/w045_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..40d9ae74da873d9ebe36de9663dbe67c27fed324 --- /dev/null +++ b/flat/C1/mesh/w045_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2633.576171875, 3528.418212890625, 10041.8505859375], [5404.4501953125, 4678.47314453125, 11038.3994140625]], "area_vx2": 6224000.0, "model_source": "/workspace/flat/C1/w045_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w045_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w045_spliced_p8C1"}]}, "area_cm2": 3.2021692416} \ No newline at end of file diff --git a/flat/C1/mesh/w046_spliced_p8C1/meta.json b/flat/C1/mesh/w046_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..4ea7489f3817277c83875906d4ef6cbf720e89b1 --- /dev/null +++ b/flat/C1/mesh/w046_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2576.848876953125, 3518.64794921875, 10039.9833984375], [5475.09765625, 4688.09326171875, 11038.150390625]], "area_vx2": 6366400.0, "model_source": "/workspace/flat/C1/w046_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w046_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w046_spliced_p8C1"}]}, "area_cm2": 3.2780132352000004} \ No newline at end of file diff --git a/flat/C1/mesh/w047_spliced_p8C1/meta.json b/flat/C1/mesh/w047_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..a89b03881979ea27054599113b3e85d941947126 --- /dev/null +++ b/flat/C1/mesh/w047_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2528.5341796875, 3511.636962890625, 10038.0419921875], [5501.62158203125, 4696.845703125, 11039.0849609375]], "area_vx2": 6521600.0, "model_source": "/workspace/flat/C1/w047_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w047_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w047_spliced_p8C1"}]}, "area_cm2": 3.3532600320000006} \ No newline at end of file diff --git a/flat/C1/mesh/w048_spliced_p8C1/meta.json b/flat/C1/mesh/w048_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..b2f018f9bae9cba96d42305c987e586e39094e1b --- /dev/null +++ b/flat/C1/mesh/w048_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2507.075439453125, 3503.56689453125, 10040.701171875], [5540.03564453125, 4710.08544921875, 11039.59765625]], "area_vx2": 6678400.0, "model_source": "/workspace/flat/C1/w048_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w048_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w048_spliced_p8C1"}]}, "area_cm2": 3.4276110336000003} \ No newline at end of file diff --git a/flat/C1/mesh/w049_spliced_p8C1/meta.json b/flat/C1/mesh/w049_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..7dc63af6a165863fc92cbf21495fc23d57c20b36 --- /dev/null +++ b/flat/C1/mesh/w049_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2483.251708984375, 3496.487060546875, 10037.0087890625], [5586.138671875, 4718.09912109375, 11039.94921875]], "area_vx2": 6861600.0, "model_source": "/workspace/flat/C1/w049_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w049_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w049_spliced_p8C1"}]}, "area_cm2": 3.5010662400000006} \ No newline at end of file diff --git a/flat/C1/mesh/w050_spliced_p8C1/meta.json b/flat/C1/mesh/w050_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..88fddae508d5205a693d923318557465d8fc4e65 --- /dev/null +++ b/flat/C1/mesh/w050_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2459.70751953125, 3489.037353515625, 10042.609375], [5589.25439453125, 4739.0263671875, 11038.453125]], "area_vx2": 6960400.0, "model_source": "/workspace/flat/C1/w050_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w050_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w050_spliced_p8C1"}]}, "area_cm2": 3.5572027392} \ No newline at end of file diff --git a/flat/C1/mesh/w051_spliced_p8C1/meta.json b/flat/C1/mesh/w051_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..d7295d93213b4d7dbb13cbc2442e8388403cb9de --- /dev/null +++ b/flat/C1/mesh/w051_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2444.303466796875, 3474.4052734375, 10043.35546875], [5608.4072265625, 4756.76904296875, 11038.31640625]], "area_vx2": 7137200.0, "model_source": "/workspace/flat/C1/w051_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w051_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w051_spliced_p8C1"}]}, "area_cm2": 3.6318523392} \ No newline at end of file diff --git a/flat/C1/mesh/w052_spliced_p8C1/meta.json b/flat/C1/mesh/w052_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..85e68ed36813fe6d9f72d4d33ebfa19469c5b50d --- /dev/null +++ b/flat/C1/mesh/w052_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2389.5732421875, 3473.154052734375, 10043.2421875], [5645.7421875, 4764.837890625, 11038.7509765625]], "area_vx2": 7304000.0, "model_source": "/workspace/flat/C1/w052_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w052_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w052_spliced_p8C1"}]}, "area_cm2": 3.7062033408000006} \ No newline at end of file diff --git a/flat/C1/mesh/w053_spliced_p8C1/meta.json b/flat/C1/mesh/w053_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..bbfd0d49b038ec1e8d97c5c2652291b16acd5737 --- /dev/null +++ b/flat/C1/mesh/w053_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2345.82080078125, 3457.41748046875, 10042.9189453125], [5675.20361328125, 4779.61669921875, 11039.142578125]], "area_vx2": 7511200.0, "model_source": "/workspace/flat/C1/w053_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w053_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w053_spliced_p8C1"}]}, "area_cm2": 3.7760753664000006} \ No newline at end of file diff --git a/flat/C1/mesh/w054_spliced_p8C1/meta.json b/flat/C1/mesh/w054_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..027b629b2b2ba29f4c92eab29a703e101bcce26e --- /dev/null +++ b/flat/C1/mesh/w054_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2316.354736328125, 3456.75146484375, 10043.3828125], [5733.05517578125, 4800.818359375, 11039.4560546875]], "area_vx2": 7795600.0, "model_source": "/workspace/flat/C1/w054_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w054_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w054_spliced_p8C1"}]}, "area_cm2": 3.8492319744000008} \ No newline at end of file diff --git a/flat/C1/mesh/w055_spliced_p8C1/meta.json b/flat/C1/mesh/w055_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..9ec522a8883c709b7d98e4348b7cef9e6623cdad --- /dev/null +++ b/flat/C1/mesh/w055_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2308.144287109375, 3448.461181640625, 10041.9091796875], [5788.15869140625, 4811.60302734375, 11039.2177734375]], "area_vx2": 8076400.0, "model_source": "/workspace/flat/C1/w055_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w055_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w055_spliced_p8C1"}]}, "area_cm2": 3.9214927872000005} \ No newline at end of file diff --git a/flat/C1/mesh/w056_spliced_p8C1/meta.json b/flat/C1/mesh/w056_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..9c6ee36253b58e87b6731a3d9dd25c63cb45eb68 --- /dev/null +++ b/flat/C1/mesh/w056_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2266.457763671875, 3437.4716796875, 10042.724609375], [5831.87158203125, 4825.751953125, 11040.7041015625]], "area_vx2": 8247600.0, "model_source": "/workspace/flat/C1/w056_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w056_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w056_spliced_p8C1"}]}, "area_cm2": 3.9979339776000007} \ No newline at end of file diff --git a/flat/C1/mesh/w057_spliced_p8C1/meta.json b/flat/C1/mesh/w057_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..98860852ef918900e269b1e9bab68f4bd4185e0d --- /dev/null +++ b/flat/C1/mesh/w057_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2232.255859375, 3424.96728515625, 10040.6259765625], [5836.19482421875, 4842.23779296875, 11038.8203125]], "area_vx2": 8339200.0, "model_source": "/workspace/flat/C1/w057_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w057_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w057_spliced_p8C1"}]}, "area_cm2": 4.0552648704} \ No newline at end of file diff --git a/flat/C1/mesh/w058_spliced_p8C1/meta.json b/flat/C1/mesh/w058_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..8ecd11de6486a8cbebf005aa5397cc2dd8d82464 --- /dev/null +++ b/flat/C1/mesh/w058_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2190.794677734375, 3417.058349609375, 10041.70703125], [5874.29736328125, 4847.88623046875, 11042.3486328125]], "area_vx2": 8401200.0, "model_source": "/workspace/flat/C1/w058_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w058_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w058_spliced_p8C1"}]}, "area_cm2": 4.131108864000001} \ No newline at end of file diff --git a/flat/C1/mesh/w059_spliced_p8C1/meta.json b/flat/C1/mesh/w059_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e5a8710e1f77da327249a3caf12629415c4172f8 --- /dev/null +++ b/flat/C1/mesh/w059_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2168.69775390625, 3413.6923828125, 10044.6396484375], [5909.11669921875, 4852.80712890625, 11040.6142578125]], "area_vx2": 8498400.0, "model_source": "/workspace/flat/C1/w059_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w059_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w059_spliced_p8C1"}]}, "area_cm2": 4.201279488} \ No newline at end of file diff --git a/flat/C1/mesh/w060_spliced_p8C1/meta.json b/flat/C1/mesh/w060_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..300a4ed5025f6f27cc2202f6827530e773302877 --- /dev/null +++ b/flat/C1/mesh/w060_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2203.499755859375, 3403.51708984375, 10041.53125], [5937.76123046875, 4868.07666015625, 11040.775390625]], "area_vx2": 8615600.0, "model_source": "/workspace/flat/C1/w060_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w060_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w060_spliced_p8C1"}]}, "area_cm2": 4.2717487104} \ No newline at end of file diff --git a/flat/C1/mesh/w061_spliced_p8C1/meta.json b/flat/C1/mesh/w061_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..9f759c3816730d8639e6f850fca1f3b4c8871759 --- /dev/null +++ b/flat/C1/mesh/w061_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2171.94580078125, 3394.8642578125, 10040.4560546875], [5966.69921875, 4878.8310546875, 11039.2177734375]], "area_vx2": 8811200.0, "model_source": "/workspace/flat/C1/w061_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w061_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w061_spliced_p8C1"}]}, "area_cm2": 4.338634752000001} \ No newline at end of file diff --git a/flat/C1/mesh/w062_spliced_p8C1/meta.json b/flat/C1/mesh/w062_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..442c7b4e032b0d16e08a07bd251a81f830450a47 --- /dev/null +++ b/flat/C1/mesh/w062_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2137.01318359375, 3379.918212890625, 10042.3935546875], [5994.5791015625, 4892.02490234375, 11037.794921875]], "area_vx2": 9002800.0, "model_source": "/workspace/flat/C1/w062_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w062_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w062_spliced_p8C1"}]}, "area_cm2": 4.407312384} \ No newline at end of file diff --git a/flat/C1/mesh/w063_spliced_p8C1/meta.json b/flat/C1/mesh/w063_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..a38411ddf53d2f0ff6d51ce6cf6c0a9fa338f991 --- /dev/null +++ b/flat/C1/mesh/w063_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2116.299072265625, 3373.504638671875, 10044.849609375], [6016.8447265625, 4904.498046875, 11037.9013671875]], "area_vx2": 9152800.0, "model_source": "/workspace/flat/C1/w063_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w063_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w063_spliced_p8C1"}]}, "area_cm2": 4.4637474816000005} \ No newline at end of file diff --git a/flat/C1/mesh/w064_spliced_p8C1/meta.json b/flat/C1/mesh/w064_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..68b3b10d1c409458da939e1103c18476df721616 --- /dev/null +++ b/flat/C1/mesh/w064_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2119.593017578125, 3355.70361328125, 10043.048828125], [6041.85400390625, 4914.267578125, 11039.7578125]], "area_vx2": 9464000.0, "model_source": "/workspace/flat/C1/w064_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w064_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w064_spliced_p8C1"}]}, "area_cm2": 4.5377998848} \ No newline at end of file diff --git a/flat/C1/mesh/w065_spliced_p8C1/meta.json b/flat/C1/mesh/w065_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..305ae1e81357de763be37aeb4dec72d08875092a --- /dev/null +++ b/flat/C1/mesh/w065_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2060.7724609375, 3341.86083984375, 10044.8359375], [6097.00634765625, 4932.10205078125, 11038.732421875]], "area_vx2": 9736400.0, "model_source": "/workspace/flat/C1/w065_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w065_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w065_spliced_p8C1"}]}, "area_cm2": 4.6079705088} \ No newline at end of file diff --git a/flat/C1/mesh/w066_spliced_p8C1/meta.json b/flat/C1/mesh/w066_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..cd80a9fcf7a5efa05fed8cfcd353b3a4bb2ce4f7 --- /dev/null +++ b/flat/C1/mesh/w066_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1940.31103515625, 3341.967041015625, 10038.982421875], [6152.78466796875, 4947.73095703125, 11040.1796875]], "area_vx2": 10020800.0, "model_source": "/workspace/flat/C1/w066_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w066_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w066_spliced_p8C1"}]}, "area_cm2": 4.680529920000001} \ No newline at end of file diff --git a/flat/C1/mesh/w067_spliced_p8C1/meta.json b/flat/C1/mesh/w067_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..a1d398045d4ed4f1c3b36df68dfb229225cee237 --- /dev/null +++ b/flat/C1/mesh/w067_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1924.047607421875, 3317.52197265625, 10043.7890625], [6214.00537109375, 4962.67138671875, 11042.3671875]], "area_vx2": 10226000.0, "model_source": "/workspace/flat/C1/w067_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w067_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w067_spliced_p8C1"}]}, "area_cm2": 4.753686528000001} \ No newline at end of file diff --git a/flat/C1/mesh/w068_spliced_p8C1/meta.json b/flat/C1/mesh/w068_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..575834e9b9cd5953cc61c92391a895d9caaca9b2 --- /dev/null +++ b/flat/C1/mesh/w068_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1916.386962890625, 3323.359130859375, 10041.3525390625], [6236.6181640625, 4976.95556640625, 11040.228515625]], "area_vx2": 10370400.0, "model_source": "/workspace/flat/C1/w068_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w068_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w068_spliced_p8C1"}]}, "area_cm2": 4.826843136} \ No newline at end of file diff --git a/flat/C1/mesh/w069_spliced_p8C1/meta.json b/flat/C1/mesh/w069_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..dde3bedff6d4ffe2db4bbcbb6545611b81117e32 --- /dev/null +++ b/flat/C1/mesh/w069_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1889.2581787109375, 3310.5048828125, 10043.0419921875], [6270.052734375, 4988.68359375, 11038.98046875]], "area_vx2": 10505200.0, "model_source": "/workspace/flat/C1/w069_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w069_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w069_spliced_p8C1"}]}, "area_cm2": 4.9017913344} \ No newline at end of file diff --git a/flat/C1/mesh/w070_spliced_p8C1/meta.json b/flat/C1/mesh/w070_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..d12c94501b306356760d83692a40490a88b401d9 --- /dev/null +++ b/flat/C1/mesh/w070_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1868.629150390625, 3297.642578125, 10042.8076171875], [6300.4921875, 5002.880859375, 11041.1494140625]], "area_vx2": 10622000.0, "model_source": "/workspace/flat/C1/w070_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w070_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w070_spliced_p8C1"}]}, "area_cm2": 4.958226432000001} \ No newline at end of file diff --git a/flat/C1/mesh/w071_spliced_p8C1/meta.json b/flat/C1/mesh/w071_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..6948fcf554fb1e3d3500250de91d74ce7e176d43 --- /dev/null +++ b/flat/C1/mesh/w071_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1845.516845703125, 3292.03125, 10043.49609375], [6317.44140625, 5011.38037109375, 11039.6728515625]], "area_vx2": 10708400.0, "model_source": "/workspace/flat/C1/w071_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w071_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w071_spliced_p8C1"}]}, "area_cm2": 5.0304872448} \ No newline at end of file diff --git a/flat/C1/mesh/w072_spliced_p8C1/meta.json b/flat/C1/mesh/w072_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..0fe2832ba4ed12a765d341a41ce2af45e34af1d6 --- /dev/null +++ b/flat/C1/mesh/w072_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1838.3912353515625, 3279.876220703125, 10039.79296875], [6333.8876953125, 5028.43603515625, 11040.9140625]], "area_vx2": 10924800.0, "model_source": "/workspace/flat/C1/w072_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w072_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w072_spliced_p8C1"}]}, "area_cm2": 5.1036438528} \ No newline at end of file diff --git a/flat/C1/mesh/w073_spliced_p8C1/meta.json b/flat/C1/mesh/w073_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..965014e92150ee5ec9787341462912ef6fc51548 --- /dev/null +++ b/flat/C1/mesh/w073_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1817.5263671875, 3269.7587890625, 10042.5634765625], [6352.87255859375, 5048.439453125, 11038.876953125]], "area_vx2": 11032000.0, "model_source": "/workspace/flat/C1/w073_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w073_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w073_spliced_p8C1"}]}, "area_cm2": 5.1741130752} \ No newline at end of file diff --git a/flat/C1/mesh/w074_spliced_p8C1/meta.json b/flat/C1/mesh/w074_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..457af02e1f407bd77157002a95823116687ce68a --- /dev/null +++ b/flat/C1/mesh/w074_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1773.924072265625, 3251.833740234375, 10042.7060546875], [6363.29736328125, 5056.1728515625, 11038.4345703125]], "area_vx2": 11118000.0, "model_source": "/workspace/flat/C1/w074_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w074_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w074_spliced_p8C1"}]}, "area_cm2": 5.246373888000001} \ No newline at end of file diff --git a/flat/C1/mesh/w075_spliced_p8C1/meta.json b/flat/C1/mesh/w075_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..2db457fa7cf7d26ec7523726449f3814a76e1280 --- /dev/null +++ b/flat/C1/mesh/w075_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1765.6978759765625, 3248.061767578125, 10041.9384765625], [6411.40576171875, 5073.1162109375, 11039.4609375]], "area_vx2": 11259200.0, "model_source": "/workspace/flat/C1/w075_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w075_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w075_spliced_p8C1"}]}, "area_cm2": 5.3237108736000005} \ No newline at end of file diff --git a/flat/C1/mesh/w076_spliced_p8C1/meta.json b/flat/C1/mesh/w076_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3647b943e344d0c5ac044607fe01d4594af31f12 --- /dev/null +++ b/flat/C1/mesh/w076_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1742.625732421875, 3231.878662109375, 10042.404296875], [6433.4638671875, 5092.0078125, 11040.2548828125]], "area_vx2": 11420800.0, "model_source": "/workspace/flat/C1/w076_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w076_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w076_spliced_p8C1"}]}, "area_cm2": 5.395673088000001} \ No newline at end of file diff --git a/flat/C1/mesh/w077_spliced_p8C1/meta.json b/flat/C1/mesh/w077_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..99292afe119f56a23972f4bd6cff132dd193812c --- /dev/null +++ b/flat/C1/mesh/w077_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1728.5452880859375, 3213.372314453125, 10041.9052734375], [6438.83349609375, 5104.27734375, 11040.2744140625]], "area_vx2": 11462800.0, "model_source": "/workspace/flat/C1/w077_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w077_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w077_spliced_p8C1"}]}, "area_cm2": 5.4547955712} \ No newline at end of file diff --git a/flat/C1/mesh/w078_spliced_p8C1/meta.json b/flat/C1/mesh/w078_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3dd85cb00f49d13479d1d228667152266f52192e --- /dev/null +++ b/flat/C1/mesh/w078_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1711.655517578125, 3202.345703125, 10041.85546875], [6522.84619140625, 5120.689453125, 11039.828125]], "area_vx2": 11581200.0, "model_source": "/workspace/flat/C1/w078_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w078_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w078_spliced_p8C1"}]}, "area_cm2": 5.5231746048} \ No newline at end of file diff --git a/flat/C1/mesh/w079_spliced_p8C1/meta.json b/flat/C1/mesh/w079_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..2a443c3ff51eeb8b2150f4cbe1e1ad49c22021ab --- /dev/null +++ b/flat/C1/mesh/w079_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1705.312255859375, 3182.445556640625, 10043.73046875], [6535.95458984375, 5131.107421875, 11038.6552734375]], "area_vx2": 11669200.0, "model_source": "/workspace/flat/C1/w079_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w079_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w079_spliced_p8C1"}]}, "area_cm2": 5.592748032} \ No newline at end of file diff --git a/flat/C1/mesh/w080_spliced_p8C1/meta.json b/flat/C1/mesh/w080_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..06d639540b1c1db8d468d5af78ad62f5ddb9354b --- /dev/null +++ b/flat/C1/mesh/w080_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1680.961181640625, 3169.450439453125, 10040.1748046875], [6581.23046875, 5145.095703125, 11040.1552734375]], "area_vx2": 11882400.0, "model_source": "/workspace/flat/C1/w080_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w080_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w080_spliced_p8C1"}]}, "area_cm2": 5.666800435200001} \ No newline at end of file diff --git a/flat/C1/mesh/w081_spliced_p8C1/meta.json b/flat/C1/mesh/w081_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..59c829407d7611c362a7fa37cb660917ac1120b5 --- /dev/null +++ b/flat/C1/mesh/w081_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1669.02490234375, 3152.00439453125, 10041.294921875], [6602.021484375, 5165.826171875, 11039.8505859375]], "area_vx2": 11994000.0, "model_source": "/workspace/flat/C1/w081_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w081_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w081_spliced_p8C1"}]}, "area_cm2": 5.7384640512} \ No newline at end of file diff --git a/flat/C1/mesh/w082_spliced_p8C1/meta.json b/flat/C1/mesh/w082_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..eb148f1806dcd3432bd5b8f636f3f44ee2f0b4c4 --- /dev/null +++ b/flat/C1/mesh/w082_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1659.778564453125, 3131.072998046875, 10041.939453125], [6634.9208984375, 5179.8916015625, 11041.322265625]], "area_vx2": 12250400.0, "model_source": "/workspace/flat/C1/w082_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w082_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w082_spliced_p8C1"}]}, "area_cm2": 5.812815052800001} \ No newline at end of file diff --git a/flat/C1/mesh/w083_spliced_p8C1/meta.json b/flat/C1/mesh/w083_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..df429b6eb9358a4c4fd07b1c2950465d43ab0c61 --- /dev/null +++ b/flat/C1/mesh/w083_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1656.9580078125, 3116.4755859375, 10040.310546875], [6653.50830078125, 5200.9619140625, 11040.048828125]], "area_vx2": 12439200.0, "model_source": "/workspace/flat/C1/w083_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w083_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w083_spliced_p8C1"}]}, "area_cm2": 5.875819315200001} \ No newline at end of file diff --git a/flat/C1/mesh/w084_spliced_p8C1/meta.json b/flat/C1/mesh/w084_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3540b5a1781e4355eee66ec787ff7c6800b0c877 --- /dev/null +++ b/flat/C1/mesh/w084_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1641.383544921875, 3098.747802734375, 10042.220703125], [6664.81005859375, 5215.02490234375, 11039.7177734375]], "area_vx2": 12686000.0, "model_source": "/workspace/flat/C1/w084_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w084_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w084_spliced_p8C1"}]}, "area_cm2": 5.948975923200001} \ No newline at end of file diff --git a/flat/C1/mesh/w085_spliced_p8C1/meta.json b/flat/C1/mesh/w085_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..7adc7c626cc7b3a575068096f22a09199620b2bd --- /dev/null +++ b/flat/C1/mesh/w085_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1630.738037109375, 3085.87109375, 10040.376953125], [6686.80859375, 5238.0615234375, 11039.00390625]], "area_vx2": 12967600.0, "model_source": "/workspace/flat/C1/w085_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w085_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w085_spliced_p8C1"}]}, "area_cm2": 6.0233269248} \ No newline at end of file diff --git a/flat/C1/mesh/w086_spliced_p8C1/meta.json b/flat/C1/mesh/w086_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..22f39c1dff20324b440d031a2f08e9d73e49ab8e --- /dev/null +++ b/flat/C1/mesh/w086_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1632.1890869140625, 3069.4697265625, 10041.818359375], [6705.8984375, 5257.107421875, 11038.1376953125]], "area_vx2": 13218400.0, "model_source": "/workspace/flat/C1/w086_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w086_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w086_spliced_p8C1"}]}, "area_cm2": 6.0970807296} \ No newline at end of file diff --git a/flat/C1/mesh/w087_spliced_p8C1/meta.json b/flat/C1/mesh/w087_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..d90bfc83ac60243b0024e76adc4bd2b769e3bec0 --- /dev/null +++ b/flat/C1/mesh/w087_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1619.2138671875, 3057.791748046875, 10041.2255859375], [6729.11181640625, 5284.9970703125, 11039.0595703125]], "area_vx2": 13601200.0, "model_source": "/workspace/flat/C1/w087_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w087_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w087_spliced_p8C1"}]}, "area_cm2": 6.168445747200001} \ No newline at end of file diff --git a/flat/C1/mesh/w088_spliced_p8C1/meta.json b/flat/C1/mesh/w088_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..bf3dc7132282c7fe1a230a54ed9a96d2304e2d4c --- /dev/null +++ b/flat/C1/mesh/w088_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1599.912353515625, 3036.76904296875, 10040.8740234375], [6753.12939453125, 5310.61083984375, 11039.1865234375]], "area_vx2": 13917600.0, "model_source": "/workspace/flat/C1/w088_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w088_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w088_spliced_p8C1"}]}, "area_cm2": 6.242498150400001} \ No newline at end of file diff --git a/flat/C1/mesh/w089_spliced_p8C1/meta.json b/flat/C1/mesh/w089_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..5242119d84985a231bc0e9d5b55c12b3e0179b41 --- /dev/null +++ b/flat/C1/mesh/w089_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1590.7303466796875, 3025.15673828125, 10039.0546875], [6782.1513671875, 5326.0146484375, 11039.8515625]], "area_vx2": 14141600.0, "model_source": "/workspace/flat/C1/w089_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w089_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w089_spliced_p8C1"}]}, "area_cm2": 6.324314112000001} \ No newline at end of file diff --git a/flat/C1/mesh/w090_spliced_p8C1/meta.json b/flat/C1/mesh/w090_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..81ea120139ec1d56c7f81b5d94aebb5ef3dddc99 --- /dev/null +++ b/flat/C1/mesh/w090_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1585.9609375, 3000.348876953125, 10039.826171875], [6777.46240234375, 5340.58056640625, 11039.8173828125]], "area_vx2": 14398800.0, "model_source": "/workspace/flat/C1/w090_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w090_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w090_spliced_p8C1"}]}, "area_cm2": 6.3938875392000005} \ No newline at end of file diff --git a/flat/C1/mesh/w091_spliced_p8C1/meta.json b/flat/C1/mesh/w091_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..19eee90e1caf1a7e4a5a5b98b0ed86a523ce79cd --- /dev/null +++ b/flat/C1/mesh/w091_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1573.8284912109375, 2975.93115234375, 10041.4443359375], [6788.39794921875, 5353.85791015625, 11040.2099609375]], "area_vx2": 15155200.0, "model_source": "/workspace/flat/C1/w091_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w091_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w091_spliced_p8C1"}]}, "area_cm2": 6.4712245248} \ No newline at end of file diff --git a/flat/C1/mesh/w092_spliced_p8C1/meta.json b/flat/C1/mesh/w092_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3523bb3dc857da5e5b69041f20fea52a9b979308 --- /dev/null +++ b/flat/C1/mesh/w092_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1546.49951171875, 2957.017578125, 10037.318359375], [6791.787109375, 5374.69873046875, 11040.5703125]], "area_vx2": 15334000.0, "model_source": "/workspace/flat/C1/w092_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w092_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w092_spliced_p8C1"}]}, "area_cm2": 6.5446797312000005} \ No newline at end of file diff --git a/flat/C1/mesh/w093_spliced_p8C1/meta.json b/flat/C1/mesh/w093_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..4670404cc6fca2e8350b4f1d44f93a157ad8e97d --- /dev/null +++ b/flat/C1/mesh/w093_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1529.65380859375, 2945.764892578125, 10040.30859375], [6797.76904296875, 5382.86279296875, 11041.5625]], "area_vx2": 16153600.0, "model_source": "/workspace/flat/C1/w093_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w093_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w093_spliced_p8C1"}]}, "area_cm2": 6.6267942912} \ No newline at end of file diff --git a/flat/C1/mesh/w094_spliced_p8C1/meta.json b/flat/C1/mesh/w094_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..855bc0a75473ca8f53eff7234b801a6a5e58d921 --- /dev/null +++ b/flat/C1/mesh/w094_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1517.8226318359375, 2925.864990234375, 10041.4462890625], [6801.9970703125, 5385.85107421875, 11039.169921875]], "area_vx2": 15742800.0, "model_source": "/workspace/flat/C1/w094_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w094_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w094_spliced_p8C1"}]}, "area_cm2": 6.7089088512} \ No newline at end of file diff --git a/flat/C1/mesh/w095_spliced_p8C1/meta.json b/flat/C1/mesh/w095_spliced_p8C1/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..4f7b5b7a19a98bbd8bb0a229726ede5fff638078 --- /dev/null +++ b/flat/C1/mesh/w095_spliced_p8C1/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1484.2366943359375, 2921.548583984375, 10036.0859375], [6806.8828125, 5420.60302734375, 11039.359375]], "area_vx2": 15661600.0, "model_source": "/workspace/flat/C1/w095_spliced_p8C1/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C1/w095_spliced_p8C1", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w095_spliced_p8C1"}]}, "area_cm2": 6.785350041600001} \ No newline at end of file diff --git a/flat/C1/w021_spliced_p8C1.log b/flat/C1/w021_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..ef5d7d5ed77e9a392946443c79585f19002799a2 --- /dev/null +++ b/flat/C1/w021_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w021_spliced_p8C1 in 154s -> /workspace/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w021_spliced_p8C1/flatten.log b/flat/C1/w021_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..f59dc2a5328d7de131bc835a4771ac3f558a857a --- /dev/null +++ b/flat/C1/w021_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w021_spliced_p8C1: 66x105, 5273/6930 valid (76.1%) step_h=23.554 step_w=27.237 step_diag=25.474 step_avg=25.438 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x105 -> 1x33x53 -> 1x17x27 -> 1x9x14 -> 1x5x7 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w021_spliced_p8C1 shape=(66, 105, 3) valid=5273/6930 model_shape=66x105 source_step=20 output_step=20 measured_source_step=25.4268 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 105, 2) point_valid=5273/6930 quad_valid=5107/6760 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.8902 1.4608 1.4608 0.4294 0.4294 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.8902 0.0 1.4608 1.4608 0.4294 0.4294 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2547 60.0 0.1455 0.1455 0.1092 0.1092 0.0000 0.0000 0.0000 0.0000 19.995 + stage0 200/4500 0.1157 66.0 0.0534 0.0534 0.0623 0.0623 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 300/4500 0.0835 92.1 0.0387 0.0387 0.0447 0.0447 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 400/4500 0.0751 119.9 0.0347 0.0347 0.0404 0.0404 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0076 target=20 uv_scale=1.00038 + stage0 500/4500 0.0701 131.3 0.0331 0.0331 0.0369 0.0369 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0631 121.4 0.0316 0.0316 0.0315 0.0315 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 700/4500 0.0623 112.7 0.0306 0.0306 0.0317 0.0317 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0615 129.3 0.0298 0.0298 0.0317 0.0317 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 900/4500 0.0603 138.5 0.0294 0.0294 0.0308 0.0308 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 1000/4500 0.0595 118.9 0.0293 0.0293 0.0302 0.0302 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0586 110.8 0.0293 0.0293 0.0293 0.0293 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1200/4500 0.0589 126.7 0.0290 0.0290 0.0299 0.0299 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1300/4500 0.0590 122.2 0.0290 0.0290 0.0301 0.0301 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1400/4500 0.0588 124.5 0.0288 0.0288 0.0300 0.0300 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0069 target=20 uv_scale=1.00034 + stage0 1500/4500 0.0588 126.2 0.0290 0.0290 0.0299 0.0299 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0568 125.2 0.0290 0.0290 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0585 125.1 0.0290 0.0290 0.0295 0.0295 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.0574 119.5 0.0290 0.0290 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0594 117.4 0.0290 0.0290 0.0304 0.0304 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0063 target=20 uv_scale=1.00031 + stage0 2000/4500 0.0579 123.4 0.0291 0.0291 0.0289 0.0289 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0575 113.9 0.0291 0.0291 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2200/4500 0.0580 128.9 0.0290 0.0290 0.0289 0.0289 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.0582 114.2 0.0290 0.0290 0.0292 0.0292 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2400/4500 0.0580 97.1 0.0290 0.0290 0.0289 0.0289 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0063 target=20 uv_scale=1.00032 + stage0 2500/4500 0.0576 96.6 0.0290 0.0290 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0567 68.6 0.0292 0.0292 0.0275 0.0275 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0580 101.9 0.0291 0.0291 0.0289 0.0289 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2800/4500 0.0578 96.9 0.0290 0.0290 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2900/4500 0.0580 104.4 0.0290 0.0290 0.0290 0.0290 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0075 target=20 uv_scale=1.00037 + stage0 3000/4500 0.0579 127.3 0.0290 0.0290 0.0289 0.0289 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0570 80.0 0.0292 0.0292 0.0278 0.0278 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0590 140.6 0.0291 0.0291 0.0299 0.0299 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 3300/4500 0.0576 128.3 0.0289 0.0289 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3400/4500 0.0575 125.3 0.0289 0.0289 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0064 target=20 uv_scale=1.00032 + stage0 3500/4500 0.0575 127.8 0.0288 0.0288 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0575 125.5 0.0290 0.0290 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3700/4500 0.0574 119.8 0.0289 0.0289 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3800/4500 0.0574 117.1 0.0288 0.0288 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0575 128.4 0.0288 0.0288 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0062 target=20 uv_scale=1.00031 + stage0 4000/4500 0.0573 126.3 0.0287 0.0287 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0582 101.0 0.0288 0.0288 0.0294 0.0294 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 4200/4500 0.0574 122.8 0.0287 0.0287 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4300/4500 0.0572 126.9 0.0287 0.0287 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4400/4500 0.0572 141.1 0.0286 0.0286 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0062 target=20 uv_scale=1.00031 + stage0 4500/4500 0.0572 130.7 0.0287 0.0287 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m56.18s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0543 0.0288 0.0288 0.0256 0.0256 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0543 84.2 0.0288 0.0288 0.0256 0.0256 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0571 124.2 0.0286 0.0286 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 200/1000 0.0570 129.3 0.0286 0.0286 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0571 124.1 0.0286 0.0286 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0572 129.0 0.0286 0.0286 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0571 133.4 0.0286 0.0286 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0570 140.9 0.0286 0.0286 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.0570 135.3 0.0285 0.0285 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 800/1000 0.0570 135.1 0.0285 0.0285 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0569 134.2 0.0285 0.0285 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0570 128.1 0.0285 0.0285 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 7.86s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0569 0.0285 0.0285 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.0569 19.5 0.0285 0.0285 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.0569 141.6 0.0285 0.0285 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0569 130.6 0.0285 0.0285 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0569 128.6 0.0285 0.0285 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0569 133.8 0.0285 0.0285 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0568 132.3 0.0285 0.0285 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0568 129.3 0.0284 0.0284 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0568 128.6 0.0284 0.0284 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0568 126.9 0.0284 0.0284 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0568 127.3 0.0284 0.0284 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0568 141.5 0.0284 0.0284 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 7.83s +[optimizer] total optimize time: 2m11.88s +[fit] peak GPU memory: 0.07 GiB +[fit2tifxyz] area_vx2=3009200 diff --git a/flat/C1/w021_spliced_p8C1/flatten_input.json b/flat/C1/w021_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..6075960440fc4e6785abe8ab633a81b8705df239 --- /dev/null +++ b/flat/C1/w021_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w021_spliced_p8C1"}]} diff --git a/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..ea3f2d7714496e33087834b73f1c86584141b5a3 --- /dev/null +++ b/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3313.987060546875, + 3784.201416015625, + 10040.99609375 + ], + [ + 4810.83154296875, + 4463.05517578125, + 11037.5615234375 + ] + ], + "area_vx2": 3009200.0, + "model_source": "/workspace/flat/C1/w021_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w021_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w021_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..d9dd520634897f5e45697215b664b3c8258b513a Binary files /dev/null and b/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..c6a1c6b90158f27ef99dbc831b559a3973665485 Binary files /dev/null and b/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..882d03cfd02cfeedf8ed383b85ec4cce4cb01d03 Binary files /dev/null and b/flat/C1/w021_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w022_spliced_p8C1.log b/flat/C1/w022_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..3e3590226b3174f4f7b4fd208a78ef47ac2824da --- /dev/null +++ b/flat/C1/w022_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w022_spliced_p8C1 in 154s -> /workspace/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w022_spliced_p8C1/flatten.log b/flat/C1/w022_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..4d4158d69905c51c6ceb14c6c34830ec1a3fb3d4 --- /dev/null +++ b/flat/C1/w022_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w022_spliced_p8C1: 66x110, 5516/7260 valid (76.0%) step_h=23.452 step_w=27.498 step_diag=25.560 step_avg=25.522 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x110 -> 1x33x55 -> 1x17x28 -> 1x9x14 -> 1x5x7 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w022_spliced_p8C1 shape=(66, 110, 3) valid=5516/7260 model_shape=66x110 source_step=20 output_step=20 measured_source_step=25.5174 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 110, 2) point_valid=5516/7260 quad_valid=5345/7085 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.9030 1.4627 1.4627 0.4403 0.4403 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.9030 0.0 1.4627 1.4627 0.4403 0.4403 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2742 59.6 0.1548 0.1548 0.1194 0.1194 0.0000 0.0000 0.0000 0.0000 19.997 + stage0 200/4500 0.1177 66.7 0.0553 0.0553 0.0624 0.0624 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 300/4500 0.0879 84.2 0.0393 0.0393 0.0486 0.0486 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 400/4500 0.0783 120.9 0.0349 0.0349 0.0434 0.0434 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0064 target=20 uv_scale=1.00032 + stage0 500/4500 0.0734 112.4 0.0332 0.0332 0.0402 0.0402 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0705 131.0 0.0318 0.0318 0.0387 0.0387 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 700/4500 0.0688 119.8 0.0309 0.0309 0.0379 0.0379 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 800/4500 0.0677 123.8 0.0304 0.0304 0.0373 0.0373 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 900/4500 0.0667 115.7 0.0302 0.0302 0.0365 0.0365 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0068 target=20 uv_scale=1.00034 + stage0 1000/4500 0.0661 114.3 0.0300 0.0300 0.0360 0.0360 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0656 118.4 0.0299 0.0299 0.0357 0.0357 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1200/4500 0.0652 125.0 0.0301 0.0301 0.0351 0.0351 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1300/4500 0.0645 127.2 0.0299 0.0299 0.0346 0.0346 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1400/4500 0.0648 127.2 0.0300 0.0300 0.0347 0.0347 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.007 target=20 uv_scale=1.00035 + stage0 1500/4500 0.0644 127.7 0.0297 0.0297 0.0347 0.0347 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0630 120.4 0.0298 0.0298 0.0332 0.0332 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.0640 126.3 0.0297 0.0297 0.0344 0.0344 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.0643 132.6 0.0298 0.0298 0.0345 0.0345 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0640 126.2 0.0298 0.0298 0.0342 0.0342 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0078 target=20 uv_scale=1.00039 + stage0 2000/4500 0.0643 124.6 0.0301 0.0301 0.0342 0.0342 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0738 120.5 0.0316 0.0316 0.0422 0.0422 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 2200/4500 0.0606 126.3 0.0303 0.0303 0.0303 0.0303 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 2300/4500 0.0645 132.1 0.0302 0.0302 0.0343 0.0343 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2400/4500 0.0658 112.3 0.0306 0.0306 0.0352 0.0352 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 2500/4500 0.0628 111.5 0.0304 0.0304 0.0325 0.0325 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0644 102.0 0.0305 0.0305 0.0338 0.0338 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2700/4500 0.0640 103.5 0.0304 0.0304 0.0336 0.0336 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2800/4500 0.0642 108.7 0.0304 0.0304 0.0338 0.0338 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2900/4500 0.0645 108.3 0.0307 0.0307 0.0339 0.0339 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0081 target=20 uv_scale=1.0004 + stage0 3000/4500 0.0643 113.7 0.0305 0.0305 0.0339 0.0339 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0633 114.7 0.0306 0.0306 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3200/4500 0.0636 113.1 0.0305 0.0305 0.0332 0.0332 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3300/4500 0.0636 96.9 0.0305 0.0305 0.0331 0.0331 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3400/4500 0.0632 126.3 0.0305 0.0305 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0075 target=20 uv_scale=1.00038 + stage0 3500/4500 0.0635 115.3 0.0304 0.0304 0.0331 0.0331 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0636 131.6 0.0306 0.0306 0.0330 0.0330 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3700/4500 0.0636 124.2 0.0305 0.0305 0.0331 0.0331 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3800/4500 0.0635 113.8 0.0304 0.0304 0.0331 0.0331 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0636 121.7 0.0304 0.0304 0.0332 0.0332 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0074 target=20 uv_scale=1.00037 + stage0 4000/4500 0.0636 125.1 0.0304 0.0304 0.0332 0.0332 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0632 106.7 0.0307 0.0307 0.0325 0.0325 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 4200/4500 0.0638 107.5 0.0306 0.0306 0.0332 0.0332 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 4300/4500 0.0636 111.9 0.0305 0.0305 0.0331 0.0331 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 4400/4500 0.0636 115.4 0.0305 0.0305 0.0331 0.0331 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.007 target=20 uv_scale=1.00035 + stage0 4500/4500 0.0636 118.5 0.0305 0.0305 0.0331 0.0331 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m55.78s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0596 0.0305 0.0305 0.0291 0.0291 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0596 42.1 0.0305 0.0305 0.0291 0.0291 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0631 122.4 0.0304 0.0304 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 200/1000 0.0632 133.0 0.0304 0.0304 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 300/1000 0.0632 140.2 0.0304 0.0304 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 400/1000 0.0632 114.2 0.0304 0.0304 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 500/1000 0.0631 115.8 0.0304 0.0304 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 600/1000 0.0630 130.9 0.0304 0.0304 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 700/1000 0.0633 125.3 0.0303 0.0303 0.0330 0.0330 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 800/1000 0.0631 125.4 0.0303 0.0303 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 900/1000 0.0630 128.8 0.0303 0.0303 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 1000/1000 0.0631 134.4 0.0303 0.0303 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage1 'flatten' complete in 8.13s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0631 0.0303 0.0303 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 1/1000 0.0631 34.7 0.0303 0.0303 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 100/1000 0.0631 138.9 0.0303 0.0303 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 200/1000 0.0631 122.5 0.0303 0.0303 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 300/1000 0.0631 122.9 0.0303 0.0303 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 400/1000 0.0631 130.0 0.0303 0.0303 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 500/1000 0.0631 144.1 0.0303 0.0303 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 600/1000 0.0631 130.3 0.0303 0.0303 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 700/1000 0.0631 135.3 0.0303 0.0303 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 800/1000 0.0631 127.1 0.0303 0.0303 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 900/1000 0.0631 129.4 0.0303 0.0303 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 1000/1000 0.0631 132.5 0.0303 0.0303 0.0327 0.0327 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage2 'flatten' complete in 7.88s +[optimizer] total optimize time: 2m11.79s +[fit] peak GPU memory: 0.07 GiB +[fit2tifxyz] area_vx2=3173600 diff --git a/flat/C1/w022_spliced_p8C1/flatten_input.json b/flat/C1/w022_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..ecd573aef5ff1828ebf01229795942098c959f46 --- /dev/null +++ b/flat/C1/w022_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w022_spliced_p8C1"}]} diff --git a/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..fa72b846e9b0fce42f225184c09b9e3f185f9a58 --- /dev/null +++ b/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3293.095947265625, + 3761.970703125, + 10038.380859375 + ], + [ + 4841.6171875, + 4469.5205078125, + 11039.630859375 + ] + ], + "area_vx2": 3173600.0, + "model_source": "/workspace/flat/C1/w022_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w022_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w022_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..bdac6df9e5d3835d9b6f0f86734574a319f1f150 Binary files /dev/null and b/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..69786a296f1c44e68d810700ea884f0b5af631fd Binary files /dev/null and b/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..6d3fab7ec43d966a058f7b7a74b78abaffbee816 Binary files /dev/null and b/flat/C1/w022_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w023_spliced_p8C1.log b/flat/C1/w023_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..4e91c1224a842ec26f15c06aae687abb3468f19b --- /dev/null +++ b/flat/C1/w023_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w023_spliced_p8C1 in 154s -> /workspace/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w023_spliced_p8C1/flatten.log b/flat/C1/w023_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..135980ff790242b5730df4f3008721639dbfc04b --- /dev/null +++ b/flat/C1/w023_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w023_spliced_p8C1: 66x114, 5707/7524 valid (75.9%) step_h=23.299 step_w=27.141 step_diag=25.345 step_avg=25.287 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x114 -> 1x33x57 -> 1x17x29 -> 1x9x15 -> 1x5x8 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w023_spliced_p8C1 shape=(66, 114, 3) valid=5707/7524 model_shape=66x114 source_step=20 output_step=20 measured_source_step=25.2778 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 114, 2) point_valid=5707/7524 quad_valid=5534/7345 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6971 1.3422 1.3422 0.3549 0.3549 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6971 0.0 1.3422 1.3422 0.3549 0.3549 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.1851 63.7 0.1224 0.1224 0.0627 0.0627 0.0000 0.0000 0.0000 0.0000 19.998 + stage0 200/4500 0.0629 61.8 0.0381 0.0381 0.0247 0.0247 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 300/4500 0.0409 82.3 0.0252 0.0252 0.0157 0.0157 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 400/4500 0.0350 127.2 0.0220 0.0220 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0061 target=20 uv_scale=1.00031 + stage0 500/4500 0.0331 116.6 0.0208 0.0208 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0306 111.7 0.0192 0.0192 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 700/4500 0.0294 126.1 0.0186 0.0186 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0291 127.0 0.0184 0.0184 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 900/4500 0.0289 132.3 0.0183 0.0183 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 1000/4500 0.0288 129.5 0.0182 0.0182 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0289 118.5 0.0182 0.0182 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1200/4500 0.0287 129.7 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0287 128.7 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0287 129.1 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 1500/4500 0.0287 132.0 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0280 128.8 0.0182 0.0182 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0287 129.3 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0287 128.0 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0288 130.8 0.0182 0.0182 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 2000/4500 0.0287 126.7 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0278 112.0 0.0182 0.0182 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0285 120.9 0.0181 0.0181 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0286 131.5 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0287 123.6 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0055 target=20 uv_scale=1.00027 + stage0 2500/4500 0.0287 104.7 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0289 107.4 0.0182 0.0182 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2700/4500 0.0288 89.6 0.0182 0.0182 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2800/4500 0.0286 102.0 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0287 111.5 0.0182 0.0182 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 3000/4500 0.0287 108.2 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0291 127.9 0.0182 0.0182 0.0110 0.0110 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3200/4500 0.0286 122.6 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0287 88.3 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3400/4500 0.0287 126.0 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 3500/4500 0.0286 126.5 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0291 127.7 0.0182 0.0182 0.0109 0.0109 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3700/4500 0.0287 125.5 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3800/4500 0.0287 121.7 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0288 121.1 0.0182 0.0182 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0058 target=20 uv_scale=1.00029 + stage0 4000/4500 0.0289 121.3 0.0182 0.0182 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0278 112.7 0.0182 0.0182 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0285 129.6 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0287 117.3 0.0182 0.0182 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4400/4500 0.0287 121.0 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0057 target=20 uv_scale=1.00029 + stage0 4500/4500 0.0289 119.8 0.0183 0.0183 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m54.99s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0274 0.0184 0.0184 0.0090 0.0090 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0274 92.9 0.0184 0.0184 0.0090 0.0090 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0287 127.6 0.0182 0.0182 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 200/1000 0.0287 126.0 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0286 126.4 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0287 120.9 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0286 123.3 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0286 126.4 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0287 125.9 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 800/1000 0.0287 132.5 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0286 139.5 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0286 148.7 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 7.92s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0286 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.0286 79.4 0.0182 0.0182 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.0287 127.4 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0287 139.4 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0287 147.7 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0287 123.8 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0287 129.3 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0287 127.8 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0287 123.4 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0287 116.1 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0287 127.4 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0286 147.0 0.0182 0.0182 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 7.90s +[optimizer] total optimize time: 2m10.81s +[fit] peak GPU memory: 0.07 GiB +[fit2tifxyz] area_vx2=3213200 diff --git a/flat/C1/w023_spliced_p8C1/flatten_input.json b/flat/C1/w023_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..69d87b8926d08183d1748cfee0ddfab0aad474c9 --- /dev/null +++ b/flat/C1/w023_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w023_spliced_p8C1"}]} diff --git a/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..68a2650e42b947d2bd2b85941286e30eff813951 --- /dev/null +++ b/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3228.383544921875, + 3743.572265625, + 10039.7890625 + ], + [ + 4854.89013671875, + 4476.921875, + 11036.6923828125 + ] + ], + "area_vx2": 3213200.0, + "model_source": "/workspace/flat/C1/w023_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w023_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w023_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..002a417cf2bd7f7cb3b222a9f9f02cac289d89c2 Binary files /dev/null and b/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..3f817baf4a1367ad5bd09e20f0b9e721cb2f519f Binary files /dev/null and b/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..4d7bb52da81a232f331aef382bda5345374cf664 Binary files /dev/null and b/flat/C1/w023_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w024_spliced_p8C1.log b/flat/C1/w024_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..8de215ce09459098ccacaaf5cf06fe53b595e214 --- /dev/null +++ b/flat/C1/w024_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w024_spliced_p8C1 in 189s -> /workspace/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w024_spliced_p8C1/flatten.log b/flat/C1/w024_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..daad566838b4c78a9444db68517cbbdaf471b32c --- /dev/null +++ b/flat/C1/w024_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w024_spliced_p8C1: 66x119, 5961/7854 valid (75.9%) step_h=23.264 step_w=27.343 step_diag=25.470 step_avg=25.391 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x119 -> 1x33x60 -> 1x17x30 -> 1x9x15 -> 1x5x8 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w024_spliced_p8C1 shape=(66, 119, 3) valid=5961/7854 model_shape=66x119 source_step=20 output_step=20 measured_source_step=25.3829 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 119, 2) point_valid=5961/7854 quad_valid=5782/7670 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.7410 1.3537 1.3537 0.3874 0.3874 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.7410 0.1 1.3537 1.3537 0.3874 0.3874 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2237 95.8 0.1375 0.1375 0.0862 0.0862 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 200/4500 0.0710 46.6 0.0411 0.0411 0.0299 0.0299 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 300/4500 0.0428 64.5 0.0249 0.0249 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 400/4500 0.0349 75.7 0.0217 0.0217 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 500/4500 0.0310 124.7 0.0193 0.0193 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0286 111.2 0.0181 0.0181 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 700/4500 0.0282 71.5 0.0175 0.0175 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0277 108.5 0.0172 0.0172 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0273 89.5 0.0171 0.0171 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 1000/4500 0.0271 165.1 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0274 76.4 0.0171 0.0171 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0272 124.6 0.0170 0.0170 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0271 125.4 0.0169 0.0169 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0270 117.7 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 1500/4500 0.0269 121.2 0.0168 0.0168 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0270 150.5 0.0170 0.0170 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0270 135.3 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0269 103.1 0.0170 0.0170 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0270 135.7 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 2000/4500 0.0270 114.0 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0271 113.6 0.0171 0.0171 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0271 94.1 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0269 115.6 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0270 125.6 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 2500/4500 0.0269 130.7 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0268 146.4 0.0171 0.0171 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0271 148.1 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0270 125.5 0.0170 0.0170 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0270 145.3 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 3000/4500 0.0270 141.0 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0268 121.9 0.0171 0.0171 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0270 133.3 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0272 139.3 0.0170 0.0170 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0270 126.7 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 3500/4500 0.0270 160.4 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0271 136.4 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0270 139.7 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0271 125.4 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0270 138.1 0.0170 0.0170 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0053 target=20 uv_scale=1.00027 + stage0 4000/4500 0.0272 131.4 0.0170 0.0170 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0269 119.6 0.0171 0.0171 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0271 128.1 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0270 122.0 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0271 129.5 0.0170 0.0170 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 4500/4500 0.0271 93.2 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m05.71s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0259 0.0170 0.0170 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0259 44.6 0.0170 0.0170 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0268 67.4 0.0169 0.0169 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0270 94.3 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0270 101.8 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0269 78.3 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0269 81.9 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0269 100.5 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0269 76.5 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0269 90.0 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0269 53.4 0.0169 0.0169 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0269 63.1 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 13.29s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0269 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0269 85.8 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0269 71.9 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0269 62.3 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0269 83.4 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0269 62.9 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0269 88.5 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0269 75.3 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0269 68.4 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0269 64.8 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0269 39.1 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0269 31.0 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 17.41s +[optimizer] total optimize time: 2m36.42s +[fit] peak GPU memory: 0.07 GiB +[fit2tifxyz] area_vx2=3381600 diff --git a/flat/C1/w024_spliced_p8C1/flatten_input.json b/flat/C1/w024_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..bb32d18a94e766fa8b8ed716eaa47f79f4c80e4b --- /dev/null +++ b/flat/C1/w024_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w024_spliced_p8C1"}]} diff --git a/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..b2f690c43b0fa2e81a62e222d5d8d3d8c7995adf --- /dev/null +++ b/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3210.76171875, + 3737.95849609375, + 10040.8388671875 + ], + [ + 4887.34814453125, + 4482.9033203125, + 11037.046875 + ] + ], + "area_vx2": 3381600.0, + "model_source": "/workspace/flat/C1/w024_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w024_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w024_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..4429e5f1d66e2cce3d02a0533ca0f9f9c0243dd3 Binary files /dev/null and b/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..d759f3dec00a95bbb7f47f0eed7934ed6196ff60 Binary files /dev/null and b/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..810ef0466d42fb8f833c81a2a5fb3b66c62b1914 Binary files /dev/null and b/flat/C1/w024_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w025_spliced_p8C1.log b/flat/C1/w025_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..ca19cbe074819573e6d6d1607f5dabdcfa42b355 --- /dev/null +++ b/flat/C1/w025_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w025_spliced_p8C1 in 134s -> /workspace/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w025_spliced_p8C1/flatten.log b/flat/C1/w025_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..d030ea2ac804cb6de1362b16323deba3209e33aa --- /dev/null +++ b/flat/C1/w025_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w025_spliced_p8C1: 66x124, 6201/8184 valid (75.8%) step_h=23.200 step_w=27.612 step_diag=25.630 step_avg=25.523 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x124 -> 1x33x62 -> 1x17x31 -> 1x9x16 -> 1x5x8 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w025_spliced_p8C1 shape=(66, 124, 3) valid=6201/8184 model_shape=66x124 source_step=20 output_step=20 measured_source_step=25.5078 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 124, 2) point_valid=6201/8184 quad_valid=6017/7995 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.7165 1.3349 1.3349 0.3816 0.3816 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.7165 0.1 1.3349 1.3349 0.3816 0.3816 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2216 215.9 0.1439 0.1439 0.0777 0.0777 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 200/4500 0.0722 218.7 0.0405 0.0405 0.0317 0.0317 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 300/4500 0.0388 222.7 0.0233 0.0233 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 400/4500 0.0301 286.7 0.0195 0.0195 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 500/4500 0.0287 343.6 0.0180 0.0180 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0273 274.1 0.0167 0.0167 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 700/4500 0.0255 219.8 0.0164 0.0164 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0251 265.4 0.0162 0.0162 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0251 206.3 0.0160 0.0160 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 1000/4500 0.0248 195.4 0.0158 0.0158 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0245 214.7 0.0157 0.0157 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0242 212.4 0.0156 0.0156 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0247 169.5 0.0157 0.0157 0.0090 0.0090 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0244 52.9 0.0156 0.0156 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0055 target=20 uv_scale=1.00028 + stage0 1500/4500 0.0242 81.6 0.0156 0.0156 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0244 213.7 0.0155 0.0155 0.0090 0.0090 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0241 202.8 0.0154 0.0154 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0241 256.6 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0240 222.2 0.0154 0.0154 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 2000/4500 0.0241 230.2 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0239 184.9 0.0155 0.0155 0.0084 0.0084 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0241 177.4 0.0154 0.0154 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0241 301.2 0.0154 0.0154 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0241 235.6 0.0154 0.0154 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2500/4500 0.0241 149.8 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0238 200.8 0.0154 0.0154 0.0084 0.0084 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0235 208.2 0.0154 0.0154 0.0081 0.0081 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0240 277.7 0.0154 0.0154 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0241 306.6 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 3000/4500 0.0241 295.7 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0241 262.3 0.0154 0.0154 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0237 305.4 0.0154 0.0154 0.0082 0.0082 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0246 299.7 0.0154 0.0154 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3400/4500 0.0231 309.3 0.0154 0.0154 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0015 target=20 uv_scale=1.00008 + stage0 3500/4500 0.0238 260.2 0.0156 0.0156 0.0082 0.0082 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0241 313.7 0.0154 0.0154 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0240 307.1 0.0154 0.0154 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0240 188.6 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0238 266.3 0.0153 0.0153 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 4000/4500 0.0238 317.3 0.0153 0.0153 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0242 214.0 0.0154 0.0154 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0239 237.5 0.0154 0.0154 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0239 281.5 0.0154 0.0154 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0238 175.5 0.0154 0.0154 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 4500/4500 0.0239 171.4 0.0154 0.0154 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m39.93s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0228 0.0154 0.0154 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0228 124.5 0.0154 0.0154 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0239 236.8 0.0154 0.0154 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0241 257.8 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0241 270.1 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0241 201.6 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0241 158.2 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0241 118.6 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0241 237.8 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0243 237.1 0.0154 0.0154 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0238 136.8 0.0154 0.0154 0.0084 0.0084 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0241 129.6 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 5.71s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0241 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0241 49.9 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0241 190.9 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0241 255.1 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0241 292.0 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0241 196.7 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0241 128.0 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0241 132.8 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0241 255.8 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0241 184.7 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0241 229.1 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0241 114.2 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 5.80s +[optimizer] total optimize time: 1m51.44s +[fit] peak GPU memory: 0.08 GiB +[fit2tifxyz] area_vx2=3543200 diff --git a/flat/C1/w025_spliced_p8C1/flatten_input.json b/flat/C1/w025_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..7e8989731e46c2b0770b39992201fefec9300cd3 --- /dev/null +++ b/flat/C1/w025_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w025_spliced_p8C1"}]} diff --git a/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..6455fcfc28fbcbb9e3a63529438495970fd2e1cf --- /dev/null +++ b/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3183.9697265625, + 3722.73046875, + 10045.18359375 + ], + [ + 4913.06494140625, + 4492.58203125, + 11037.6396484375 + ] + ], + "area_vx2": 3543200.0, + "model_source": "/workspace/flat/C1/w025_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w025_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w025_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..be29a83c324cb6c0eca06ccdbadd872d42a3c451 Binary files /dev/null and b/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..052d256f3417c9ff9c797582a05b52fb4b468dc8 Binary files /dev/null and b/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..43b39d6d5431bd08ba4ed543b1d0040172dcb0aa Binary files /dev/null and b/flat/C1/w025_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w026_spliced_p8C1.log b/flat/C1/w026_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..1d87c04e1224e6c3f6e180e670a34eda87e68f6d --- /dev/null +++ b/flat/C1/w026_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w026_spliced_p8C1 in 205s -> /workspace/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w026_spliced_p8C1/flatten.log b/flat/C1/w026_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..8b88548395ff8bbe8838b768456190bd961b517a --- /dev/null +++ b/flat/C1/w026_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w026_spliced_p8C1: 66x129, 6449/8514 valid (75.7%) step_h=23.182 step_w=27.634 step_diag=25.643 step_avg=25.531 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x129 -> 1x33x65 -> 1x17x33 -> 1x9x17 -> 1x5x9 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w026_spliced_p8C1 shape=(66, 129, 3) valid=6449/8514 model_shape=66x129 source_step=20 output_step=20 measured_source_step=25.5249 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 129, 2) point_valid=6449/8514 quad_valid=6261/8320 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.7079 1.3274 1.3274 0.3805 0.3805 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.7079 0.1 1.3274 1.3274 0.3805 0.3805 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2249 119.0 0.1390 0.1390 0.0859 0.0859 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 200/4500 0.0623 123.5 0.0354 0.0354 0.0269 0.0269 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 300/4500 0.0334 97.7 0.0194 0.0194 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 400/4500 0.0259 110.5 0.0158 0.0158 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 500/4500 0.0234 124.9 0.0148 0.0148 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0226 103.2 0.0141 0.0141 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 700/4500 0.0216 87.2 0.0138 0.0138 0.0078 0.0078 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0213 102.4 0.0136 0.0136 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0211 113.6 0.0135 0.0135 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 1000/4500 0.0210 108.1 0.0134 0.0134 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0208 102.0 0.0134 0.0134 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0209 124.8 0.0133 0.0133 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0209 119.5 0.0133 0.0133 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0208 140.3 0.0133 0.0133 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 1500/4500 0.0208 123.2 0.0133 0.0133 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0211 134.3 0.0132 0.0132 0.0079 0.0079 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0208 116.2 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0208 120.8 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0208 111.1 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 2000/4500 0.0207 135.7 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0204 112.3 0.0133 0.0133 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0208 132.5 0.0132 0.0132 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0207 120.0 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0210 123.8 0.0132 0.0132 0.0078 0.0078 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 2500/4500 0.0212 117.8 0.0132 0.0132 0.0080 0.0080 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0215 109.8 0.0132 0.0132 0.0083 0.0083 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2700/4500 0.0211 112.4 0.0132 0.0132 0.0079 0.0079 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0206 69.4 0.0132 0.0132 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0203 64.2 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 3000/4500 0.0206 94.3 0.0132 0.0132 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0211 81.7 0.0132 0.0132 0.0079 0.0079 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0207 62.5 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0206 86.0 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0207 73.3 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 3500/4500 0.0207 73.5 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0212 45.2 0.0132 0.0132 0.0080 0.0080 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0206 64.2 0.0132 0.0132 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0206 62.5 0.0132 0.0132 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0206 69.2 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 4000/4500 0.0205 72.9 0.0132 0.0132 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0206 59.1 0.0132 0.0132 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0214 89.0 0.0131 0.0131 0.0083 0.0083 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4300/4500 0.0199 63.7 0.0132 0.0132 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0203 57.9 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0205 39.8 0.0132 0.0132 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m32.31s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0198 0.0132 0.0132 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0198 13.6 0.0132 0.0132 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0206 32.0 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0207 41.7 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0206 47.4 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0208 58.6 0.0132 0.0132 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0205 84.4 0.0132 0.0132 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0205 116.4 0.0132 0.0132 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0207 93.9 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0206 95.0 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0207 88.0 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0207 95.5 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 16.11s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0207 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0207 62.5 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0207 94.3 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0207 88.6 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0207 96.4 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0207 104.2 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0207 106.9 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0206 112.8 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0206 89.2 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0207 125.6 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0207 124.1 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0207 130.6 0.0132 0.0132 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 9.74s +[optimizer] total optimize time: 2m58.16s +[fit] peak GPU memory: 0.08 GiB +[fit2tifxyz] area_vx2=3674800 diff --git a/flat/C1/w026_spliced_p8C1/flatten_input.json b/flat/C1/w026_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..d073c614137b0e49942bb5f7eb6e9c41d402ac64 --- /dev/null +++ b/flat/C1/w026_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w026_spliced_p8C1"}]} diff --git a/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..8d99d8f8e76b838bfe1bd3c25fc5ebe948ccd039 --- /dev/null +++ b/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3167.404296875, + 3706.703857421875, + 10038.931640625 + ], + [ + 4933.8740234375, + 4504.5283203125, + 11037.27734375 + ] + ], + "area_vx2": 3674800.0, + "model_source": "/workspace/flat/C1/w026_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w026_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w026_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..b6708662d07ff4cc60f98dcae575da4b95b6f441 Binary files /dev/null and b/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..bcc998b54748c2044029e4dba08cb352c8b028b7 Binary files /dev/null and b/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..2780db77e89c6cbc1e4e6d06245f181589126948 Binary files /dev/null and b/flat/C1/w026_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w027_spliced_p8C1.log b/flat/C1/w027_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..b6aa323ba80b0565c488de36857588d92cf8af81 --- /dev/null +++ b/flat/C1/w027_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w027_spliced_p8C1 in 210s -> /workspace/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w027_spliced_p8C1/flatten.log b/flat/C1/w027_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..9ab133551e06ab857c243857296ec9634eec15de --- /dev/null +++ b/flat/C1/w027_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w027_spliced_p8C1: 66x134, 6692/8844 valid (75.7%) step_h=23.115 step_w=27.732 step_diag=25.681 step_avg=25.558 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x134 -> 1x33x67 -> 1x17x34 -> 1x9x17 -> 1x5x9 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w027_spliced_p8C1 shape=(66, 134, 3) valid=6692/8844 model_shape=66x134 source_step=20 output_step=20 measured_source_step=25.5489 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 134, 2) point_valid=6692/8844 quad_valid=6499/8645 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6755 1.3098 1.3098 0.3657 0.3657 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6755 0.1 1.3098 1.3098 0.3657 0.3657 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2275 115.7 0.1449 0.1449 0.0826 0.0826 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 200/4500 0.0633 111.2 0.0358 0.0358 0.0275 0.0275 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 300/4500 0.0320 99.7 0.0187 0.0187 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 400/4500 0.0237 84.6 0.0146 0.0146 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 500/4500 0.0210 100.6 0.0134 0.0134 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0198 107.8 0.0123 0.0123 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 700/4500 0.0188 125.3 0.0120 0.0120 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0186 118.1 0.0119 0.0119 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0185 126.1 0.0118 0.0118 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 1000/4500 0.0185 110.3 0.0117 0.0117 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0180 100.7 0.0117 0.0117 0.0063 0.0063 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0184 122.8 0.0117 0.0117 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0183 116.1 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0183 110.8 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 1500/4500 0.0183 132.8 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0178 129.3 0.0116 0.0116 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0183 114.7 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0183 128.9 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0184 113.1 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 2000/4500 0.0184 119.4 0.0116 0.0116 0.0067 0.0067 1.0e-04 1.0e-04 0.0000 0.0000 20.000 + stage0 2100/4500 0.0183 110.9 0.0116 0.0116 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0184 123.0 0.0117 0.0117 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0184 122.8 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0183 96.7 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 2500/4500 0.0185 62.8 0.0117 0.0117 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0185 90.1 0.0116 0.0116 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0184 92.2 0.0117 0.0117 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0184 96.5 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0184 63.6 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0183 86.1 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0179 63.2 0.0117 0.0117 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0182 62.1 0.0117 0.0117 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0184 42.7 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0183 60.2 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 3500/4500 0.0184 57.9 0.0117 0.0117 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0177 66.9 0.0117 0.0117 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0182 54.6 0.0116 0.0116 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0184 77.2 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0184 63.2 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 4000/4500 0.0184 55.8 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0190 37.1 0.0116 0.0116 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4200/4500 0.0183 30.0 0.0116 0.0116 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0184 37.8 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0184 44.5 0.0117 0.0117 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 4500/4500 0.0183 53.3 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m42.59s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0175 0.0117 0.0117 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0175 52.1 0.0117 0.0117 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0183 90.0 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0184 80.7 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0184 80.4 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0184 80.7 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0184 78.6 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0184 83.3 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0184 74.7 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0183 96.8 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0183 88.9 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0183 101.8 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 12.02s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0183 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0183 14.4 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0183 85.0 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0183 123.0 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0183 124.2 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0183 116.0 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0183 134.2 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0183 150.9 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0183 151.9 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0183 135.0 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0183 125.5 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0183 139.5 0.0117 0.0117 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 8.24s +[optimizer] total optimize time: 3m02.86s +[fit] peak GPU memory: 0.08 GiB +[fit2tifxyz] area_vx2=3819200 diff --git a/flat/C1/w027_spliced_p8C1/flatten_input.json b/flat/C1/w027_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..51dd6783d0319016c3f9f11d75652849c07f8231 --- /dev/null +++ b/flat/C1/w027_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w027_spliced_p8C1"}]} diff --git a/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..125d3b3edb6f59410ca932d9c09b550f8be790ae --- /dev/null +++ b/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3138.414794921875, + 3695.940185546875, + 10043.6357421875 + ], + [ + 4950.2353515625, + 4512.5263671875, + 11036.01171875 + ] + ], + "area_vx2": 3819200.0, + "model_source": "/workspace/flat/C1/w027_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w027_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w027_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..1449f2805b9b411bd7ebd8f4e9701f55fcbb091a Binary files /dev/null and b/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..1b118836927cf33b06e22b5d945d2a7243fb4a8f Binary files /dev/null and b/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..0d170d454b98ffec4ba8ae8fcf939569e94a8ebf Binary files /dev/null and b/flat/C1/w027_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w028_spliced_p8C1.log b/flat/C1/w028_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..2d9f9db4c616c2405187e778f17e9afdc4b1fd9f --- /dev/null +++ b/flat/C1/w028_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w028_spliced_p8C1 in 174s -> /workspace/flat/C1/w028_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w029_spliced_p8C1.log b/flat/C1/w029_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..409aa506c4c58e01f080d1e7a388ea3ee2538cb8 --- /dev/null +++ b/flat/C1/w029_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w029_spliced_p8C1 in 99s -> /workspace/flat/C1/w029_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w030_spliced_p8C1.log b/flat/C1/w030_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..947e9269716191bce7c8f5eb638eb5f33d2f6e21 --- /dev/null +++ b/flat/C1/w030_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w030_spliced_p8C1 in 174s -> /workspace/flat/C1/w030_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w031_spliced_p8C1.log b/flat/C1/w031_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..1149e3095d48190c69b36a28b116def412bb7358 --- /dev/null +++ b/flat/C1/w031_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w031_spliced_p8C1 in 89s -> /workspace/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w031_spliced_p8C1/flatten.log b/flat/C1/w031_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..3808aa69c65bee4d8664b76b9558b336e74ce6a4 --- /dev/null +++ b/flat/C1/w031_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w031_spliced_p8C1: 66x153, 7634/10098 valid (75.6%) step_h=23.128 step_w=27.753 step_diag=25.707 step_avg=25.580 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x153 -> 1x33x77 -> 1x17x39 -> 1x9x20 -> 1x5x10 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w031_spliced_p8C1 shape=(66, 153, 3) valid=7634/10098 model_shape=66x153 source_step=20 output_step=20 measured_source_step=25.5718 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 153, 2) point_valid=7634/10098 quad_valid=7420/9880 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6408 1.2832 1.2832 0.3576 0.3576 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6408 0.1 1.2832 1.2832 0.3576 0.3576 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2704 177.0 0.1677 0.1677 0.1026 0.1026 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 200/4500 0.0920 167.3 0.0482 0.0482 0.0438 0.0438 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.0474 199.6 0.0255 0.0255 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 400/4500 0.0333 188.7 0.0201 0.0201 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 500/4500 0.0301 125.5 0.0186 0.0186 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0284 191.4 0.0180 0.0180 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 700/4500 0.0286 203.8 0.0179 0.0179 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0284 220.3 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0282 200.0 0.0177 0.0177 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 1000/4500 0.0283 243.0 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0287 177.2 0.0177 0.0177 0.0110 0.0110 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1200/4500 0.0283 188.6 0.0178 0.0178 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0284 258.6 0.0178 0.0178 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0283 219.9 0.0178 0.0178 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 1500/4500 0.0282 229.6 0.0177 0.0177 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0284 221.3 0.0178 0.0178 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0282 213.7 0.0177 0.0177 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0284 196.9 0.0177 0.0177 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0283 193.0 0.0177 0.0177 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 2000/4500 0.0284 165.7 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0284 174.6 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0282 177.5 0.0177 0.0177 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0282 165.2 0.0177 0.0177 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0282 170.8 0.0177 0.0177 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0053 target=20 uv_scale=1.00027 + stage0 2500/4500 0.0285 185.2 0.0178 0.0178 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0279 166.0 0.0178 0.0178 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0282 173.1 0.0178 0.0178 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0282 158.7 0.0177 0.0177 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0283 190.7 0.0177 0.0177 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 3000/4500 0.0286 181.0 0.0178 0.0178 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0284 182.4 0.0177 0.0177 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0283 210.8 0.0177 0.0177 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0284 174.9 0.0177 0.0177 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0285 169.1 0.0178 0.0178 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0053 target=20 uv_scale=1.00027 + stage0 3500/4500 0.0284 191.6 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0280 176.4 0.0178 0.0178 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0284 170.3 0.0177 0.0177 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0283 170.1 0.0178 0.0178 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0283 197.7 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4000/4500 0.0284 174.8 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0277 166.3 0.0178 0.0178 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0282 173.6 0.0177 0.0177 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0282 185.7 0.0177 0.0177 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0282 192.8 0.0178 0.0178 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0053 target=20 uv_scale=1.00027 + stage0 4500/4500 0.0284 174.6 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m05.84s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0271 0.0178 0.0178 0.0093 0.0093 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0271 96.3 0.0178 0.0178 0.0093 0.0093 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0284 185.7 0.0177 0.0177 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0284 168.7 0.0178 0.0178 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0284 166.7 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0285 205.4 0.0178 0.0178 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0281 177.3 0.0178 0.0178 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0284 206.2 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0282 199.5 0.0178 0.0178 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0285 186.6 0.0178 0.0178 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0285 185.6 0.0178 0.0178 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0282 217.7 0.0178 0.0178 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 5.44s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0283 0.0178 0.0178 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0283 91.8 0.0178 0.0178 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0284 167.9 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0284 201.5 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0284 149.4 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0285 198.5 0.0178 0.0178 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0284 143.7 0.0178 0.0178 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0284 163.9 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0284 218.2 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0284 231.5 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0284 184.7 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0284 206.9 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 5.66s +[optimizer] total optimize time: 1m16.94s +[fit] peak GPU memory: 0.09 GiB +[fit2tifxyz] area_vx2=4386000 diff --git a/flat/C1/w031_spliced_p8C1/flatten_input.json b/flat/C1/w031_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..b0d679804c7b5e8f734ce0f809826e3b0c6a1823 --- /dev/null +++ b/flat/C1/w031_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w031_spliced_p8C1"}]} diff --git a/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..82af97cf3fc345736ab02fd2ddcff196a110cee9 --- /dev/null +++ b/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3029.10693359375, + 3666.65283203125, + 10042.46875 + ], + [ + 4988.583984375, + 4554.4609375, + 11037.9287109375 + ] + ], + "area_vx2": 4386000.0, + "model_source": "/workspace/flat/C1/w031_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w031_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w031_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..af81ccac2ddc83c4dbc32e0cf3c05c5ddd19bc63 Binary files /dev/null and b/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..bf3890237beceacb63c7a792d823d08f932192e2 Binary files /dev/null and b/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..097c936be7113bd142b33fb27a3ed05bf49d87ef Binary files /dev/null and b/flat/C1/w031_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w032_spliced_p8C1.log b/flat/C1/w032_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..794d50bd0c4dbc017c3f1f6190cc1e42c300f8dd --- /dev/null +++ b/flat/C1/w032_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w032_spliced_p8C1 in 174s -> /workspace/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w032_spliced_p8C1/flatten.log b/flat/C1/w032_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..3514d4996f9ec3e32d293b83da85c8afffea71a6 --- /dev/null +++ b/flat/C1/w032_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w032_spliced_p8C1: 66x158, 7885/10428 valid (75.6%) step_h=23.036 step_w=27.717 step_diag=25.667 step_avg=25.528 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x158 -> 1x33x79 -> 1x17x40 -> 1x9x20 -> 1x5x10 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w032_spliced_p8C1 shape=(66, 158, 3) valid=7885/10428 model_shape=66x158 source_step=20 output_step=20 measured_source_step=25.5218 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 158, 2) point_valid=7885/10428 quad_valid=7664/10205 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6306 1.2744 1.2744 0.3562 0.3562 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6306 0.1 1.2744 1.2744 0.3562 0.3562 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2775 54.6 0.1730 0.1730 0.1045 0.1045 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 200/4500 0.0932 70.4 0.0491 0.0491 0.0441 0.0441 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.0451 67.0 0.0247 0.0247 0.0204 0.0204 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 400/4500 0.0326 64.3 0.0188 0.0188 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0065 target=20 uv_scale=1.00033 + stage0 500/4500 0.0289 94.2 0.0173 0.0173 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0269 103.3 0.0169 0.0169 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 700/4500 0.0268 84.3 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0268 92.5 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0267 90.6 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 1000/4500 0.0268 119.0 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0269 114.1 0.0168 0.0168 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0265 113.8 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0263 106.7 0.0167 0.0167 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0266 68.3 0.0167 0.0167 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 1500/4500 0.0266 43.2 0.0167 0.0167 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0263 39.2 0.0168 0.0168 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0265 57.1 0.0168 0.0168 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0264 66.0 0.0167 0.0167 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0264 45.2 0.0167 0.0167 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2000/4500 0.0264 30.6 0.0167 0.0167 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0261 34.6 0.0168 0.0168 0.0093 0.0093 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0264 53.4 0.0167 0.0167 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0265 78.8 0.0167 0.0167 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0265 91.6 0.0167 0.0167 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2500/4500 0.0265 115.6 0.0167 0.0167 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0267 103.4 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0267 101.9 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0263 102.7 0.0168 0.0168 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0273 93.4 0.0167 0.0167 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 3000/4500 0.0262 102.0 0.0167 0.0167 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0267 81.7 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0264 92.5 0.0167 0.0167 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0265 81.6 0.0167 0.0167 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0266 76.3 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 3500/4500 0.0264 85.9 0.0167 0.0167 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0268 83.6 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0266 71.6 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0265 97.2 0.0167 0.0167 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0262 110.4 0.0167 0.0167 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0059 target=20 uv_scale=1.00029 + stage0 4000/4500 0.0270 113.4 0.0167 0.0167 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0266 71.0 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0267 113.3 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0267 116.3 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0268 86.2 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 4500/4500 0.0268 94.7 0.0168 0.0168 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m16.00s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0254 0.0168 0.0168 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0254 17.3 0.0168 0.0168 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0266 72.2 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0268 82.1 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0265 106.2 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0267 74.5 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0266 78.5 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0268 119.7 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0268 118.9 0.0168 0.0168 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0266 118.3 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0265 108.4 0.0168 0.0168 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0266 92.2 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 10.90s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0266 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0266 40.0 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0266 123.1 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0266 118.2 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0266 111.4 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0266 122.3 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0266 123.1 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0266 115.1 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0266 117.8 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0266 111.7 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0266 116.7 0.0168 0.0168 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0266 117.0 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 8.73s +[optimizer] total optimize time: 2m35.64s +[fit] peak GPU memory: 0.09 GiB +[fit2tifxyz] area_vx2=4515200 diff --git a/flat/C1/w032_spliced_p8C1/flatten_input.json b/flat/C1/w032_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..acac7dae26fc7f5b060154968bb0628bfb3b98ba --- /dev/null +++ b/flat/C1/w032_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w032_spliced_p8C1"}]} diff --git a/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..11346d7b60383b4fc7b54d827b01e243c815297c --- /dev/null +++ b/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3000.826416015625, + 3653.69140625, + 10041.1669921875 + ], + [ + 5003.39208984375, + 4565.8681640625, + 11037.865234375 + ] + ], + "area_vx2": 4515200.0, + "model_source": "/workspace/flat/C1/w032_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w032_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w032_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..7ffd9e38050f604617a8f080e5de77fc02f7c2e1 Binary files /dev/null and b/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..241e61cea7f4bc925ff356197154194ba0fd31c7 Binary files /dev/null and b/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..c374ef2cc132fe6be559ee09f795d428fb177a34 Binary files /dev/null and b/flat/C1/w032_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w033_spliced_p8C1.log b/flat/C1/w033_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..5ff580c2522d0bea3b9c624e3130c633c165d575 --- /dev/null +++ b/flat/C1/w033_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w033_spliced_p8C1 in 154s -> /workspace/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w033_spliced_p8C1/flatten.log b/flat/C1/w033_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..bd18ca39f842e17d32418d1983d3f9faf062158d --- /dev/null +++ b/flat/C1/w033_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w033_spliced_p8C1: 66x163, 8130/10758 valid (75.6%) step_h=22.973 step_w=27.795 step_diag=25.671 step_avg=25.534 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x163 -> 1x33x82 -> 1x17x41 -> 1x9x21 -> 1x5x11 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w033_spliced_p8C1 shape=(66, 163, 3) valid=8130/10758 model_shape=66x163 source_step=20 output_step=20 measured_source_step=25.5295 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 163, 2) point_valid=8130/10758 quad_valid=7906/10530 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6119 1.2622 1.2622 0.3496 0.3496 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6119 0.0 1.2622 1.2622 0.3496 0.3496 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2287 53.2 0.1560 0.1560 0.0726 0.0726 0.0000 0.0000 0.0000 0.0000 20.001 + stage0 200/4500 0.0890 55.7 0.0454 0.0454 0.0435 0.0435 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 300/4500 0.0478 74.4 0.0247 0.0247 0.0231 0.0231 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 400/4500 0.0346 92.1 0.0193 0.0193 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0065 target=20 uv_scale=1.00032 + stage0 500/4500 0.0301 141.7 0.0178 0.0178 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0278 152.4 0.0172 0.0172 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 700/4500 0.0276 159.0 0.0172 0.0172 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0275 149.3 0.0171 0.0171 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0275 171.6 0.0171 0.0171 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 1000/4500 0.0274 158.1 0.0171 0.0171 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0277 144.1 0.0171 0.0171 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0275 172.0 0.0170 0.0170 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0275 158.9 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0274 147.4 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 1500/4500 0.0275 165.6 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0274 157.3 0.0170 0.0170 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0275 157.1 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0275 174.7 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0275 186.5 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 2000/4500 0.0275 176.1 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0277 160.1 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0276 163.7 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0276 184.4 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0276 154.3 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 2500/4500 0.0276 150.9 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0277 165.0 0.0171 0.0171 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0276 150.5 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0276 168.5 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0276 143.2 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 3000/4500 0.0276 85.4 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0280 100.0 0.0170 0.0170 0.0110 0.0110 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3200/4500 0.0276 126.7 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0275 143.4 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0275 146.9 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 3500/4500 0.0275 161.5 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0275 152.9 0.0171 0.0171 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0274 143.5 0.0170 0.0170 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0274 127.4 0.0170 0.0170 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0274 158.5 0.0170 0.0170 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 4000/4500 0.0275 127.4 0.0170 0.0170 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0277 128.6 0.0171 0.0171 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0275 62.5 0.0171 0.0171 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0275 78.1 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0275 81.5 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 4500/4500 0.0275 167.4 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m01.70s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0263 0.0170 0.0170 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0263 87.9 0.0170 0.0170 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0275 157.7 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0275 157.4 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0275 142.6 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0275 147.7 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0275 164.4 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0275 141.0 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0275 154.2 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0275 148.4 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0275 151.9 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0276 162.8 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 6.74s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0275 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0275 24.1 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0275 173.7 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0275 168.2 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0275 158.4 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0275 148.9 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0275 178.0 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0275 170.5 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0275 158.4 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0275 184.7 0.0170 0.0170 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0276 185.0 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0276 157.0 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 6.21s +[optimizer] total optimize time: 2m14.66s +[fit] peak GPU memory: 0.10 GiB +[fit2tifxyz] area_vx2=4673200 diff --git a/flat/C1/w033_spliced_p8C1/flatten_input.json b/flat/C1/w033_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..61d40803a8ec0cd368732188cf5154cac2137840 --- /dev/null +++ b/flat/C1/w033_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w033_spliced_p8C1"}]} diff --git a/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..07a0c3c76076b257e3769f677421fb5aecbbdb41 --- /dev/null +++ b/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2975.846923828125, + 3646.6015625, + 10041.783203125 + ], + [ + 5029.20654296875, + 4577.755859375, + 11042.703125 + ] + ], + "area_vx2": 4673200.0, + "model_source": "/workspace/flat/C1/w033_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w033_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w033_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..5c1a493761c53dbeb32c16c09554d57e47d60ea2 Binary files /dev/null and b/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..8f573dbfa39c1debaf7de9d4b50f355bb088e3e8 Binary files /dev/null and b/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..7c680799fc155523452cf6b2c316535bf05fb3cd Binary files /dev/null and b/flat/C1/w033_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w034_spliced_p8C1.log b/flat/C1/w034_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..6a0139daaf775cc935e5ea9c8748b687c3404076 --- /dev/null +++ b/flat/C1/w034_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w034_spliced_p8C1 in 291s -> /workspace/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w034_spliced_p8C1/flatten.log b/flat/C1/w034_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..113557edbd0509429e8ca0562782229b7fa65f29 --- /dev/null +++ b/flat/C1/w034_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w034_spliced_p8C1: 66x168, 8375/11088 valid (75.5%) step_h=22.820 step_w=27.808 step_diag=25.629 step_avg=25.479 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x168 -> 1x33x84 -> 1x17x42 -> 1x9x21 -> 1x5x11 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w034_spliced_p8C1 shape=(66, 168, 3) valid=8375/11088 model_shape=66x168 source_step=20 output_step=20 measured_source_step=25.4715 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 168, 2) point_valid=8375/11088 quad_valid=8145/10855 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6603 1.3096 1.3096 0.3507 0.3507 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6603 0.0 1.3096 1.3096 0.3507 0.3507 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2648 32.7 0.1653 0.1653 0.0995 0.0995 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 200/4500 0.0983 43.4 0.0490 0.0490 0.0493 0.0493 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 300/4500 0.0519 52.8 0.0251 0.0251 0.0267 0.0267 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.0355 77.0 0.0189 0.0189 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 500/4500 0.0298 72.0 0.0171 0.0171 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0273 65.5 0.0166 0.0166 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 700/4500 0.0268 77.8 0.0164 0.0164 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0266 69.2 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0266 107.7 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 1000/4500 0.0266 109.0 0.0163 0.0163 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0267 95.7 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0266 116.3 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0266 129.6 0.0163 0.0163 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0266 123.2 0.0163 0.0163 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 1500/4500 0.0266 118.3 0.0163 0.0163 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0268 97.4 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0265 114.7 0.0164 0.0164 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0266 107.7 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0266 99.6 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 2000/4500 0.0266 108.5 0.0163 0.0163 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0268 83.7 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0267 82.8 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0266 61.8 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0266 58.9 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 2500/4500 0.0265 81.2 0.0163 0.0163 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0270 42.3 0.0165 0.0165 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0267 66.3 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0266 90.2 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0267 83.0 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0266 79.2 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0267 81.7 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0267 104.1 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0267 102.0 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0266 117.4 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 3500/4500 0.0266 117.7 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0266 114.6 0.0164 0.0164 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0266 57.7 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0266 36.0 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0266 42.4 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 4000/4500 0.0266 49.2 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0265 39.1 0.0165 0.0165 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0267 64.0 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0267 68.9 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0267 34.4 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 4500/4500 0.0266 59.5 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m45.64s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0255 0.0164 0.0164 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0255 19.4 0.0164 0.0164 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0266 47.2 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0266 50.1 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0266 51.4 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0266 69.6 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0266 60.4 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0266 82.0 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0266 95.2 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0265 100.2 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0266 110.5 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0266 110.3 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 14.59s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0266 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0266 50.6 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0266 60.6 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0266 35.0 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0266 47.6 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0266 73.7 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0266 98.5 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0266 78.6 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0266 97.4 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0266 74.2 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0266 88.9 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0266 92.7 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 15.13s +[optimizer] total optimize time: 4m15.38s +[fit] peak GPU memory: 0.10 GiB +[fit2tifxyz] area_vx2=4794000 diff --git a/flat/C1/w034_spliced_p8C1/flatten_input.json b/flat/C1/w034_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..0e182d768ab170d1b020712283296dc46963c129 --- /dev/null +++ b/flat/C1/w034_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w034_spliced_p8C1"}]} diff --git a/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3721b79c40effe712b9b6e00e21d7e451833c298 --- /dev/null +++ b/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2911.322509765625, + 3641.369873046875, + 10041.984375 + ], + [ + 5051.95556640625, + 4583.58154296875, + 11037.8662109375 + ] + ], + "area_vx2": 4794000.0, + "model_source": "/workspace/flat/C1/w034_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w034_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w034_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..1c7effb3703a42d5f8bff29beb88cea63c58eeb1 Binary files /dev/null and b/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..b9adb6475ff63e7a0119395917782a5e592ac8b5 Binary files /dev/null and b/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..6cde60e8460f2cc9cbd3c833b64bfe0b6ea13ec1 Binary files /dev/null and b/flat/C1/w034_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w035_spliced_p8C1.log b/flat/C1/w035_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..0967a7da37aa0eb422e94956bf72c8ae1ac5493d --- /dev/null +++ b/flat/C1/w035_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w035_spliced_p8C1 in 291s -> /workspace/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w035_spliced_p8C1/flatten.log b/flat/C1/w035_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..a8f58733847dba7980d137e3118438b4ac7e2668 --- /dev/null +++ b/flat/C1/w035_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w035_spliced_p8C1: 66x173, 8622/11418 valid (75.5%) step_h=22.677 step_w=27.772 step_diag=25.594 step_avg=25.416 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x173 -> 1x33x87 -> 1x17x44 -> 1x9x22 -> 1x5x11 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w035_spliced_p8C1 shape=(66, 173, 3) valid=8622/11418 model_shape=66x173 source_step=20 output_step=20 measured_source_step=25.409 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 173, 2) point_valid=8622/11418 quad_valid=8384/11180 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6344 1.2774 1.2774 0.3570 0.3570 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6344 0.0 1.2774 1.2774 0.3570 0.3570 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2844 34.0 0.1748 0.1748 0.1096 0.1096 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 200/4500 0.1013 45.1 0.0498 0.0498 0.0516 0.0516 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 300/4500 0.0492 45.5 0.0229 0.0229 0.0263 0.0263 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.0306 67.9 0.0156 0.0156 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0065 target=20 uv_scale=1.00032 + stage0 500/4500 0.0238 80.5 0.0133 0.0133 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0206 72.2 0.0123 0.0123 0.0083 0.0083 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 700/4500 0.0199 79.2 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 800/4500 0.0198 67.9 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0198 112.3 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 1000/4500 0.0198 103.8 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0198 118.0 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0197 129.7 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0196 117.9 0.0121 0.0121 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0198 109.4 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 1500/4500 0.0197 106.4 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0196 91.8 0.0122 0.0122 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0198 105.7 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0198 105.3 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0198 99.9 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 2000/4500 0.0197 109.5 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0198 98.8 0.0122 0.0122 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0197 81.2 0.0122 0.0122 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0198 66.5 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0198 62.1 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 2500/4500 0.0197 84.3 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0197 47.1 0.0122 0.0122 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0198 61.0 0.0122 0.0122 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0198 74.5 0.0122 0.0122 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0198 74.4 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 3000/4500 0.0198 82.1 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0198 79.9 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0198 96.9 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0198 113.8 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0198 114.7 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 3500/4500 0.0198 112.7 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0198 108.0 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0198 51.1 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0198 35.9 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0198 40.8 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 4000/4500 0.0198 49.1 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0198 37.2 0.0122 0.0122 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0198 71.5 0.0121 0.0121 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0198 53.5 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0197 37.1 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 4500/4500 0.0197 65.6 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m44.57s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0190 0.0121 0.0121 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0190 70.6 0.0121 0.0121 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0197 58.9 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0197 52.3 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0197 49.7 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0196 71.1 0.0121 0.0121 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0197 61.7 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0197 79.4 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0197 95.4 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0197 101.3 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0197 110.7 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0197 108.9 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 14.17s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0197 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0197 22.1 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0197 55.9 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0197 35.7 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0197 48.2 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0197 71.2 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0197 107.9 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0197 78.0 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0197 92.4 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0197 73.3 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0197 94.2 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0197 99.9 0.0121 0.0121 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 15.11s +[optimizer] total optimize time: 4m13.86s +[fit] peak GPU memory: 0.10 GiB +[fit2tifxyz] area_vx2=4916000 diff --git a/flat/C1/w035_spliced_p8C1/flatten_input.json b/flat/C1/w035_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..39145a43eaf5bb51c1bd4c2bb7673ecdf2497535 --- /dev/null +++ b/flat/C1/w035_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w035_spliced_p8C1"}]} diff --git a/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..11043c5558f80f409cc742d1d9433be1e2efde28 --- /dev/null +++ b/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2878.889892578125, + 3632.71923828125, + 10041.548828125 + ], + [ + 5086.53466796875, + 4589.2041015625, + 11037.8583984375 + ] + ], + "area_vx2": 4916000.0, + "model_source": "/workspace/flat/C1/w035_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w035_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w035_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..2c676ce5fb12679611f65619423d498e9c84d1aa Binary files /dev/null and b/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..93de3adb8478031e3d845abe4847a41cd4417aa4 Binary files /dev/null and b/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..6572fe25b3dd181ed3d1c49cd011680f99f0b86c Binary files /dev/null and b/flat/C1/w035_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w036_spliced_p8C1.log b/flat/C1/w036_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..690359cd0560b5232b6c8ba8e82bd68056917d41 --- /dev/null +++ b/flat/C1/w036_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w036_spliced_p8C1 in 291s -> /workspace/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w036_spliced_p8C1/flatten.log b/flat/C1/w036_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..d5c198f9264bf63924990c1df23623285eee3a35 --- /dev/null +++ b/flat/C1/w036_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w036_spliced_p8C1: 66x178, 8870/11748 valid (75.5%) step_h=22.499 step_w=27.712 step_diag=25.506 step_avg=25.313 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x178 -> 1x33x89 -> 1x17x45 -> 1x9x23 -> 1x5x12 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w036_spliced_p8C1 shape=(66, 178, 3) valid=8870/11748 model_shape=66x178 source_step=20 output_step=20 measured_source_step=25.3087 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 178, 2) point_valid=8870/11748 quad_valid=8631/11505 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6419 1.2838 1.2838 0.3581 0.3581 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6419 0.0 1.2838 1.2838 0.3581 0.3581 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.2934 35.2 0.1819 0.1819 0.1115 0.1115 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 200/4500 0.1020 51.7 0.0504 0.0504 0.0515 0.0515 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 300/4500 0.0458 47.7 0.0211 0.0211 0.0247 0.0247 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.0258 74.1 0.0133 0.0133 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0055 target=20 uv_scale=1.00028 + stage0 500/4500 0.0192 79.4 0.0110 0.0110 0.0081 0.0081 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0161 84.8 0.0100 0.0100 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 700/4500 0.0156 83.5 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 800/4500 0.0156 68.3 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 900/4500 0.0156 98.3 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0029 target=20 uv_scale=1.00015 + stage0 1000/4500 0.0156 110.1 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0157 95.5 0.0099 0.0099 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0156 105.1 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1300/4500 0.0156 104.3 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0156 97.3 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0029 target=20 uv_scale=1.00015 + stage0 1500/4500 0.0156 104.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0155 87.9 0.0099 0.0099 0.0056 0.0056 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0156 125.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1800/4500 0.0156 114.2 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0156 99.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 2000/4500 0.0156 112.9 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0157 100.1 0.0099 0.0099 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0156 93.0 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0155 78.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0156 51.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0028 target=20 uv_scale=1.00014 + stage0 2500/4500 0.0156 77.8 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0156 47.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0156 55.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0156 74.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0156 74.2 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0029 target=20 uv_scale=1.00015 + stage0 3000/4500 0.0156 70.2 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0156 87.4 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0156 103.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0156 139.1 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0156 130.9 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 3500/4500 0.0156 124.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0155 107.3 0.0099 0.0099 0.0056 0.0056 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0156 64.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0156 36.1 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0156 40.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 4000/4500 0.0156 46.2 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0157 41.5 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0156 54.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0156 63.1 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0156 35.4 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 4500/4500 0.0156 60.8 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m41.59s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0151 0.0099 0.0099 0.0052 0.0052 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0151 47.2 0.0099 0.0099 0.0052 0.0052 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0155 55.0 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0155 57.8 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0155 59.5 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0155 60.0 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0155 57.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0155 79.0 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0155 86.1 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0155 118.3 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0155 98.9 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0156 119.3 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 14.11s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0156 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0156 87.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0155 89.0 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0155 42.6 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0155 36.8 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0155 67.4 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0155 87.0 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0155 98.0 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0155 81.1 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0155 119.3 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0155 83.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0155 102.7 0.0099 0.0099 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 14.37s +[optimizer] total optimize time: 4m10.08s +[fit] peak GPU memory: 0.10 GiB +[fit2tifxyz] area_vx2=5006800 diff --git a/flat/C1/w036_spliced_p8C1/flatten_input.json b/flat/C1/w036_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..814816d9a3c887c83be85c4d98f7b82144dd0dfb --- /dev/null +++ b/flat/C1/w036_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w036_spliced_p8C1"}]} diff --git a/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..fe176c6b9ef4aa7ca263f1f60e34f980afa6a4c4 --- /dev/null +++ b/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2837.844482421875, + 3620.22607421875, + 10040.9345703125 + ], + [ + 5130.14013671875, + 4603.3427734375, + 11036.4326171875 + ] + ], + "area_vx2": 5006800.0, + "model_source": "/workspace/flat/C1/w036_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w036_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w036_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..90a791ccabb129c2f2b2173eed2f7a46c7efa2e3 Binary files /dev/null and b/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..7fadb26365524c0fa1f4dc645a0a63476fb9f65c Binary files /dev/null and b/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..8ed9d1f94ac0fd08b408b010f95a83ed90151d34 Binary files /dev/null and b/flat/C1/w036_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w037_spliced_p8C1.log b/flat/C1/w037_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..e1ecebd6487baf10c10855a562e132884a35b940 --- /dev/null +++ b/flat/C1/w037_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w037_spliced_p8C1 in 181s -> /workspace/flat/C1/w037_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w038_spliced_p8C1.log b/flat/C1/w038_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..f0d203fa21871f840c86dce16d6812ea87c2564d --- /dev/null +++ b/flat/C1/w038_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w038_spliced_p8C1 in 181s -> /workspace/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w038_spliced_p8C1/flatten.log b/flat/C1/w038_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..38f3256b2cfd03a547e3a48ddfcc3a3a989daf8a --- /dev/null +++ b/flat/C1/w038_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w038_spliced_p8C1: 66x187, 9322/12342 valid (75.5%) step_h=22.539 step_w=27.560 step_diag=25.403 step_avg=25.233 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x187 -> 1x33x94 -> 1x17x47 -> 1x9x24 -> 1x5x12 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w038_spliced_p8C1 shape=(66, 187, 3) valid=9322/12342 model_shape=66x187 source_step=20 output_step=20 measured_source_step=25.2275 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 187, 2) point_valid=9322/12342 quad_valid=9071/12090 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6167 1.2633 1.2633 0.3534 0.3534 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6167 0.0 1.2633 1.2633 0.3534 0.3534 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3162 77.6 0.1960 0.1960 0.1202 0.1202 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 200/4500 0.1118 104.0 0.0575 0.0575 0.0543 0.0543 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 300/4500 0.0527 110.9 0.0249 0.0249 0.0278 0.0278 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 400/4500 0.0298 103.2 0.0154 0.0154 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0068 target=20 uv_scale=1.00034 + stage0 500/4500 0.0212 92.5 0.0121 0.0121 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0169 42.4 0.0102 0.0102 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 700/4500 0.0155 42.3 0.0100 0.0100 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 800/4500 0.0154 57.7 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0154 75.3 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 1000/4500 0.0154 78.1 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0154 67.4 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0154 65.7 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1300/4500 0.0154 74.7 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0154 83.1 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 1500/4500 0.0154 114.8 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0156 123.1 0.0099 0.0099 0.0056 0.0056 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0154 148.0 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1800/4500 0.0154 87.9 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0154 156.4 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 2000/4500 0.0154 157.3 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0153 155.1 0.0099 0.0099 0.0053 0.0053 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0154 156.7 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0154 165.0 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0154 162.2 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 2500/4500 0.0154 167.3 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0154 164.4 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0154 133.1 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0154 148.9 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0154 93.3 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3000/4500 0.0154 99.2 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0153 90.3 0.0099 0.0099 0.0053 0.0053 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0154 121.9 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0154 146.0 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0154 137.0 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0154 165.2 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0154 156.5 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0154 154.7 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0154 154.7 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0154 161.8 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 4000/4500 0.0154 148.8 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0152 74.1 0.0099 0.0099 0.0053 0.0053 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0154 28.9 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0154 58.1 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0154 129.9 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 4500/4500 0.0154 96.4 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m24.02s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0148 0.0099 0.0099 0.0049 0.0049 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0148 20.3 0.0099 0.0099 0.0049 0.0049 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0154 96.2 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0154 139.1 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0154 113.5 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0154 121.2 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0154 130.4 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0154 124.6 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0154 48.1 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0154 61.8 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0154 73.0 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0154 120.7 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 11.22s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0154 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0154 85.2 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0154 120.3 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0154 106.0 0.0099 0.0099 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0154 150.8 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0154 110.8 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0154 159.4 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0154 150.9 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0154 149.9 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0154 146.9 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0154 179.4 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0154 197.2 0.0099 0.0099 0.0055 0.0055 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 7.23s +[optimizer] total optimize time: 2m42.47s +[fit] peak GPU memory: 0.11 GiB +[fit2tifxyz] area_vx2=5251200 diff --git a/flat/C1/w038_spliced_p8C1/flatten_input.json b/flat/C1/w038_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..bf6cd4f19d24c82fec8584b86e2bcce15c0d5c02 --- /dev/null +++ b/flat/C1/w038_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w038_spliced_p8C1"}]} diff --git a/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..b13fe2fba64fc29447becc331c66bc73a459031b --- /dev/null +++ b/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2824.51513671875, + 3599.899658203125, + 10041.6669921875 + ], + [ + 5172.39208984375, + 4625.3330078125, + 11040.1337890625 + ] + ], + "area_vx2": 5251200.0, + "model_source": "/workspace/flat/C1/w038_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w038_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w038_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..250c227b152083dd89a1db0bb08ba065cf2272b3 Binary files /dev/null and b/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..607cbc1b2dfdb0bcd28855f8a8e1f77e27bcee2d Binary files /dev/null and b/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..82501e10211767bfc8ec4a9e842275d7db989424 Binary files /dev/null and b/flat/C1/w038_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w039_spliced_p8C1.log b/flat/C1/w039_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..20fb217395e51a88b8c39b15ccbed27614991f37 --- /dev/null +++ b/flat/C1/w039_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w039_spliced_p8C1 in 184s -> /workspace/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w039_spliced_p8C1/flatten.log b/flat/C1/w039_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..1656f42d29fe43e28a74bb696799c6d94a1812e0 --- /dev/null +++ b/flat/C1/w039_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w039_spliced_p8C1: 66x192, 9572/12672 valid (75.5%) step_h=22.576 step_w=27.558 step_diag=25.424 step_avg=25.253 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x192 -> 1x33x96 -> 1x17x48 -> 1x9x24 -> 1x5x12 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w039_spliced_p8C1 shape=(66, 192, 3) valid=9572/12672 model_shape=66x192 source_step=20 output_step=20 measured_source_step=25.2472 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 192, 2) point_valid=9572/12672 quad_valid=9317/12415 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6867 1.3088 1.3088 0.3779 0.3779 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6867 0.0 1.3088 1.3088 0.3779 0.3779 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3661 41.7 0.2148 0.2148 0.1513 0.1513 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 200/4500 0.1314 50.2 0.0657 0.0657 0.0656 0.0656 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 300/4500 0.0644 62.9 0.0284 0.0284 0.0360 0.0360 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.0382 117.2 0.0176 0.0176 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0071 target=20 uv_scale=1.00035 + stage0 500/4500 0.0279 92.2 0.0138 0.0138 0.0141 0.0141 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0228 62.5 0.0121 0.0121 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 700/4500 0.0206 81.1 0.0116 0.0116 0.0090 0.0090 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 800/4500 0.0203 96.7 0.0115 0.0115 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 900/4500 0.0203 152.6 0.0115 0.0115 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 1000/4500 0.0202 119.3 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0203 120.2 0.0115 0.0115 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0202 92.5 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1300/4500 0.0202 146.4 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0202 158.5 0.0116 0.0116 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 1500/4500 0.0202 153.2 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0202 151.8 0.0116 0.0116 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0202 142.2 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1800/4500 0.0202 139.6 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0202 162.3 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 2000/4500 0.0202 162.3 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0201 114.4 0.0116 0.0116 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0202 106.0 0.0115 0.0115 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0202 80.0 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0202 100.9 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 2500/4500 0.0202 109.9 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0203 155.1 0.0116 0.0116 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0202 135.5 0.0116 0.0116 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0202 140.8 0.0116 0.0116 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0202 131.7 0.0115 0.0115 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 3000/4500 0.0202 155.4 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0202 139.6 0.0116 0.0116 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0202 150.2 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0202 155.9 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0202 100.3 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 3500/4500 0.0202 28.6 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0203 47.7 0.0116 0.0116 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0202 127.8 0.0116 0.0116 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0202 94.3 0.0115 0.0115 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0202 89.4 0.0115 0.0115 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 4000/4500 0.0202 138.2 0.0115 0.0115 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0202 108.3 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0202 129.4 0.0116 0.0116 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0202 131.8 0.0115 0.0115 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0202 148.0 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0202 71.8 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m30.36s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0195 0.0115 0.0115 0.0080 0.0080 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0195 20.5 0.0115 0.0115 0.0080 0.0080 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0201 62.3 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0201 73.4 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0201 92.9 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0201 156.1 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0201 120.7 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0201 112.8 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0201 166.3 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0201 115.3 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0201 159.8 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0201 139.2 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 9.58s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0201 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0201 56.7 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0201 138.8 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0201 151.8 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0201 200.5 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0201 196.2 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0201 125.1 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0201 173.7 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0201 230.4 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0201 222.0 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0201 250.8 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0201 215.4 0.0115 0.0115 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 5.70s +[optimizer] total optimize time: 2m45.65s +[fit] peak GPU memory: 0.11 GiB +[fit2tifxyz] area_vx2=5390400 diff --git a/flat/C1/w039_spliced_p8C1/flatten_input.json b/flat/C1/w039_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..f257c98d234456372961e0807612c763419d719a --- /dev/null +++ b/flat/C1/w039_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w039_spliced_p8C1"}]} diff --git a/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..770e983bffce2296b538f9ca4e784c7103153899 --- /dev/null +++ b/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2794.60546875, + 3597.071044921875, + 10041.732421875 + ], + [ + 5217.59814453125, + 4623.8173828125, + 11037.32421875 + ] + ], + "area_vx2": 5390400.0, + "model_source": "/workspace/flat/C1/w039_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w039_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w039_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..b0f4c084a1c521696dce1afe9766778ca9596b50 Binary files /dev/null and b/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..7f73dfd2a7aba5b63d5bb293d09b1320ff0fcec4 Binary files /dev/null and b/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..7c855041a8612dfbb14ec437e9e60808440c9c96 Binary files /dev/null and b/flat/C1/w039_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w040_spliced_p8C1.log b/flat/C1/w040_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..4147dff023516a8eb90a087c9e59443ad415d2c9 --- /dev/null +++ b/flat/C1/w040_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w040_spliced_p8C1 in 341s -> /workspace/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w040_spliced_p8C1/flatten.log b/flat/C1/w040_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..7fbf770d563c97814a05659c3cf0ac2a3db5dabc --- /dev/null +++ b/flat/C1/w040_spliced_p8C1/flatten.log @@ -0,0 +1,146 @@ +[tifxyz_io] loaded w040_spliced_p8C1: 66x197, 9821/13002 valid (75.5%) step_h=22.537 step_w=27.554 step_diag=25.409 step_avg=25.235 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x197 -> 1x33x99 -> 1x17x50 -> 1x9x25 -> 1x5x13 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w040_spliced_p8C1 shape=(66, 197, 3) valid=9821/13002 model_shape=66x197 source_step=20 output_step=20 measured_source_step=25.2318 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 197, 2) point_valid=9821/13002 quad_valid=9562/12740 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[opt_loss_flatten] compile_flatten disabled after failure: InductorError: RuntimeError: CUDA driver error: out of memory + +Set TORCHDYNAMO_VERBOSE=1 for the internal stack trace (please do this especially if you're reporting a bug to PyTorch). For even more developer context, set TORCH_LOGS="+dynamo" + +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6597 1.2819 1.2819 0.3778 0.3778 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6597 4.1 1.2819 1.2819 0.3778 0.3778 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3286 31.8 0.2030 0.2030 0.1255 0.1255 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 200/4500 0.1117 33.9 0.0578 0.0578 0.0539 0.0539 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 300/4500 0.0515 36.0 0.0238 0.0238 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.0299 41.2 0.0148 0.0148 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0067 target=20 uv_scale=1.00033 + stage0 500/4500 0.0214 28.0 0.0118 0.0118 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0170 20.7 0.0102 0.0102 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 700/4500 0.0162 20.1 0.0099 0.0099 0.0063 0.0063 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 800/4500 0.0160 33.2 0.0099 0.0099 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 900/4500 0.0160 18.3 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 1000/4500 0.0159 15.4 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0160 15.4 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0159 16.6 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1300/4500 0.0159 19.7 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0159 20.7 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 1500/4500 0.0160 20.2 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0163 21.2 0.0098 0.0098 0.0065 0.0065 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0159 19.0 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1800/4500 0.0160 14.4 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0160 22.9 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 2000/4500 0.0158 23.7 0.0098 0.0098 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0159 23.2 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0159 23.3 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0160 29.2 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0159 39.2 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0027 target=20 uv_scale=1.00014 + stage0 2500/4500 0.0158 39.9 0.0098 0.0098 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0159 19.9 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0159 19.5 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0160 29.0 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0159 35.1 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 3000/4500 0.0160 36.2 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0158 39.0 0.0098 0.0098 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0158 39.1 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0159 38.6 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0158 35.4 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 3500/4500 0.0159 35.7 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0159 38.5 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0158 33.0 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0159 36.8 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0159 41.2 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0161 41.4 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0159 40.2 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0160 38.3 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0159 35.9 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0159 41.3 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0159 43.5 0.0098 0.0098 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 4m19.77s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0154 0.0098 0.0098 0.0056 0.0056 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0154 43.5 0.0098 0.0098 0.0056 0.0056 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0158 44.8 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0159 46.3 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0159 44.0 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0159 44.7 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0158 31.1 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0159 22.4 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0159 23.6 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0159 22.9 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0159 31.4 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0159 39.7 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 31.09s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0158 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0158 14.9 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0159 39.9 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0159 37.8 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0159 43.9 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0159 43.0 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0159 38.7 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0159 40.4 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0159 34.9 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0159 34.2 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0159 29.8 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0159 22.5 0.0098 0.0098 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 28.65s +[optimizer] total optimize time: 5m19.52s +[fit] peak GPU memory: 0.12 GiB +[fit2tifxyz] area_vx2=5537200 diff --git a/flat/C1/w040_spliced_p8C1/flatten_input.json b/flat/C1/w040_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..feec4c0043b0b51ffee05e8781080405a4a7cbff --- /dev/null +++ b/flat/C1/w040_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w040_spliced_p8C1"}]} diff --git a/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..640c5e137eecfa3179a338a5243f97aae2c55948 --- /dev/null +++ b/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2769.332275390625, + 3581.570556640625, + 10042.5283203125 + ], + [ + 5268.87353515625, + 4644.95703125, + 11038.095703125 + ] + ], + "area_vx2": 5537200.0, + "model_source": "/workspace/flat/C1/w040_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w040_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w040_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..c50e625ae6a784b61775f58b25b39403f6664040 Binary files /dev/null and b/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..1015e272e95a70a7dfc0cbc86a78fc491ecb2916 Binary files /dev/null and b/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..e10cc4bda4addefb41a7598edd63bb99792f40b3 Binary files /dev/null and b/flat/C1/w040_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w041_spliced_p8C1.log b/flat/C1/w041_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..fdeaf0efbc5d4e0939beeceed2d13c9b0fb7a04d --- /dev/null +++ b/flat/C1/w041_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w041_spliced_p8C1 in 255s -> /workspace/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w041_spliced_p8C1/flatten.log b/flat/C1/w041_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..25e946f634a1239e9774e76fc60ffc00cbbdcceb --- /dev/null +++ b/flat/C1/w041_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w041_spliced_p8C1: 66x202, 10074/13332 valid (75.6%) step_h=22.593 step_w=27.557 step_diag=25.402 step_avg=25.246 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x202 -> 1x33x101 -> 1x17x51 -> 1x9x26 -> 1x5x13 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w041_spliced_p8C1 shape=(66, 202, 3) valid=10074/13332 model_shape=66x202 source_step=20 output_step=20 measured_source_step=25.2442 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 202, 2) point_valid=10074/13332 quad_valid=9811/13065 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6391 1.2669 1.2669 0.3723 0.3723 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6391 0.0 1.2669 1.2669 0.3723 0.3723 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3291 34.6 0.2015 0.2015 0.1277 0.1277 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 200/4500 0.1161 37.2 0.0591 0.0591 0.0570 0.0570 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 300/4500 0.0534 36.9 0.0247 0.0247 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 400/4500 0.0326 40.1 0.0159 0.0159 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0072 target=20 uv_scale=1.00036 + stage0 500/4500 0.0237 43.5 0.0128 0.0128 0.0109 0.0109 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0188 36.7 0.0110 0.0110 0.0078 0.0078 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 700/4500 0.0178 37.2 0.0107 0.0107 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 800/4500 0.0176 49.6 0.0106 0.0106 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0176 50.6 0.0106 0.0106 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 1000/4500 0.0176 51.6 0.0106 0.0106 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0175 46.2 0.0105 0.0105 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0174 58.9 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0174 51.9 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0174 53.2 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 1500/4500 0.0173 49.6 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0173 53.2 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0174 54.8 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0173 52.6 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0173 56.0 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 2000/4500 0.0173 53.3 0.0104 0.0104 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0177 39.7 0.0105 0.0105 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0173 43.7 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0173 33.1 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0173 52.4 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 2500/4500 0.0173 52.9 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0173 52.6 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0173 72.8 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0173 55.1 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0173 67.5 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 3000/4500 0.0172 54.7 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0172 53.4 0.0105 0.0105 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0173 40.7 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0173 52.0 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0173 65.8 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 3500/4500 0.0173 66.7 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0173 63.9 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0173 101.6 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0173 96.1 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0173 89.6 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 4000/4500 0.0173 89.3 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0174 81.9 0.0105 0.0105 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0173 40.2 0.0105 0.0105 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0173 33.4 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0173 43.5 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 4500/4500 0.0172 67.8 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m32.74s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0165 0.0105 0.0105 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0165 52.7 0.0105 0.0105 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0172 77.6 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0172 80.3 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0172 61.0 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0172 90.9 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0172 92.7 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0172 103.7 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0172 100.1 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0172 86.8 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0172 104.1 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0172 118.0 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 11.54s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0172 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0172 90.0 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0172 110.0 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0172 103.4 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0172 105.4 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0172 114.4 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0172 121.1 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0172 112.2 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0172 109.8 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0172 99.6 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0172 93.7 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0172 100.5 0.0104 0.0104 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 9.64s +[optimizer] total optimize time: 3m53.93s +[fit] peak GPU memory: 0.12 GiB +[fit2tifxyz] area_vx2=5680800 diff --git a/flat/C1/w041_spliced_p8C1/flatten_input.json b/flat/C1/w041_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..655b57702ac5dd2c88d96e49a0d368346a4a1299 --- /dev/null +++ b/flat/C1/w041_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w041_spliced_p8C1"}]} diff --git a/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..4dbc2ac7cfa6eb7ff47db4f0af2027a40639b9b3 --- /dev/null +++ b/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2767.4736328125, + 3575.819091796875, + 10041.24609375 + ], + [ + 5287.8251953125, + 4646.88427734375, + 11038.26953125 + ] + ], + "area_vx2": 5680800.0, + "model_source": "/workspace/flat/C1/w041_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w041_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w041_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..d91b8b81a5cc327ed8ecc19fcb1085743395edf4 Binary files /dev/null and b/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..4364a093069c563ee30ce93c73914cacb2cccdf0 Binary files /dev/null and b/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..c97fdd369c09d23a99530e21c498e223ee3ba95d Binary files /dev/null and b/flat/C1/w041_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w042_spliced_p8C1.log b/flat/C1/w042_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..8222362dc43e487b38a18da3c704302aedce2697 --- /dev/null +++ b/flat/C1/w042_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w042_spliced_p8C1 in 258s -> /workspace/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w042_spliced_p8C1/flatten.log b/flat/C1/w042_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..b6ca8601ddd4ab207c6f917553a7e877a1bc793b --- /dev/null +++ b/flat/C1/w042_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w042_spliced_p8C1: 66x207, 10323/13662 valid (75.6%) step_h=22.703 step_w=27.569 step_diag=25.427 step_avg=25.289 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x207 -> 1x33x104 -> 1x17x52 -> 1x9x26 -> 1x5x13 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w042_spliced_p8C1 shape=(66, 207, 3) valid=10323/13662 model_shape=66x207 source_step=20 output_step=20 measured_source_step=25.2871 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 207, 2) point_valid=10323/13662 quad_valid=10053/13390 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6256 1.2564 1.2564 0.3692 0.3692 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6256 0.0 1.2564 1.2564 0.3692 0.3692 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3299 41.0 0.2050 0.2050 0.1249 0.1249 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 200/4500 0.1150 42.1 0.0621 0.0621 0.0529 0.0529 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.0562 36.8 0.0272 0.0272 0.0291 0.0291 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 400/4500 0.0348 41.3 0.0179 0.0179 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0076 target=20 uv_scale=1.00038 + stage0 500/4500 0.0263 46.3 0.0148 0.0148 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0210 54.6 0.0127 0.0127 0.0083 0.0083 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 700/4500 0.0197 55.4 0.0122 0.0122 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0193 52.5 0.0120 0.0120 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0191 57.0 0.0119 0.0119 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 1000/4500 0.0183 54.8 0.0119 0.0119 0.0064 0.0064 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0189 48.1 0.0120 0.0120 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0190 45.5 0.0119 0.0119 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0187 57.3 0.0119 0.0119 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0189 53.2 0.0120 0.0120 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 1500/4500 0.0188 52.7 0.0118 0.0118 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0190 58.4 0.0118 0.0118 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0187 53.1 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0187 47.5 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0187 41.6 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2000/4500 0.0188 30.5 0.0118 0.0118 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0186 46.9 0.0119 0.0119 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0187 56.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0187 55.1 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0187 76.5 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 2500/4500 0.0187 52.8 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0187 81.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0187 49.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0186 60.5 0.0118 0.0118 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0188 39.2 0.0118 0.0118 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 3000/4500 0.0188 48.6 0.0118 0.0118 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0185 62.2 0.0118 0.0118 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0187 66.1 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0186 67.8 0.0118 0.0118 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0186 95.8 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 3500/4500 0.0187 91.8 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0185 93.4 0.0118 0.0118 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0186 87.7 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0189 74.6 0.0118 0.0118 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0184 36.9 0.0118 0.0118 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 4000/4500 0.0188 28.9 0.0118 0.0118 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0187 52.1 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0186 71.5 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0187 88.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0186 77.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 4500/4500 0.0187 61.1 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m35.73s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0178 0.0118 0.0118 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0178 15.3 0.0118 0.0118 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0186 89.9 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0187 85.1 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0187 104.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0187 98.2 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0187 89.1 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0187 118.0 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0186 116.1 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0187 107.7 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0187 116.3 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0186 111.5 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 10.07s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0187 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0187 44.9 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0187 106.0 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0187 114.9 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0187 110.5 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0187 99.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0187 101.9 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0187 99.3 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0187 92.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0187 119.0 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0187 116.7 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0187 124.2 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 9.49s +[optimizer] total optimize time: 3m55.29s +[fit] peak GPU memory: 0.12 GiB +[fit2tifxyz] area_vx2=5841200 diff --git a/flat/C1/w042_spliced_p8C1/flatten_input.json b/flat/C1/w042_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..684c8ba257a1d665889965327b66c29670f83ca3 --- /dev/null +++ b/flat/C1/w042_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w042_spliced_p8C1"}]} diff --git a/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..7690ca8eb094a8fecf1cb37f506c216e89aaf861 --- /dev/null +++ b/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2743.691650390625, + 3558.853271484375, + 10042.53125 + ], + [ + 5328.06494140625, + 4656.62353515625, + 11038.39453125 + ] + ], + "area_vx2": 5841200.0, + "model_source": "/workspace/flat/C1/w042_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w042_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w042_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..bae4bf19e0c9dc2f20dc8fcdeda8f65bdb1cd5ad Binary files /dev/null and b/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..d924a228264320b35299d5aaf71d005552ec7ab2 Binary files /dev/null and b/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..5256410ab7566d9a431a524127048623cc363a64 Binary files /dev/null and b/flat/C1/w042_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w043_spliced_p8C1.log b/flat/C1/w043_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..601e220f94758b401457bee29067fce2a34c4f86 --- /dev/null +++ b/flat/C1/w043_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w043_spliced_p8C1 in 182s -> /workspace/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w043_spliced_p8C1/flatten.log b/flat/C1/w043_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..5409c21e4ae88e82e269a2527caeba6b053fd83a --- /dev/null +++ b/flat/C1/w043_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w043_spliced_p8C1: 66x211, 10518/13926 valid (75.5%) step_h=22.595 step_w=27.273 step_diag=25.249 step_avg=25.098 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x211 -> 1x33x106 -> 1x17x53 -> 1x9x27 -> 1x5x14 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w043_spliced_p8C1 shape=(66, 211, 3) valid=10518/13926 model_shape=66x211 source_step=20 output_step=20 measured_source_step=25.0965 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 211, 2) point_valid=10518/13926 quad_valid=10239/13650 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.5817 1.2208 1.2208 0.3609 0.3609 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.5817 0.1 1.2208 1.2208 0.3609 0.3609 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3194 16.6 0.2007 0.2007 0.1187 0.1187 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 200/4500 0.1122 28.8 0.0612 0.0612 0.0511 0.0511 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.0552 50.0 0.0274 0.0274 0.0278 0.0278 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.0346 61.4 0.0186 0.0186 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 500/4500 0.0264 59.5 0.0154 0.0154 0.0110 0.0110 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0217 65.7 0.0132 0.0132 0.0085 0.0085 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 700/4500 0.0202 48.5 0.0128 0.0128 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 800/4500 0.0200 78.8 0.0126 0.0126 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0197 86.5 0.0125 0.0125 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 1000/4500 0.0196 81.4 0.0124 0.0124 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0197 69.1 0.0124 0.0124 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0196 74.8 0.0124 0.0124 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1300/4500 0.0196 114.8 0.0124 0.0124 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0195 92.5 0.0123 0.0123 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 1500/4500 0.0195 128.5 0.0123 0.0123 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0194 124.0 0.0123 0.0123 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0194 115.3 0.0123 0.0123 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1800/4500 0.0194 113.7 0.0123 0.0123 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0194 125.2 0.0122 0.0122 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 2000/4500 0.0194 116.5 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0193 74.5 0.0122 0.0122 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0194 109.4 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0193 93.0 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0193 95.4 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 2500/4500 0.0193 90.1 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0194 83.8 0.0122 0.0122 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0193 68.6 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0193 29.0 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0193 30.7 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3000/4500 0.0193 82.7 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0191 69.8 0.0122 0.0122 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0193 92.7 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0193 114.0 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0192 118.8 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3500/4500 0.0193 86.6 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0193 89.5 0.0122 0.0122 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0193 115.8 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0193 114.4 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0192 115.5 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0193 117.1 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0193 118.2 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0193 115.2 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0193 124.2 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0194 119.5 0.0122 0.0122 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0193 110.4 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m26.05s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0187 0.0122 0.0122 0.0065 0.0065 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0187 26.2 0.0122 0.0122 0.0065 0.0065 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0192 91.4 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0192 68.9 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0192 87.4 0.0121 0.0121 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0192 87.8 0.0121 0.0121 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0192 96.6 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0192 83.7 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0192 83.0 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0192 85.1 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0192 82.8 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0192 90.3 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 11.93s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0192 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0192 56.5 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0192 104.2 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0192 114.3 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0192 112.8 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0192 121.4 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0192 118.8 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0192 78.6 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0192 81.4 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0192 112.0 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0192 103.5 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0192 108.7 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 9.86s +[optimizer] total optimize time: 2m47.85s +[fit] peak GPU memory: 0.12 GiB +[fit2tifxyz] area_vx2=5873600 diff --git a/flat/C1/w043_spliced_p8C1/flatten_input.json b/flat/C1/w043_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..fd5f925a9afcf463993109050298b0a1e8c32a8b --- /dev/null +++ b/flat/C1/w043_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w043_spliced_p8C1"}]} diff --git a/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..2fd60eeafdd23dd2013d7ca96a4325d174857acc --- /dev/null +++ b/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2710.4970703125, + 3548.6982421875, + 10043.28515625 + ], + [ + 5349.6787109375, + 4667.3447265625, + 11038.3212890625 + ] + ], + "area_vx2": 5873600.0, + "model_source": "/workspace/flat/C1/w043_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w043_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w043_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..59f74c95b628c1c26bbe0042f50b1a0166b0ec0e Binary files /dev/null and b/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..aa15e7abc73a7a9ea7b0239f83b8190a74e32d15 Binary files /dev/null and b/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..fd2893c5bb5dd83c4149e8938420cd0544dbcfa8 Binary files /dev/null and b/flat/C1/w043_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w044_spliced_p8C1.log b/flat/C1/w044_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..602654bd4dda099d167712cf0df446af6752b1d6 --- /dev/null +++ b/flat/C1/w044_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w044_spliced_p8C1 in 182s -> /workspace/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w044_spliced_p8C1/flatten.log b/flat/C1/w044_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..4d9e0044574c80c65392eab894b6eac7ebaa83ef --- /dev/null +++ b/flat/C1/w044_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w044_spliced_p8C1: 66x216, 10766/14256 valid (75.5%) step_h=22.544 step_w=27.219 step_diag=25.212 step_avg=25.054 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x216 -> 1x33x108 -> 1x17x54 -> 1x9x27 -> 1x5x14 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w044_spliced_p8C1 shape=(66, 216, 3) valid=10766/14256 model_shape=66x216 source_step=20 output_step=20 measured_source_step=25.0533 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 216, 2) point_valid=10766/14256 quad_valid=10484/13975 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6171 1.2419 1.2419 0.3752 0.3752 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6171 0.0 1.2419 1.2419 0.3752 0.3752 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3400 22.5 0.2121 0.2121 0.1278 0.1278 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 200/4500 0.1238 16.8 0.0681 0.0681 0.0556 0.0556 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 300/4500 0.0663 35.0 0.0330 0.0330 0.0333 0.0333 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.0454 53.1 0.0237 0.0237 0.0217 0.0217 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0074 target=20 uv_scale=1.00037 + stage0 500/4500 0.0366 55.5 0.0203 0.0203 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0309 55.3 0.0180 0.0180 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 700/4500 0.0295 58.9 0.0175 0.0175 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 800/4500 0.0292 52.9 0.0172 0.0172 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0290 92.4 0.0171 0.0171 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 1000/4500 0.0289 80.1 0.0170 0.0170 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0287 70.0 0.0172 0.0172 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0285 69.0 0.0172 0.0172 0.0113 0.0113 0.0000 0.0000 0.0000 1.0e-04 20.003 + stage0 1300/4500 0.0287 90.6 0.0170 0.0170 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0294 133.7 0.0169 0.0169 0.0124 0.0124 1.0e-04 1.0e-04 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 1500/4500 0.0291 93.5 0.0170 0.0170 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0287 121.0 0.0172 0.0172 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0287 118.1 0.0171 0.0171 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0287 113.5 0.0170 0.0170 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0287 122.1 0.0169 0.0169 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 2000/4500 0.0287 127.9 0.0169 0.0169 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0291 106.7 0.0171 0.0171 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0294 82.5 0.0170 0.0170 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0280 98.1 0.0170 0.0170 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0285 92.7 0.0170 0.0170 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 19.997 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0055 target=20 uv_scale=1.00028 + stage0 2500/4500 0.0295 99.5 0.0168 0.0168 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0286 85.1 0.0171 0.0171 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0286 82.0 0.0170 0.0170 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0291 67.1 0.0169 0.0169 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0289 22.7 0.0169 0.0169 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.006 target=20 uv_scale=1.0003 + stage0 3000/4500 0.0290 45.1 0.0169 0.0169 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0285 61.3 0.0170 0.0170 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0285 103.7 0.0168 0.0168 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0285 93.9 0.0168 0.0168 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0286 120.1 0.0168 0.0168 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 3500/4500 0.0288 94.4 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0287 91.4 0.0170 0.0170 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0288 91.3 0.0170 0.0170 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0286 119.5 0.0169 0.0169 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0288 109.5 0.0169 0.0169 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0049 target=20 uv_scale=1.00025 + stage0 4000/4500 0.0289 110.7 0.0168 0.0168 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0283 102.8 0.0169 0.0169 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0284 117.6 0.0168 0.0168 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0285 111.3 0.0168 0.0168 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0287 111.7 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 4500/4500 0.0288 106.0 0.0168 0.0168 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m26.16s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0276 0.0169 0.0169 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0276 16.7 0.0169 0.0169 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0289 97.1 0.0168 0.0168 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0288 66.1 0.0168 0.0168 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0287 80.2 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0287 84.6 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0288 85.6 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0288 78.5 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0287 83.7 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0288 76.0 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0286 91.6 0.0169 0.0169 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0287 94.3 0.0169 0.0169 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 12.32s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0288 0.0169 0.0169 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0288 30.3 0.0169 0.0169 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0288 99.0 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0287 114.7 0.0168 0.0168 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0287 123.1 0.0168 0.0168 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0287 124.5 0.0169 0.0169 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0287 109.6 0.0169 0.0169 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0287 80.4 0.0169 0.0169 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0287 78.4 0.0169 0.0169 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0287 116.4 0.0169 0.0169 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0287 111.1 0.0169 0.0169 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0287 110.1 0.0169 0.0169 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 9.79s +[optimizer] total optimize time: 2m48.27s +[fit] peak GPU memory: 0.12 GiB +[fit2tifxyz] area_vx2=6011600 diff --git a/flat/C1/w044_spliced_p8C1/flatten_input.json b/flat/C1/w044_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..a3b9801c4f70f263e43af6430320a064db9d9165 --- /dev/null +++ b/flat/C1/w044_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w044_spliced_p8C1"}]} diff --git a/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..f94737ccf8f5c5df411ada38d00c92dd420e33b1 --- /dev/null +++ b/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2689.529052734375, + 3534.430419921875, + 10040.4755859375 + ], + [ + 5365.513671875, + 4673.7021484375, + 11039.4501953125 + ] + ], + "area_vx2": 6011600.0, + "model_source": "/workspace/flat/C1/w044_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w044_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w044_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif b/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..e001d97a9a0ff17d4ab663c9642687b1543b95d2 Binary files /dev/null and b/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif b/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..d83db9a76174ec0e579abf869c9921919d2751f5 Binary files /dev/null and b/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif b/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..1a6a81b0bffd165d78618de16ba31a3889a6403b Binary files /dev/null and b/flat/C1/w044_spliced_p8C1/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C1/w045_spliced_p8C1.log b/flat/C1/w045_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..06ce96110a5534fa60d9fa869e8a57f287ba151e --- /dev/null +++ b/flat/C1/w045_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w045_spliced_p8C1 in 217s -> /workspace/flat/C1/w045_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w045_spliced_p8C1.retried b/flat/C1/w045_spliced_p8C1.retried new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/w045_spliced_p8C1/flatten.log b/flat/C1/w045_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..6e31788a8f1dde46ff3ebf1ee831862768fafc2e --- /dev/null +++ b/flat/C1/w045_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w045_spliced_p8C1: 66x221, 11010/14586 valid (75.5%) step_h=22.624 step_w=27.272 step_diag=25.243 step_avg=25.103 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x221 -> 1x33x111 -> 1x17x56 -> 1x9x28 -> 1x5x14 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w045_spliced_p8C1 shape=(66, 221, 3) valid=11010/14586 model_shape=66x221 source_step=20 output_step=20 measured_source_step=25.1008 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 221, 2) point_valid=11010/14586 quad_valid=10724/14300 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6481 1.2565 1.2565 0.3916 0.3916 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6481 0.0 1.2565 1.2565 0.3916 0.3916 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3655 55.7 0.2278 0.2278 0.1377 0.1377 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 200/4500 0.1539 83.6 0.0785 0.0785 0.0754 0.0754 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 300/4500 0.0906 92.2 0.0404 0.0404 0.0502 0.0502 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.0663 75.1 0.0309 0.0309 0.0354 0.0354 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0118 target=20 uv_scale=1.00059 + stage0 500/4500 0.0570 80.5 0.0283 0.0283 0.0288 0.0288 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0480 93.3 0.0252 0.0252 0.0228 0.0228 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 700/4500 0.0460 77.1 0.0244 0.0244 0.0216 0.0216 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0449 87.3 0.0241 0.0241 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0448 113.2 0.0241 0.0241 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0065 target=20 uv_scale=1.00032 + stage0 1000/4500 0.0447 76.5 0.0241 0.0241 0.0206 0.0206 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0443 69.0 0.0242 0.0242 0.0201 0.0201 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0466 71.7 0.0244 0.0244 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1300/4500 0.0479 70.8 0.0245 0.0245 0.0234 0.0234 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1400/4500 0.0463 53.6 0.0244 0.0244 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0087 target=20 uv_scale=1.00043 + stage0 1500/4500 0.0471 59.7 0.0245 0.0245 0.0226 0.0226 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0433 65.9 0.0244 0.0244 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0477 88.9 0.0245 0.0245 0.0232 0.0232 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1800/4500 0.0449 98.8 0.0245 0.0245 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0448 93.6 0.0243 0.0243 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 2000/4500 0.0423 103.3 0.0242 0.0242 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0438 81.8 0.0245 0.0245 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0455 43.6 0.0244 0.0244 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2300/4500 0.0468 46.9 0.0246 0.0246 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2400/4500 0.0464 52.7 0.0245 0.0245 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0076 target=20 uv_scale=1.00038 + stage0 2500/4500 0.0455 68.4 0.0245 0.0245 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0436 81.6 0.0246 0.0246 0.0190 0.0190 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0467 92.6 0.0245 0.0245 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2800/4500 0.0426 97.4 0.0242 0.0242 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0438 96.7 0.0242 0.0242 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 3000/4500 0.0440 90.7 0.0241 0.0241 0.0199 0.0199 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0447 84.9 0.0245 0.0245 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3200/4500 0.0454 95.0 0.0245 0.0245 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3300/4500 0.0478 101.4 0.0245 0.0245 0.0233 0.0233 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3400/4500 0.0480 99.5 0.0244 0.0244 0.0235 0.0235 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0121 target=20 uv_scale=1.0006 + stage0 3500/4500 0.0471 100.2 0.0244 0.0244 0.0227 0.0227 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0435 111.4 0.0244 0.0244 0.0191 0.0191 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0443 112.5 0.0243 0.0243 0.0200 0.0200 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3800/4500 0.0453 111.7 0.0244 0.0244 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0451 101.6 0.0246 0.0246 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0082 target=20 uv_scale=1.00041 + stage0 4000/4500 0.0458 91.3 0.0245 0.0245 0.0212 0.0212 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0442 100.1 0.0245 0.0245 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0444 124.5 0.0242 0.0242 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4300/4500 0.0444 119.9 0.0242 0.0242 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4400/4500 0.0443 109.4 0.0242 0.0242 0.0201 0.0201 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0067 target=20 uv_scale=1.00033 + stage0 4500/4500 0.0449 113.1 0.0241 0.0241 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m50.48s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0423 0.0242 0.0242 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0423 42.7 0.0242 0.0242 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0471 112.6 0.0245 0.0245 0.0226 0.0226 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 200/1000 0.0453 72.8 0.0245 0.0245 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 300/1000 0.0458 58.7 0.0244 0.0244 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 400/1000 0.0458 72.7 0.0244 0.0244 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 500/1000 0.0454 101.6 0.0244 0.0244 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 600/1000 0.0449 79.5 0.0245 0.0245 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 700/1000 0.0451 68.1 0.0245 0.0245 0.0206 0.0206 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 800/1000 0.0463 62.8 0.0245 0.0245 0.0218 0.0218 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 900/1000 0.0462 65.1 0.0245 0.0245 0.0218 0.0218 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 1000/1000 0.0459 75.7 0.0245 0.0245 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage1 'flatten' complete in 13.79s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0456 0.0245 0.0245 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 1/1000 0.0456 78.3 0.0245 0.0245 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 100/1000 0.0459 78.6 0.0245 0.0245 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 200/1000 0.0459 99.7 0.0245 0.0245 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 300/1000 0.0459 90.4 0.0245 0.0245 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 400/1000 0.0459 139.9 0.0245 0.0245 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 500/1000 0.0460 131.1 0.0245 0.0245 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 600/1000 0.0459 131.1 0.0245 0.0245 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 700/1000 0.0460 135.2 0.0245 0.0245 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 800/1000 0.0460 111.6 0.0245 0.0245 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 900/1000 0.0460 46.0 0.0245 0.0245 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 1000/1000 0.0459 35.4 0.0245 0.0245 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage2 'flatten' complete in 12.54s +[optimizer] total optimize time: 3m16.81s +[fit] peak GPU memory: 0.13 GiB +[fit2tifxyz] area_vx2=6224000 diff --git a/flat/C1/w045_spliced_p8C1/flatten_input.json b/flat/C1/w045_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..ddc3f7a63d321a09148365c7cd53b3113bf9d725 --- /dev/null +++ b/flat/C1/w045_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w045_spliced_p8C1"}]} diff --git a/flat/C1/w045_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w045_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..b708038cec513aae92c59705eebccd39e52fa8a2 --- /dev/null +++ b/flat/C1/w045_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2633.576171875, + 3528.418212890625, + 10041.8505859375 + ], + [ + 5404.4501953125, + 4678.47314453125, + 11038.3994140625 + ] + ], + "area_vx2": 6224000.0, + "model_source": "/workspace/flat/C1/w045_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w045_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w045_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w046_spliced_p8C1.log b/flat/C1/w046_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..798562a0756767b227f64fa27665816e26c235a0 --- /dev/null +++ b/flat/C1/w046_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w046_spliced_p8C1 in 212s -> /workspace/flat/C1/w046_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w046_spliced_p8C1.retried b/flat/C1/w046_spliced_p8C1.retried new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/w046_spliced_p8C1/flatten.log b/flat/C1/w046_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..39cb610fe68a2f73da2f03a74b98a578d1a0530c --- /dev/null +++ b/flat/C1/w046_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w046_spliced_p8C1: 66x226, 11269/14916 valid (75.5%) step_h=22.712 step_w=27.377 step_diag=25.332 step_avg=25.196 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x226 -> 1x33x113 -> 1x17x57 -> 1x9x29 -> 1x5x15 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w046_spliced_p8C1 shape=(66, 226, 3) valid=11269/14916 model_shape=66x226 source_step=20 output_step=20 measured_source_step=25.1918 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 226, 2) point_valid=11269/14916 quad_valid=10978/14625 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.6966 1.2912 1.2912 0.4054 0.4054 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.6966 0.0 1.2912 1.2912 0.4054 0.4054 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3803 59.5 0.2298 0.2298 0.1505 0.1505 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 200/4500 0.1551 81.0 0.0784 0.0784 0.0767 0.0767 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 300/4500 0.0906 78.7 0.0399 0.0399 0.0508 0.0508 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.0662 87.1 0.0301 0.0301 0.0360 0.0360 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0089 target=20 uv_scale=1.00044 + stage0 500/4500 0.0528 73.7 0.0264 0.0264 0.0263 0.0263 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0437 86.3 0.0234 0.0234 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 700/4500 0.0416 74.5 0.0227 0.0227 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0412 101.7 0.0225 0.0225 0.0187 0.0187 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0409 94.4 0.0224 0.0224 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 1000/4500 0.0407 76.8 0.0224 0.0224 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0403 73.1 0.0227 0.0227 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0406 73.4 0.0225 0.0225 0.0182 0.0182 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0404 82.1 0.0225 0.0225 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0402 54.6 0.0224 0.0224 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0049 target=20 uv_scale=1.00025 + stage0 1500/4500 0.0404 71.6 0.0227 0.0227 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0403 67.3 0.0227 0.0227 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0402 88.5 0.0226 0.0226 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0402 112.4 0.0225 0.0225 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0402 86.3 0.0224 0.0224 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0057 target=20 uv_scale=1.00028 + stage0 2000/4500 0.0406 111.0 0.0225 0.0225 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0402 80.5 0.0228 0.0228 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0404 46.3 0.0227 0.0227 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0406 47.4 0.0225 0.0225 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2400/4500 0.0404 47.5 0.0225 0.0225 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0055 target=20 uv_scale=1.00028 + stage0 2500/4500 0.0401 70.0 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0400 82.7 0.0228 0.0228 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0403 105.6 0.0226 0.0226 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0404 94.5 0.0226 0.0226 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0404 95.9 0.0225 0.0225 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0399 87.4 0.0225 0.0225 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0400 97.7 0.0227 0.0227 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0404 90.8 0.0226 0.0226 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3300/4500 0.0404 94.8 0.0226 0.0226 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3400/4500 0.0403 124.1 0.0225 0.0225 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0057 target=20 uv_scale=1.00028 + stage0 3500/4500 0.0403 106.3 0.0226 0.0226 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0401 119.0 0.0228 0.0228 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0400 121.5 0.0227 0.0227 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0399 120.0 0.0226 0.0226 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0401 118.9 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 4000/4500 0.0404 110.8 0.0226 0.0226 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0401 88.1 0.0228 0.0228 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0400 108.8 0.0226 0.0226 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0403 120.4 0.0226 0.0226 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4400/4500 0.0402 121.3 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4500/4500 0.0398 107.4 0.0225 0.0225 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m49.80s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0383 0.0225 0.0225 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0383 26.3 0.0225 0.0225 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0401 124.7 0.0224 0.0224 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 200/1000 0.0401 132.3 0.0224 0.0224 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0400 124.5 0.0224 0.0224 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0400 57.0 0.0224 0.0224 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0402 62.0 0.0224 0.0224 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0401 112.5 0.0224 0.0224 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.0403 109.4 0.0225 0.0225 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 800/1000 0.0401 88.2 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0403 67.9 0.0225 0.0225 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0405 70.1 0.0225 0.0225 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 11.91s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0403 0.0225 0.0225 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.0403 16.1 0.0225 0.0225 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.0401 65.9 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0401 97.1 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0401 77.6 0.0225 0.0225 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0401 96.3 0.0225 0.0225 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0401 84.8 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0401 109.4 0.0225 0.0225 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0401 115.0 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0401 114.5 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0400 110.7 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0401 65.9 0.0225 0.0225 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 11.52s +[optimizer] total optimize time: 3m13.23s +[fit] peak GPU memory: 0.13 GiB +[fit2tifxyz] area_vx2=6366400 diff --git a/flat/C1/w046_spliced_p8C1/flatten_input.json b/flat/C1/w046_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..c1bc3c404493354255300d34c314502f50d45249 --- /dev/null +++ b/flat/C1/w046_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w046_spliced_p8C1"}]} diff --git a/flat/C1/w046_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w046_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..dd6adeab3cb7e4ff8de05a90f31ba4cf31a832cd --- /dev/null +++ b/flat/C1/w046_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2576.848876953125, + 3518.64794921875, + 10039.9833984375 + ], + [ + 5475.09765625, + 4688.09326171875, + 11038.150390625 + ] + ], + "area_vx2": 6366400.0, + "model_source": "/workspace/flat/C1/w046_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w046_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w046_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w047_spliced_p8C1.log b/flat/C1/w047_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..f58a27c0121e5786713bea9cba4f2bdb38035477 --- /dev/null +++ b/flat/C1/w047_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w047_spliced_p8C1 in 289s -> /workspace/flat/C1/w047_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w047_spliced_p8C1/flatten.log b/flat/C1/w047_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..bb99e0be346dbd565f99ba94ced5ddf7ceb928af --- /dev/null +++ b/flat/C1/w047_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w047_spliced_p8C1: 66x231, 11526/15246 valid (75.6%) step_h=22.712 step_w=27.461 step_diag=25.404 step_avg=25.253 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x231 -> 1x33x116 -> 1x17x58 -> 1x9x29 -> 1x5x15 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w047_spliced_p8C1 shape=(66, 231, 3) valid=11526/15246 model_shape=66x231 source_step=20 output_step=20 measured_source_step=25.246 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 231, 2) point_valid=11526/15246 quad_valid=11230/14950 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.7835 1.3427 1.3427 0.4408 0.4408 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.7835 0.0 1.3427 1.3427 0.4408 0.4408 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.3874 86.9 0.2455 0.2455 0.1415 0.1415 0.0000 0.0000 2.0e-04 5.0e-04 20.004 + stage0 200/4500 0.1798 88.4 0.0868 0.0868 0.0930 0.0930 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 300/4500 0.1017 45.8 0.0428 0.0428 0.0589 0.0589 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.0721 13.5 0.0304 0.0304 0.0417 0.0417 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0089 target=20 uv_scale=1.00044 + stage0 500/4500 0.0554 152.3 0.0260 0.0260 0.0294 0.0294 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0445 143.9 0.0217 0.0217 0.0228 0.0228 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 700/4500 0.0401 80.3 0.0204 0.0204 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0382 86.6 0.0198 0.0198 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0374 85.5 0.0196 0.0196 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 1000/4500 0.0370 89.9 0.0195 0.0195 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0367 93.8 0.0198 0.0198 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0365 80.1 0.0196 0.0196 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0363 110.0 0.0196 0.0196 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0365 133.5 0.0198 0.0198 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 1500/4500 0.0363 109.3 0.0197 0.0197 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0364 106.8 0.0199 0.0199 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0364 84.2 0.0197 0.0197 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0363 73.8 0.0196 0.0196 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0362 22.0 0.0197 0.0197 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 2000/4500 0.0362 109.3 0.0196 0.0196 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0364 56.9 0.0199 0.0199 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0363 51.3 0.0198 0.0198 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0363 64.1 0.0198 0.0198 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0363 96.8 0.0197 0.0197 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 2500/4500 0.0362 90.3 0.0196 0.0196 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0365 42.8 0.0199 0.0199 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0363 40.3 0.0198 0.0198 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0362 47.2 0.0197 0.0197 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0361 84.6 0.0197 0.0197 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 3000/4500 0.0361 122.7 0.0197 0.0197 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0365 95.6 0.0200 0.0200 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0363 112.1 0.0199 0.0199 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0362 112.9 0.0198 0.0198 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0361 71.9 0.0197 0.0197 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0041 target=20 uv_scale=1.00021 + stage0 3500/4500 0.0361 99.5 0.0197 0.0197 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0364 47.3 0.0199 0.0199 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0363 20.9 0.0198 0.0198 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0362 23.5 0.0197 0.0197 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0362 67.8 0.0197 0.0197 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 4000/4500 0.0361 76.1 0.0196 0.0196 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0363 72.9 0.0200 0.0200 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0365 81.4 0.0199 0.0199 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0362 103.7 0.0198 0.0198 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0362 99.7 0.0197 0.0197 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0041 target=20 uv_scale=1.00021 + stage0 4500/4500 0.0361 111.8 0.0197 0.0197 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m49.58s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0349 0.0197 0.0197 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0349 19.4 0.0197 0.0197 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0359 118.1 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0358 71.4 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0358 55.9 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0358 66.3 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0358 94.0 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0358 126.9 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0358 114.7 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0358 93.2 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0358 99.0 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0358 78.9 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 12.01s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0358 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0358 17.8 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0358 46.8 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0358 78.3 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0358 137.6 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0358 87.9 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0358 94.9 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0358 62.8 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0358 87.0 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0358 140.3 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0358 138.8 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0358 154.2 0.0195 0.0195 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 12.47s +[optimizer] total optimize time: 4m14.06s +[fit] peak GPU memory: 0.14 GiB +[fit2tifxyz] area_vx2=6521600 diff --git a/flat/C1/w047_spliced_p8C1/flatten_input.json b/flat/C1/w047_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..5f3d9f0c1187320f08d82c92a41fdf9c9f4320ec --- /dev/null +++ b/flat/C1/w047_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w047_spliced_p8C1"}]} diff --git a/flat/C1/w047_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w047_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e73aac5c7fab058d64244b788271bae8c9ee593a --- /dev/null +++ b/flat/C1/w047_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2528.5341796875, + 3511.636962890625, + 10038.0419921875 + ], + [ + 5501.62158203125, + 4696.845703125, + 11039.0849609375 + ] + ], + "area_vx2": 6521600.0, + "model_source": "/workspace/flat/C1/w047_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w047_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w047_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w048_spliced_p8C1.log b/flat/C1/w048_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..1d069e528db31c3ee3770d13310c1cc6a5432221 --- /dev/null +++ b/flat/C1/w048_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w048_spliced_p8C1 in 288s -> /workspace/flat/C1/w048_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w048_spliced_p8C1/flatten.log b/flat/C1/w048_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..3cb8f2de720c3eae0017700095ea2f07191c9a58 --- /dev/null +++ b/flat/C1/w048_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w048_spliced_p8C1: 66x236, 11782/15576 valid (75.6%) step_h=22.741 step_w=27.538 step_diag=25.465 step_avg=25.310 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x236 -> 1x33x118 -> 1x17x59 -> 1x9x30 -> 1x5x15 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w048_spliced_p8C1 shape=(66, 236, 3) valid=11782/15576 model_shape=66x236 source_step=20 output_step=20 measured_source_step=25.3023 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 236, 2) point_valid=11782/15576 quad_valid=11479/15275 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.8186 1.3626 1.3626 0.4560 0.4560 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.8186 0.0 1.3626 1.3626 0.4560 0.4560 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.4198 66.8 0.2540 0.2540 0.1658 0.1658 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 200/4500 0.1762 82.6 0.0930 0.0930 0.0830 0.0830 0.0000 0.0000 1.0e-04 2.0e-04 20.011 + stage0 300/4500 0.1008 52.9 0.0465 0.0465 0.0543 0.0543 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 400/4500 0.0698 12.5 0.0319 0.0319 0.0379 0.0379 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0101 target=20 uv_scale=1.0005 + stage0 500/4500 0.0534 113.7 0.0257 0.0257 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0355 96.9 0.0195 0.0195 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 700/4500 0.0329 70.6 0.0186 0.0186 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 800/4500 0.0318 72.8 0.0181 0.0181 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0311 75.5 0.0178 0.0178 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 1000/4500 0.0308 100.2 0.0179 0.0179 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0291 78.3 0.0173 0.0173 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0287 127.9 0.0171 0.0171 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0285 132.1 0.0171 0.0171 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0285 127.3 0.0171 0.0171 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 1500/4500 0.0284 102.7 0.0170 0.0170 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0286 86.7 0.0171 0.0171 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0284 73.7 0.0170 0.0170 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0282 21.1 0.0169 0.0169 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0282 125.6 0.0169 0.0169 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 2000/4500 0.0282 78.0 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0284 41.6 0.0171 0.0171 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0283 99.9 0.0170 0.0170 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0283 67.4 0.0170 0.0170 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0282 84.2 0.0170 0.0170 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 2500/4500 0.0282 82.1 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0285 36.9 0.0171 0.0171 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0282 37.2 0.0170 0.0170 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0282 67.7 0.0170 0.0170 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0281 136.2 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 3000/4500 0.0281 121.5 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0284 87.9 0.0172 0.0172 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0283 122.5 0.0170 0.0170 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0282 72.3 0.0170 0.0170 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0281 106.1 0.0170 0.0170 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 3500/4500 0.0281 56.9 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0282 29.4 0.0171 0.0171 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0282 19.2 0.0170 0.0170 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0281 47.6 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0281 76.3 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 4000/4500 0.0280 70.3 0.0168 0.0168 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0282 77.4 0.0171 0.0171 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0281 99.6 0.0170 0.0170 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0281 92.8 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0281 125.0 0.0169 0.0169 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 4500/4500 0.0281 99.1 0.0168 0.0168 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m49.00s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0272 0.0168 0.0168 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0272 72.1 0.0168 0.0168 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0279 98.8 0.0167 0.0167 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0279 55.6 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0279 62.3 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0279 91.2 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0279 96.3 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0279 127.9 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0279 90.5 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0279 86.2 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0279 74.0 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0278 64.4 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 13.12s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0278 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0278 12.6 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0278 63.3 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0278 145.3 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0278 99.5 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0278 94.6 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0278 75.9 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0278 65.2 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0278 117.8 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0278 136.0 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0278 132.1 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0278 73.6 0.0167 0.0167 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 11.28s +[optimizer] total optimize time: 4m13.41s +[fit] peak GPU memory: 0.14 GiB +[fit2tifxyz] area_vx2=6678400 diff --git a/flat/C1/w048_spliced_p8C1/flatten_input.json b/flat/C1/w048_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..22a4d24ca4c540ffe1353598ad9694620a6d66de --- /dev/null +++ b/flat/C1/w048_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w048_spliced_p8C1"}]} diff --git a/flat/C1/w048_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w048_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..fd2d69fae1fe649b63dca6bf5172c24e6a91a97c --- /dev/null +++ b/flat/C1/w048_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2507.075439453125, + 3503.56689453125, + 10040.701171875 + ], + [ + 5540.03564453125, + 4710.08544921875, + 11039.59765625 + ] + ], + "area_vx2": 6678400.0, + "model_source": "/workspace/flat/C1/w048_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w048_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w048_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w049_spliced_p8C1.log b/flat/C1/w049_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..0fb6dabe95f81859fe1858e33ee98bf840c4bc29 --- /dev/null +++ b/flat/C1/w049_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w049_spliced_p8C1 in 286s -> /workspace/flat/C1/w049_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w049_spliced_p8C1/flatten.log b/flat/C1/w049_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..b503447e8002068696ee0e6a5f7cc9126d54fd09 --- /dev/null +++ b/flat/C1/w049_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w049_spliced_p8C1: 66x241, 12032/15906 valid (75.6%) step_h=22.781 step_w=27.696 step_diag=25.572 step_avg=25.413 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x241 -> 1x33x121 -> 1x17x61 -> 1x9x31 -> 1x5x16 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w049_spliced_p8C1 shape=(66, 241, 3) valid=12032/15906 model_shape=66x241 source_step=20 output_step=20 measured_source_step=25.4 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 241, 2) point_valid=12032/15906 quad_valid=11725/15600 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.8674 1.3977 1.3977 0.4696 0.4696 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.8674 0.0 1.3977 1.3977 0.4696 0.4696 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.4392 36.5 0.2681 0.2681 0.1699 0.1699 0.0000 0.0000 6.0e-04 0.0013 20.009 + stage0 200/4500 0.1889 90.8 0.1013 0.1013 0.0876 0.0876 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 300/4500 0.1048 83.6 0.0490 0.0490 0.0558 0.0558 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 400/4500 0.0719 45.3 0.0315 0.0315 0.0404 0.0404 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0105 target=20 uv_scale=1.00053 + stage0 500/4500 0.0502 13.6 0.0240 0.0240 0.0262 0.0262 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0339 160.4 0.0183 0.0183 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 700/4500 0.0284 125.1 0.0166 0.0166 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0269 83.8 0.0161 0.0161 0.0109 0.0109 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0264 87.7 0.0158 0.0158 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 1000/4500 0.0262 84.6 0.0157 0.0157 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0262 70.4 0.0158 0.0158 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0259 96.3 0.0157 0.0157 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0258 97.9 0.0157 0.0157 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0256 124.0 0.0156 0.0156 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 1500/4500 0.0257 141.9 0.0156 0.0156 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0255 119.9 0.0157 0.0157 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0254 113.6 0.0157 0.0157 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0258 99.9 0.0156 0.0156 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0254 103.0 0.0156 0.0156 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 2000/4500 0.0252 19.8 0.0155 0.0155 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0253 76.8 0.0157 0.0157 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0254 68.7 0.0156 0.0156 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0254 51.7 0.0155 0.0155 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0253 67.7 0.0154 0.0154 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 2500/4500 0.0253 84.7 0.0155 0.0155 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0254 96.3 0.0156 0.0156 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0254 56.8 0.0156 0.0156 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0254 41.6 0.0156 0.0156 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0254 39.9 0.0155 0.0155 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0249 70.7 0.0154 0.0154 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0253 122.9 0.0156 0.0156 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0252 121.4 0.0155 0.0155 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0252 98.7 0.0155 0.0155 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0252 131.4 0.0154 0.0154 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 3500/4500 0.0252 76.7 0.0154 0.0154 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0253 111.7 0.0156 0.0156 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0252 60.2 0.0155 0.0155 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0252 32.3 0.0154 0.0154 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0251 18.8 0.0154 0.0154 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 4000/4500 0.0252 40.9 0.0154 0.0154 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0250 72.5 0.0155 0.0155 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0250 70.9 0.0154 0.0154 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0251 83.6 0.0154 0.0154 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0250 96.8 0.0153 0.0153 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 4500/4500 0.0251 100.3 0.0154 0.0154 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m45.19s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0241 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0241 21.6 0.0154 0.0154 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0250 108.7 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0249 96.9 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0250 95.4 0.0152 0.0152 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0249 57.5 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0250 66.1 0.0152 0.0152 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0249 77.6 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0249 102.2 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0249 123.1 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0247 91.3 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0248 91.4 0.0152 0.0152 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 11.90s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0248 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0248 15.0 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0249 81.2 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0249 52.4 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0248 61.3 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0249 126.6 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0249 83.5 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0248 85.5 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0248 62.5 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0248 85.1 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0248 136.0 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0248 141.5 0.0152 0.0152 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 12.52s +[optimizer] total optimize time: 4m09.61s +[fit] peak GPU memory: 0.14 GiB +[fit2tifxyz] area_vx2=6861600 diff --git a/flat/C1/w049_spliced_p8C1/flatten_input.json b/flat/C1/w049_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..59b4968fd5d7c80d5702fbd9962f884f4d288437 --- /dev/null +++ b/flat/C1/w049_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w049_spliced_p8C1"}]} diff --git a/flat/C1/w049_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w049_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..07d48b5b41f775b9a67bbb92ea58993d8c37244d --- /dev/null +++ b/flat/C1/w049_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2483.251708984375, + 3496.487060546875, + 10037.0087890625 + ], + [ + 5586.138671875, + 4718.09912109375, + 11039.94921875 + ] + ], + "area_vx2": 6861600.0, + "model_source": "/workspace/flat/C1/w049_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w049_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w049_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w050_spliced_p8C1.log b/flat/C1/w050_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..2fcfff35b256e0a0fa5673d54c24670a18cf8e7e --- /dev/null +++ b/flat/C1/w050_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w050_spliced_p8C1 in 225s -> /workspace/flat/C1/w050_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w050_spliced_p8C1/flatten.log b/flat/C1/w050_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..227c0163a0f68b26433b0f67a7775dd435a49521 --- /dev/null +++ b/flat/C1/w050_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w050_spliced_p8C1: 66x245, 12224/16170 valid (75.6%) step_h=22.746 step_w=27.726 step_diag=25.557 step_avg=25.405 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x245 -> 1x33x123 -> 1x17x62 -> 1x9x31 -> 1x5x16 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w050_spliced_p8C1 shape=(66, 245, 3) valid=12224/16170 model_shape=66x245 source_step=20 output_step=20 measured_source_step=25.4005 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 245, 2) point_valid=12224/16170 quad_valid=11913/15860 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.8869 1.4156 1.4156 0.4713 0.4713 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.8869 0.0 1.4156 1.4156 0.4713 0.4713 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.4357 78.8 0.2710 0.2710 0.1647 0.1647 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 200/4500 0.1923 99.4 0.1056 0.1056 0.0867 0.0867 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.1100 114.2 0.0520 0.0520 0.0581 0.0581 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 400/4500 0.0729 148.9 0.0337 0.0337 0.0392 0.0392 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0116 target=20 uv_scale=1.00058 + stage0 500/4500 0.0532 127.4 0.0261 0.0261 0.0271 0.0271 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0345 122.9 0.0193 0.0193 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 700/4500 0.0297 100.0 0.0176 0.0176 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0287 135.5 0.0171 0.0171 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0283 127.1 0.0169 0.0169 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 1000/4500 0.0279 108.7 0.0167 0.0167 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0274 54.2 0.0166 0.0166 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0274 135.7 0.0165 0.0165 0.0109 0.0109 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0272 112.2 0.0164 0.0164 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0272 92.1 0.0163 0.0163 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0041 target=20 uv_scale=1.00021 + stage0 1500/4500 0.0269 132.9 0.0162 0.0162 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0273 122.1 0.0165 0.0165 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0270 128.5 0.0164 0.0164 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0268 135.7 0.0163 0.0163 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0266 140.7 0.0162 0.0162 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 2000/4500 0.0267 140.3 0.0163 0.0163 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0270 142.6 0.0164 0.0164 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0267 152.6 0.0163 0.0163 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0266 171.3 0.0163 0.0163 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0266 170.8 0.0163 0.0163 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 2500/4500 0.0266 139.6 0.0162 0.0162 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0266 157.8 0.0165 0.0165 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0266 128.7 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0266 148.3 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0265 101.4 0.0163 0.0163 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 3000/4500 0.0265 77.1 0.0163 0.0163 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0269 73.3 0.0164 0.0164 0.0104 0.0104 0.0000 0.0000 0.0000 1.0e-04 20.005 + stage0 3200/4500 0.0263 72.2 0.0162 0.0162 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0266 113.1 0.0162 0.0162 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0265 110.1 0.0164 0.0164 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0041 target=20 uv_scale=1.00021 + stage0 3500/4500 0.0264 77.8 0.0162 0.0162 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0263 132.9 0.0164 0.0164 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0265 121.2 0.0163 0.0163 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0264 108.2 0.0162 0.0162 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0264 110.2 0.0162 0.0162 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 4000/4500 0.0264 96.7 0.0161 0.0161 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0268 90.8 0.0164 0.0164 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0264 110.9 0.0163 0.0163 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0263 115.6 0.0161 0.0161 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0263 127.4 0.0161 0.0161 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 4500/4500 0.0263 91.5 0.0160 0.0160 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m41.37s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0253 0.0161 0.0161 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0253 78.9 0.0161 0.0161 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0261 65.6 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0261 77.5 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0261 41.9 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0260 90.5 0.0160 0.0160 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0261 61.8 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0260 112.1 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0260 93.2 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0261 123.3 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0260 118.0 0.0160 0.0160 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0260 137.1 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 12.54s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0261 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0261 33.4 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0260 109.1 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0260 122.7 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0260 123.2 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0260 119.7 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0260 116.8 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0260 125.9 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0260 68.9 0.0160 0.0160 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0260 55.2 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0260 61.2 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0260 83.2 0.0160 0.0160 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 11.45s +[optimizer] total optimize time: 3m05.36s +[fit] peak GPU memory: 0.14 GiB +[fit2tifxyz] area_vx2=6960400 diff --git a/flat/C1/w050_spliced_p8C1/flatten_input.json b/flat/C1/w050_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..79571c09438899a7f10469e779a328235b782eca --- /dev/null +++ b/flat/C1/w050_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w050_spliced_p8C1"}]} diff --git a/flat/C1/w050_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w050_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..43ccbd9cc4d097dad49bb9c31fce994d20153997 --- /dev/null +++ b/flat/C1/w050_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2459.70751953125, + 3489.037353515625, + 10042.609375 + ], + [ + 5589.25439453125, + 4739.0263671875, + 11038.453125 + ] + ], + "area_vx2": 6960400.0, + "model_source": "/workspace/flat/C1/w050_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w050_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w050_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w051_spliced_p8C1.log b/flat/C1/w051_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..01be0d52443c3041ac54bbef9f3c6542e606972e --- /dev/null +++ b/flat/C1/w051_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w051_spliced_p8C1 in 214s -> /workspace/flat/C1/w051_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w051_spliced_p8C1.retried b/flat/C1/w051_spliced_p8C1.retried new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/w051_spliced_p8C1/flatten.log b/flat/C1/w051_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..6fc7e894c9a7828a45902fc386fd07648154e3d9 --- /dev/null +++ b/flat/C1/w051_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w051_spliced_p8C1: 66x250, 12479/16500 valid (75.6%) step_h=22.750 step_w=27.834 step_diag=25.609 step_avg=25.459 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x250 -> 1x33x125 -> 1x17x63 -> 1x9x32 -> 1x5x16 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w051_spliced_p8C1 shape=(66, 250, 3) valid=12479/16500 model_shape=66x250 source_step=20 output_step=20 measured_source_step=25.4553 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 250, 2) point_valid=12479/16500 quad_valid=12163/16185 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 1.9330 1.4259 1.4259 0.5071 0.5071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 1.9330 0.0 1.4259 1.4259 0.5071 0.5071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.4932 83.0 0.2874 0.2874 0.2057 0.2057 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 200/4500 0.2167 93.9 0.1159 0.1159 0.1008 0.1008 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 300/4500 0.1292 96.8 0.0579 0.0579 0.0714 0.0714 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 400/4500 0.0881 93.3 0.0374 0.0374 0.0507 0.0507 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0125 target=20 uv_scale=1.00062 + stage0 500/4500 0.0643 82.0 0.0288 0.0288 0.0356 0.0356 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0417 84.0 0.0206 0.0206 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 700/4500 0.0338 78.4 0.0182 0.0182 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0319 95.0 0.0174 0.0174 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0312 102.7 0.0168 0.0168 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 1000/4500 0.0310 75.6 0.0166 0.0166 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0306 73.4 0.0169 0.0169 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0307 87.8 0.0167 0.0167 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0305 71.6 0.0166 0.0166 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0305 63.0 0.0165 0.0165 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 1500/4500 0.0303 59.1 0.0165 0.0165 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0308 72.7 0.0169 0.0169 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0307 83.0 0.0168 0.0168 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0308 107.7 0.0167 0.0167 0.0141 0.0141 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0308 92.5 0.0166 0.0166 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 2000/4500 0.0306 111.8 0.0166 0.0166 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0300 97.2 0.0166 0.0166 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0302 81.0 0.0165 0.0165 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0303 42.2 0.0165 0.0165 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0304 42.4 0.0164 0.0164 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0049 target=20 uv_scale=1.00025 + stage0 2500/4500 0.0303 61.6 0.0165 0.0165 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0305 70.1 0.0167 0.0167 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0303 88.8 0.0166 0.0166 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0302 103.9 0.0165 0.0165 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0300 76.8 0.0164 0.0164 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 3000/4500 0.0303 94.4 0.0164 0.0164 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0298 83.3 0.0167 0.0167 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0300 85.9 0.0165 0.0165 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0304 93.7 0.0165 0.0165 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0304 109.3 0.0165 0.0165 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0051 target=20 uv_scale=1.00026 + stage0 3500/4500 0.0306 111.4 0.0164 0.0164 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0297 112.7 0.0165 0.0165 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0300 119.9 0.0164 0.0164 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0302 110.5 0.0162 0.0162 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0302 110.8 0.0164 0.0164 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0041 target=20 uv_scale=1.00021 + stage0 4000/4500 0.0294 103.5 0.0162 0.0162 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0296 81.8 0.0164 0.0164 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0297 117.2 0.0164 0.0164 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0296 121.2 0.0165 0.0165 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0308 105.3 0.0164 0.0164 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 4500/4500 0.0295 112.9 0.0167 0.0167 0.0128 0.0128 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m49.41s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0288 0.0167 0.0167 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0288 82.1 0.0167 0.0167 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0298 116.5 0.0163 0.0163 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 200/1000 0.0300 120.0 0.0162 0.0162 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0302 74.3 0.0162 0.0162 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0300 65.8 0.0162 0.0162 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0300 73.4 0.0162 0.0162 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0296 107.5 0.0162 0.0162 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0292 99.3 0.0162 0.0162 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0292 79.2 0.0162 0.0162 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0302 65.5 0.0162 0.0162 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0301 70.6 0.0162 0.0162 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 12.49s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0299 0.0162 0.0162 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.0299 44.4 0.0162 0.0162 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.0298 81.1 0.0162 0.0162 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0298 92.6 0.0162 0.0162 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0298 71.8 0.0162 0.0162 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0297 79.0 0.0162 0.0162 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0298 119.0 0.0162 0.0162 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0298 114.4 0.0162 0.0162 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0297 111.6 0.0162 0.0162 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0297 120.7 0.0162 0.0162 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0297 87.3 0.0162 0.0162 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0298 41.3 0.0162 0.0162 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 12.38s +[optimizer] total optimize time: 3m14.28s +[fit] peak GPU memory: 0.15 GiB +[fit2tifxyz] area_vx2=7137200 diff --git a/flat/C1/w051_spliced_p8C1/flatten_input.json b/flat/C1/w051_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..f98e5a65f63580e8370484bf5334d55b0322f482 --- /dev/null +++ b/flat/C1/w051_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w051_spliced_p8C1"}]} diff --git a/flat/C1/w051_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w051_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..ec0baedbebb72ceecd066f632cec8175db057cbe --- /dev/null +++ b/flat/C1/w051_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2444.303466796875, + 3474.4052734375, + 10043.35546875 + ], + [ + 5608.4072265625, + 4756.76904296875, + 11038.31640625 + ] + ], + "area_vx2": 7137200.0, + "model_source": "/workspace/flat/C1/w051_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w051_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w051_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w052/flatten.log b/flat/C1/w052/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..785dbcb376bf11ed9140bc93f2a9056bafe04bc7 --- /dev/null +++ b/flat/C1/w052/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w052_spliced_p8C1: 66x255, 12732/16830 valid (75.7%) step_h=22.717 step_w=27.940 step_diag=25.706 step_avg=25.526 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x255 -> 1x33x128 -> 1x17x64 -> 1x9x32 -> 1x5x16 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w052_spliced_p8C1 shape=(66, 255, 3) valid=12732/16830 model_shape=66x255 source_step=20 output_step=20 measured_source_step=25.5224 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 255, 2) point_valid=12732/16830 quad_valid=12412/16510 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.0853 1.5226 1.5226 0.5627 0.5627 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.0853 0.1 1.5226 1.5226 0.5627 0.5627 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.5573 213.4 0.3174 0.3174 0.2399 0.2399 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 200/4500 0.2521 271.3 0.1348 0.1348 0.1174 0.1174 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 300/4500 0.1575 231.6 0.0710 0.0710 0.0865 0.0865 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 400/4500 0.1119 226.7 0.0479 0.0479 0.0639 0.0639 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0149 target=20 uv_scale=1.00075 + stage0 500/4500 0.0855 230.0 0.0374 0.0374 0.0481 0.0481 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0465 274.6 0.0246 0.0246 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 700/4500 0.0370 258.7 0.0206 0.0206 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0342 213.7 0.0193 0.0193 0.0149 0.0149 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0327 241.0 0.0185 0.0185 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 1000/4500 0.0318 239.9 0.0180 0.0180 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0301 213.4 0.0169 0.0169 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0294 202.4 0.0164 0.0164 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0290 284.9 0.0161 0.0161 0.0128 0.0128 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0289 307.5 0.0160 0.0160 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 1500/4500 0.0287 306.0 0.0159 0.0159 0.0128 0.0128 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0284 301.8 0.0158 0.0158 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0281 297.3 0.0157 0.0157 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0281 296.3 0.0157 0.0157 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0279 245.6 0.0156 0.0156 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 2000/4500 0.0285 238.7 0.0156 0.0156 0.0128 0.0128 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0277 203.7 0.0157 0.0157 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0279 234.4 0.0156 0.0156 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0280 240.4 0.0158 0.0158 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0278 180.9 0.0158 0.0158 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 2500/4500 0.0278 176.8 0.0157 0.0157 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0275 167.9 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0277 181.0 0.0157 0.0157 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0279 195.3 0.0158 0.0158 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0280 240.9 0.0158 0.0158 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 3000/4500 0.0280 246.3 0.0159 0.0159 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0272 218.3 0.0159 0.0159 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0274 239.2 0.0158 0.0158 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0275 242.8 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0276 237.1 0.0158 0.0158 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 3500/4500 0.0277 234.6 0.0159 0.0159 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0276 240.3 0.0160 0.0160 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0275 228.9 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0276 234.1 0.0159 0.0159 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0276 233.6 0.0159 0.0159 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 4000/4500 0.0278 223.3 0.0159 0.0159 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0272 198.2 0.0160 0.0160 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0273 223.5 0.0159 0.0159 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0276 229.1 0.0159 0.0159 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0278 269.1 0.0159 0.0159 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 4500/4500 0.0277 302.1 0.0159 0.0159 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m46.09s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0265 0.0159 0.0159 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0265 111.4 0.0159 0.0159 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0274 206.3 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0274 201.1 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0275 275.7 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0274 216.3 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0274 256.6 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0274 284.2 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0274 299.0 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0274 226.9 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0274 256.5 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0274 282.1 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 4.27s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0274 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0274 115.4 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0274 233.4 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0274 266.0 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0274 226.0 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0274 209.0 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0274 287.7 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0273 243.9 0.0159 0.0159 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0274 280.8 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0274 95.1 0.0159 0.0159 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0273 106.3 0.0159 0.0159 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0274 238.5 0.0159 0.0159 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 5.44s +[optimizer] total optimize time: 1m55.81s +[fit] peak GPU memory: 0.15 GiB +[fit2tifxyz] area_vx2=7297600 diff --git a/flat/C1/w052/flatten_input.json b/flat/C1/w052/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..61f44f3d1af7eab2b3c8a8bc5a00e1ca7964dec5 --- /dev/null +++ b/flat/C1/w052/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w052_spliced_p8C1"}]} diff --git a/flat/C1/w052/img/flatten.json b/flat/C1/w052/img/flatten.json new file mode 100644 index 0000000000000000000000000000000000000000..3db8038fdcb3cd6b44f58cfb93bd25814e66a0dc --- /dev/null +++ b/flat/C1/w052/img/flatten.json @@ -0,0 +1,272 @@ +{ + "schema": "make_submission_image/1", + "scroll": "PHerc. 343", + "volume_id": "20250521120456", + "voxel_size_um": 8.64, + "mesh": { + "name": "flatten.tifxyz", + "scale": 0.05, + "nodes_hw": [ + 84, + 357 + ], + "valid_nodes": 18742, + "geometry": [ + { + "file": "x.tif", + "sha256": "621787d9028594de515fe946fb846d855e44daa91554527d9df4035d26d310e9" + }, + { + "file": "y.tif", + "sha256": "b2ca745257f330ad8ba7d69466be681f1d6298b79fe912c5473cb4527af646de" + }, + { + "file": "z.tif", + "sha256": "c3b5f5e2646f839597ec89041171d2245679bca31b7997e711f289f98a370c9f" + } + ], + "geometry_note": "the image depends only on these files and on the field \"scale\" of meta.json; the rest of meta.json and any other file in the mesh folder change no pixel", + "files": [ + { + "file": "meta.json", + "sha256": "dc0d8a46a9fb4e213c05ff6970dfc1a6ef1e0c44fa3f5777cd4471c86c665425" + }, + { + "file": "model.pt", + "sha256": "c8603cf1b042aea89a831b36c6b236cf851e99499f608d6a81ac49d585a4713f" + }, + { + "file": "x.tif", + "sha256": "621787d9028594de515fe946fb846d855e44daa91554527d9df4035d26d310e9" + }, + { + "file": "y.tif", + "sha256": "b2ca745257f330ad8ba7d69466be681f1d6298b79fe912c5473cb4527af646de" + }, + { + "file": "z.tif", + "sha256": "c3b5f5e2646f839597ec89041171d2245679bca31b7997e711f289f98a370c9f" + } + ] + }, + "orientation": { + "source": "measured from the mesh and the umbilicus", + "sign_dtheta_per_column": 1, + "sign_dz_per_row": 1, + "dtheta_deg_per_node_column": 0.84808, + "dz_voxels_per_node_row": 15.937, + "flip_lr": true, + "flip_ud": true, + "normal_dot_outward_median": 0.7051, + "normal_outward_fraction": 0.9743, + "rule": "flip_lr = sign(dtheta/dcolumn) > 0, flip_ud = sign(dz/drow) > 0; the render normal is n = dP/dcolumn x dP/drow", + "umbilicus": { + "file": "umbilicus_dopico_1218.json", + "sha256": "a153ad7a768866cb2800baed4190505dadccfb98aec2635fd8dd0510dec29560" + } + }, + "area": { + "raw_render_px": { + "col0": 0, + "row0": 0, + "col1": 7101, + "row1": 1481 + }, + "reading_px": { + "x0": 0, + "y0": 0, + "x1": 7101, + "y1": 1481 + }, + "note": "x1/col1 and y1/row1 exclusive; reading = raw render mirrored as in \"orientation\"", + "given": { + "source": "command line", + "frame": "raw", + "values": [ + 0, + 0, + 7101, + 1481 + ] + }, + "width_px": 7101, + "height_px": 1481, + "width_mm": 61.353, + "height_mm": 12.796, + "area_cm2": 7.8506, + "limit_cm2": 4.0, + "within_limit": false, + "valid_fraction": 0.6795, + "papyrus_cm2_nominal": 5.3348, + "z_voxels": { + "min": 10042.8, + "max": 10943.2, + "note": "mesh z of the valid pixels (every 4th pixel)" + }, + "theta_deg": { + "min": -2.12, + "max": 360.33, + "min_mod360": 357.88, + "max_mod360": 0.33, + "note": "angle around the umbilicus per node, unwrapped along the mesh columns (circular mean per column), bilinear per pixel (every 4th px)" + }, + "papyrus_cm2_mesh3d": 5.1923, + "mesh_area_ratio_3d_to_flat": 0.9733 + }, + "ct": { + "file": "render.zarr", + "shape": [ + 66, + 1481, + 7101 + ], + "layers": [ + 33 + ], + "depths": [ + 0 + ], + "depth_rule": "d = layer - 33; d = 0 is the layer just outside the mesh surface; positive d along the render normal (outward when orientation.normal_dot_outward_median > 0)", + "stretch": { + "lo": 36.0, + "hi": 179.0, + "source": "p1..p99.5 of the valid pixels of layers 18..48 (whole render)" + }, + "valid_rule": "all 66 layers > 0", + "area_layers_sha256": { + "33": "4627b69325eb648e3ebd710628d229cffe7fe3f70ef2085468ae5efe5043e8d0" + }, + "area_valid_mask_sha256": "2339b877255aba4bfd3c2d7c21ef41a8aa5ba07049456bd0fc160618cce01ba3", + "area_data_note": "sha256 of the decoded uint8 layers (raw orientation, area only, C order) and of np.packbits(valid mask)", + "tree_sha256": "0197ffd9489fd44a8d89aa5e780296aec6651cd45bfe26b8e38c02834f1ef5d0", + "files": 726, + "bytes": 634096985, + "tree_rule": "sha256 of the sorted lines \"\\t\\n\" of every file in the folder" + }, + "ink": { + "maps": [ + { + "file": "render__dnative__L66s25_reverse.tif", + "model": "dnative", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "9bbc3f75d8f805d571c4c48bf10d7c27fc2e67b01e4462aeb58fc658286343e6" + }, + { + "file": "render__readerv2__L66s25_reverse.tif", + "model": "readerv2", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "309c781d6a1b9bc5f878e0d795cb33354aa85751e91e718a7c97bc1ac62a6a6a" + }, + { + "file": "render__readerv3__L66s25_reverse.tif", + "model": "readerv3", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "029f37462695ff4a4d4563e26d59fc35f0ac36ca6dd46f5be837d786fa25664f" + } + ], + "normalisation": { + "mode": "ensemble", + "models": [ + "dnative", + "readerv2", + "readerv3" + ], + "per_model": { + "dnative": { + "p1": 0.046875, + "p99_5": 0.8984375, + "mean": 0.29518955343988174, + "sd": 0.16549470474968972, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + }, + "readerv2": { + "p1": 0.0, + "p99_5": 0.9140625, + "mean": 0.13313440492362402, + "sd": 0.16409571122771394, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + }, + "readerv3": { + "p1": 0.0, + "p99_5": 0.953125, + "mean": 0.12632698488635502, + "sd": 0.1847763732910898, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + } + }, + "ensemble_stretch": { + "p1": -0.9667385220527649, + "p99_5": 4.138965196609497, + "source": "these maps (fixed grid, every 8th row and column, valid pixels)" + }, + "rule": "z = (map - mean) / sd per model; ensemble = mean of the z-scores; u = clip((ensemble - p1) / (p99_5 - p1), 0, 1), 8 bit", + "display_range": { + "lo": -0.9667385220527649, + "hi": 4.138965196609497 + } + }, + "stats_file": null + }, + "overlay": { + "cmap": "mono:255,140,0", + "alpha": 0.75, + "threshold": 0.5, + "full": 0.9, + "blend": "tint", + "tint_floor": 0.3, + "legend": { + "threshold_value": 1.5861, + "full_value": 3.6284, + "top_value": 4.139 + }, + "rule": "opacity = alpha * clip((u - threshold) / (full - threshold), 0, 1); pixel = CT grey * (1 - opacity) + colour * opacity, colour = cmap(u) (blend alpha) or cmap(u) * (tint_floor + (1 - tint_floor) * CT grey / 255) (blend tint); invalid pixels black" + }, + "scale_bar": { + "length_px": 1157, + "px_per_cm": 1157.407, + "label": "1 cm" + }, + "rows": null, + "letters": null, + "checks": {}, + "warnings": [ + "surface volume is 1481 x 7101 px but the mesh renders to 1680 x 7140 px; if the volume is a crop, give --render-offset", + "area 61.35 x 12.80 mm = 7.8506 cm2 is larger than 4.0 cm2" + ], + "outputs": { + "image": { + "file": "flatten.png", + "sha256": "cda51c25840c2f3b8aef490d2fe06f85cf994f9f047529d1ac34058ec01df5e2", + "width_px": 7181, + "height_px": 1907, + "data_panel": { + "x": 40, + "y": 226, + "width": 7101, + "height": 1481, + "note": "image pixels of the area; 1 image pixel = 1 render pixel" + } + } + }, + "software": { + "python": "3.14.8", + "numpy": "2.5.2", + "opencv": "5.0.0", + "zarr": "3.4.1", + "tifffile": "2026.10.15" + }, + "command": "make_submission_image.py --mesh flatten.tifxyz --umbilicus umbilicus_dopico_1218.json --ct render.zarr --ct-layer d0 --ink render__readerv2__L66s25_reverse.tif render__dnative__L66s25_reverse.tif render__readerv3__L66s25_reverse.tif --ink-names readerv2 dnative readerv3 --ensemble --area 0,0,7101,1481 --volume-id 20250521120456 --title 'PHerc1218 C1 w052 flattened (PRIVATE)' --out-dir img", + "command_note": "paths reduced to file names" +} diff --git a/flat/C1/w052/img_dim/flatten.json b/flat/C1/w052/img_dim/flatten.json new file mode 100644 index 0000000000000000000000000000000000000000..b3b03da32382546c83ff4c9d61107b1f3d177669 --- /dev/null +++ b/flat/C1/w052/img_dim/flatten.json @@ -0,0 +1,274 @@ +{ + "schema": "make_submission_image/1", + "scroll": "PHerc. 343", + "volume_id": "20250521120456", + "voxel_size_um": 8.64, + "mesh": { + "name": "flatten.tifxyz", + "scale": 0.05, + "nodes_hw": [ + 84, + 357 + ], + "valid_nodes": 18742, + "geometry": [ + { + "file": "x.tif", + "sha256": "621787d9028594de515fe946fb846d855e44daa91554527d9df4035d26d310e9" + }, + { + "file": "y.tif", + "sha256": "b2ca745257f330ad8ba7d69466be681f1d6298b79fe912c5473cb4527af646de" + }, + { + "file": "z.tif", + "sha256": "c3b5f5e2646f839597ec89041171d2245679bca31b7997e711f289f98a370c9f" + } + ], + "geometry_note": "the image depends only on these files and on the field \"scale\" of meta.json; the rest of meta.json and any other file in the mesh folder change no pixel", + "files": [ + { + "file": "meta.json", + "sha256": "dc0d8a46a9fb4e213c05ff6970dfc1a6ef1e0c44fa3f5777cd4471c86c665425" + }, + { + "file": "model.pt", + "sha256": "c8603cf1b042aea89a831b36c6b236cf851e99499f608d6a81ac49d585a4713f" + }, + { + "file": "x.tif", + "sha256": "621787d9028594de515fe946fb846d855e44daa91554527d9df4035d26d310e9" + }, + { + "file": "y.tif", + "sha256": "b2ca745257f330ad8ba7d69466be681f1d6298b79fe912c5473cb4527af646de" + }, + { + "file": "z.tif", + "sha256": "c3b5f5e2646f839597ec89041171d2245679bca31b7997e711f289f98a370c9f" + } + ] + }, + "orientation": { + "source": "measured from the mesh and the umbilicus", + "sign_dtheta_per_column": 1, + "sign_dz_per_row": 1, + "dtheta_deg_per_node_column": 0.84808, + "dz_voxels_per_node_row": 15.937, + "flip_lr": true, + "flip_ud": true, + "normal_dot_outward_median": 0.7051, + "normal_outward_fraction": 0.9743, + "rule": "flip_lr = sign(dtheta/dcolumn) > 0, flip_ud = sign(dz/drow) > 0; the render normal is n = dP/dcolumn x dP/drow", + "umbilicus": { + "file": "umbilicus_dopico_1218.json", + "sha256": "a153ad7a768866cb2800baed4190505dadccfb98aec2635fd8dd0510dec29560" + } + }, + "area": { + "raw_render_px": { + "col0": 0, + "row0": 0, + "col1": 7101, + "row1": 1481 + }, + "reading_px": { + "x0": 0, + "y0": 0, + "x1": 7101, + "y1": 1481 + }, + "note": "x1/col1 and y1/row1 exclusive; reading = raw render mirrored as in \"orientation\"", + "given": { + "source": "command line", + "frame": "raw", + "values": [ + 0, + 0, + 7101, + 1481 + ] + }, + "width_px": 7101, + "height_px": 1481, + "width_mm": 61.353, + "height_mm": 12.796, + "area_cm2": 7.8506, + "limit_cm2": 4.0, + "within_limit": false, + "valid_fraction": 0.6795, + "papyrus_cm2_nominal": 5.3348, + "z_voxels": { + "min": 10042.8, + "max": 10943.2, + "note": "mesh z of the valid pixels (every 4th pixel)" + }, + "theta_deg": { + "min": -2.12, + "max": 360.33, + "min_mod360": 357.88, + "max_mod360": 0.33, + "note": "angle around the umbilicus per node, unwrapped along the mesh columns (circular mean per column), bilinear per pixel (every 4th px)" + }, + "papyrus_cm2_mesh3d": 5.1923, + "mesh_area_ratio_3d_to_flat": 0.9733 + }, + "ct": { + "file": "render.zarr", + "shape": [ + 66, + 1481, + 7101 + ], + "layers": [ + 33 + ], + "depths": [ + 0 + ], + "depth_rule": "d = layer - 33; d = 0 is the layer just outside the mesh surface; positive d along the render normal (outward when orientation.normal_dot_outward_median > 0)", + "stretch": { + "lo": 36.0, + "hi": 179.0, + "source": "p1..p99.5 of the valid pixels of layers 18..48 (whole render)" + }, + "valid_rule": "all 66 layers > 0", + "area_layers_sha256": { + "33": "4627b69325eb648e3ebd710628d229cffe7fe3f70ef2085468ae5efe5043e8d0" + }, + "area_valid_mask_sha256": "2339b877255aba4bfd3c2d7c21ef41a8aa5ba07049456bd0fc160618cce01ba3", + "area_data_note": "sha256 of the decoded uint8 layers (raw orientation, area only, C order) and of np.packbits(valid mask)", + "tree_sha256": "0197ffd9489fd44a8d89aa5e780296aec6651cd45bfe26b8e38c02834f1ef5d0", + "files": 726, + "bytes": 634096985, + "tree_rule": "sha256 of the sorted lines \"\\t\\n\" of every file in the folder" + }, + "ink": { + "maps": [ + { + "file": "render__dnative__L66s25_reverse.tif", + "model": "dnative", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "9bbc3f75d8f805d571c4c48bf10d7c27fc2e67b01e4462aeb58fc658286343e6" + }, + { + "file": "render__readerv2__L66s25_reverse.tif", + "model": "readerv2", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "309c781d6a1b9bc5f878e0d795cb33354aa85751e91e718a7c97bc1ac62a6a6a" + }, + { + "file": "render__readerv3__L66s25_reverse.tif", + "model": "readerv3", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "029f37462695ff4a4d4563e26d59fc35f0ac36ca6dd46f5be837d786fa25664f" + } + ], + "normalisation": { + "mode": "ensemble", + "models": [ + "dnative", + "readerv2", + "readerv3" + ], + "per_model": { + "dnative": { + "p1": 0.046875, + "p99_5": 0.8984375, + "mean": 0.29518955343988174, + "sd": 0.16549470474968972, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + }, + "readerv2": { + "p1": 0.0, + "p99_5": 0.9140625, + "mean": 0.13313440492362402, + "sd": 0.16409571122771394, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + }, + "readerv3": { + "p1": 0.0, + "p99_5": 0.953125, + "mean": 0.12632698488635502, + "sd": 0.1847763732910898, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + } + }, + "ensemble_stretch": { + "p1": -0.9667385220527649, + "p99_5": 4.138965196609497, + "source": "these maps (fixed grid, every 8th row and column, valid pixels)" + }, + "rule": "z = (map - mean) / sd per model; ensemble = mean of the z-scores; u = clip((ensemble - p1) / (p99_5 - p1), 0, 1), 8 bit", + "display_range": { + "lo": -0.9667385220527649, + "hi": 4.138965196609497 + } + }, + "stats_file": null + }, + "overlay": { + "style": "dimmed-ct", + "cmap": "mono:255,235,120", + "alpha": 0.9, + "threshold": 0.35, + "full": 0.75, + "blend": "alpha", + "ct_dim": 0.45, + "tint_floor": null, + "legend": { + "threshold_value": 0.8203, + "full_value": 2.8625, + "top_value": 4.139 + }, + "rule": "u = the 8-bit ink image / 255; opacity = alpha * clip((u - threshold) / (full - threshold), 0, 1); pixel = CT grey * ct_dim * (1 - opacity) + colour * opacity, colour = cmap(u) (blend alpha) or cmap(u) * (tint_floor + (1 - tint_floor) * CT grey / 255) (blend tint); per pixel in float32, rounded to 8 bit; invalid pixels black" + }, + "scale_bar": { + "length_px": 1157, + "px_per_cm": 1157.407, + "label": "1 cm" + }, + "rows": null, + "letters": null, + "checks": {}, + "warnings": [ + "surface volume is 1481 x 7101 px but the mesh renders to 1680 x 7140 px; if the volume is a crop, give --render-offset", + "area 61.35 x 12.80 mm = 7.8506 cm2 is larger than 4.0 cm2" + ], + "outputs": { + "image": { + "file": "flatten.png", + "sha256": "03cd8efb6c32096c00ccd4d1aaa323cb57192b63de5df3fc597843d5f15e8d71", + "width_px": 7181, + "height_px": 1907, + "data_panel": { + "x": 40, + "y": 226, + "width": 7101, + "height": 1481, + "note": "image pixels of the area; 1 image pixel = 1 render pixel" + } + } + }, + "software": { + "python": "3.14.8", + "numpy": "2.5.2", + "opencv": "5.0.0", + "zarr": "3.4.1", + "tifffile": "2026.10.15" + }, + "command": "make_submission_image.py --mesh flatten.tifxyz --umbilicus umbilicus_dopico_1218.json --ct render.zarr --ct-layer d0 --ink render__readerv2__L66s25_reverse.tif render__dnative__L66s25_reverse.tif render__readerv3__L66s25_reverse.tif --ink-names readerv2 dnative readerv3 --ensemble --area 0,0,7101,1481 --volume-id 20250521120456 --overlay-style dimmed-ct --ct-dim 0.45 --title 'PHerc1218 C1 w052 flattened, dim (PRIVATE)' --out-dir img_dim", + "command_note": "paths reduced to file names" +} diff --git a/flat/C1/w052/img_inkonly/flatten.json b/flat/C1/w052/img_inkonly/flatten.json new file mode 100644 index 0000000000000000000000000000000000000000..20664d2d824e2814d5ee1dd6c56e84f312ae3c13 --- /dev/null +++ b/flat/C1/w052/img_inkonly/flatten.json @@ -0,0 +1,274 @@ +{ + "schema": "make_submission_image/1", + "scroll": "PHerc. 343", + "volume_id": "20250521120456", + "voxel_size_um": 8.64, + "mesh": { + "name": "flatten.tifxyz", + "scale": 0.05, + "nodes_hw": [ + 84, + 357 + ], + "valid_nodes": 18742, + "geometry": [ + { + "file": "x.tif", + "sha256": "621787d9028594de515fe946fb846d855e44daa91554527d9df4035d26d310e9" + }, + { + "file": "y.tif", + "sha256": "b2ca745257f330ad8ba7d69466be681f1d6298b79fe912c5473cb4527af646de" + }, + { + "file": "z.tif", + "sha256": "c3b5f5e2646f839597ec89041171d2245679bca31b7997e711f289f98a370c9f" + } + ], + "geometry_note": "the image depends only on these files and on the field \"scale\" of meta.json; the rest of meta.json and any other file in the mesh folder change no pixel", + "files": [ + { + "file": "meta.json", + "sha256": "dc0d8a46a9fb4e213c05ff6970dfc1a6ef1e0c44fa3f5777cd4471c86c665425" + }, + { + "file": "model.pt", + "sha256": "c8603cf1b042aea89a831b36c6b236cf851e99499f608d6a81ac49d585a4713f" + }, + { + "file": "x.tif", + "sha256": "621787d9028594de515fe946fb846d855e44daa91554527d9df4035d26d310e9" + }, + { + "file": "y.tif", + "sha256": "b2ca745257f330ad8ba7d69466be681f1d6298b79fe912c5473cb4527af646de" + }, + { + "file": "z.tif", + "sha256": "c3b5f5e2646f839597ec89041171d2245679bca31b7997e711f289f98a370c9f" + } + ] + }, + "orientation": { + "source": "measured from the mesh and the umbilicus", + "sign_dtheta_per_column": 1, + "sign_dz_per_row": 1, + "dtheta_deg_per_node_column": 0.84808, + "dz_voxels_per_node_row": 15.937, + "flip_lr": true, + "flip_ud": true, + "normal_dot_outward_median": 0.7051, + "normal_outward_fraction": 0.9743, + "rule": "flip_lr = sign(dtheta/dcolumn) > 0, flip_ud = sign(dz/drow) > 0; the render normal is n = dP/dcolumn x dP/drow", + "umbilicus": { + "file": "umbilicus_dopico_1218.json", + "sha256": "a153ad7a768866cb2800baed4190505dadccfb98aec2635fd8dd0510dec29560" + } + }, + "area": { + "raw_render_px": { + "col0": 0, + "row0": 0, + "col1": 7101, + "row1": 1481 + }, + "reading_px": { + "x0": 0, + "y0": 0, + "x1": 7101, + "y1": 1481 + }, + "note": "x1/col1 and y1/row1 exclusive; reading = raw render mirrored as in \"orientation\"", + "given": { + "source": "command line", + "frame": "raw", + "values": [ + 0, + 0, + 7101, + 1481 + ] + }, + "width_px": 7101, + "height_px": 1481, + "width_mm": 61.353, + "height_mm": 12.796, + "area_cm2": 7.8506, + "limit_cm2": 4.0, + "within_limit": false, + "valid_fraction": 0.6795, + "papyrus_cm2_nominal": 5.3348, + "z_voxels": { + "min": 10042.8, + "max": 10943.2, + "note": "mesh z of the valid pixels (every 4th pixel)" + }, + "theta_deg": { + "min": -2.12, + "max": 360.33, + "min_mod360": 357.88, + "max_mod360": 0.33, + "note": "angle around the umbilicus per node, unwrapped along the mesh columns (circular mean per column), bilinear per pixel (every 4th px)" + }, + "papyrus_cm2_mesh3d": 5.1923, + "mesh_area_ratio_3d_to_flat": 0.9733 + }, + "ct": { + "file": "render.zarr", + "shape": [ + 66, + 1481, + 7101 + ], + "layers": [ + 33 + ], + "depths": [ + 0 + ], + "depth_rule": "d = layer - 33; d = 0 is the layer just outside the mesh surface; positive d along the render normal (outward when orientation.normal_dot_outward_median > 0)", + "stretch": { + "lo": 36.0, + "hi": 179.0, + "source": "p1..p99.5 of the valid pixels of layers 18..48 (whole render)" + }, + "valid_rule": "all 66 layers > 0", + "area_layers_sha256": { + "33": "4627b69325eb648e3ebd710628d229cffe7fe3f70ef2085468ae5efe5043e8d0" + }, + "area_valid_mask_sha256": "2339b877255aba4bfd3c2d7c21ef41a8aa5ba07049456bd0fc160618cce01ba3", + "area_data_note": "sha256 of the decoded uint8 layers (raw orientation, area only, C order) and of np.packbits(valid mask)", + "tree_sha256": "0197ffd9489fd44a8d89aa5e780296aec6651cd45bfe26b8e38c02834f1ef5d0", + "files": 726, + "bytes": 634096985, + "tree_rule": "sha256 of the sorted lines \"\\t\\n\" of every file in the folder" + }, + "ink": { + "maps": [ + { + "file": "render__dnative__L66s25_reverse.tif", + "model": "dnative", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "9bbc3f75d8f805d571c4c48bf10d7c27fc2e67b01e4462aeb58fc658286343e6" + }, + { + "file": "render__readerv2__L66s25_reverse.tif", + "model": "readerv2", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "309c781d6a1b9bc5f878e0d795cb33354aa85751e91e718a7c97bc1ac62a6a6a" + }, + { + "file": "render__readerv3__L66s25_reverse.tif", + "model": "readerv3", + "direction": "reverse", + "side": "reading", + "depth": 0, + "villa": true, + "sha256": "029f37462695ff4a4d4563e26d59fc35f0ac36ca6dd46f5be837d786fa25664f" + } + ], + "normalisation": { + "mode": "ensemble", + "models": [ + "dnative", + "readerv2", + "readerv3" + ], + "per_model": { + "dnative": { + "p1": 0.046875, + "p99_5": 0.8984375, + "mean": 0.29518955343988174, + "sd": 0.16549470474968972, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + }, + "readerv2": { + "p1": 0.0, + "p99_5": 0.9140625, + "mean": 0.13313440492362402, + "sd": 0.16409571122771394, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + }, + "readerv3": { + "p1": 0.0, + "p99_5": 0.953125, + "mean": 0.12632698488635502, + "sd": 0.1847763732910898, + "n_px": 7146423, + "source": "this map only (valid pixels of the whole render)" + } + }, + "ensemble_stretch": { + "p1": -0.9667385220527649, + "p99_5": 4.138965196609497, + "source": "these maps (fixed grid, every 8th row and column, valid pixels)" + }, + "rule": "z = (map - mean) / sd per model; ensemble = mean of the z-scores; u = clip((ensemble - p1) / (p99_5 - p1), 0, 1), 8 bit", + "display_range": { + "lo": -0.9667385220527649, + "hi": 4.138965196609497 + } + }, + "stats_file": null + }, + "overlay": { + "style": "dimmed-ct", + "cmap": "mono:255,235,120", + "alpha": 0.9, + "threshold": 0.35, + "full": 0.75, + "blend": "alpha", + "ct_dim": 0.02, + "tint_floor": null, + "legend": { + "threshold_value": 0.8203, + "full_value": 2.8625, + "top_value": 4.139 + }, + "rule": "u = the 8-bit ink image / 255; opacity = alpha * clip((u - threshold) / (full - threshold), 0, 1); pixel = CT grey * ct_dim * (1 - opacity) + colour * opacity, colour = cmap(u) (blend alpha) or cmap(u) * (tint_floor + (1 - tint_floor) * CT grey / 255) (blend tint); per pixel in float32, rounded to 8 bit; invalid pixels black" + }, + "scale_bar": { + "length_px": 1157, + "px_per_cm": 1157.407, + "label": "1 cm" + }, + "rows": null, + "letters": null, + "checks": {}, + "warnings": [ + "surface volume is 1481 x 7101 px but the mesh renders to 1680 x 7140 px; if the volume is a crop, give --render-offset", + "area 61.35 x 12.80 mm = 7.8506 cm2 is larger than 4.0 cm2" + ], + "outputs": { + "image": { + "file": "flatten.png", + "sha256": "38512c4c6ffc36e762937027177af4562d1af43dc2b3890691e793005139706d", + "width_px": 7181, + "height_px": 1907, + "data_panel": { + "x": 40, + "y": 226, + "width": 7101, + "height": 1481, + "note": "image pixels of the area; 1 image pixel = 1 render pixel" + } + } + }, + "software": { + "python": "3.14.8", + "numpy": "2.5.2", + "opencv": "5.0.0", + "zarr": "3.4.1", + "tifffile": "2026.10.15" + }, + "command": "make_submission_image.py --mesh flatten.tifxyz --umbilicus umbilicus_dopico_1218.json --ct render.zarr --ct-layer d0 --ink render__readerv2__L66s25_reverse.tif render__dnative__L66s25_reverse.tif render__readerv3__L66s25_reverse.tif --ink-names readerv2 dnative readerv3 --ensemble --area 0,0,7101,1481 --volume-id 20250521120456 --overlay-style dimmed-ct --ct-dim 0.02 --title 'PHerc1218 C1 w052 flattened, ink only (PRIVATE)' --out-dir img_inkonly", + "command_note": "paths reduced to file names" +} diff --git a/flat/C1/w052/screen/maps/logs/dnative_d0.log b/flat/C1/w052/screen/maps/logs/dnative_d0.log new file mode 100644 index 0000000000000000000000000000000000000000..2adabc569b011e384b2fa6241941fc615f66abb6 --- /dev/null +++ b/flat/C1/w052/screen/maps/logs/dnative_d0.log @@ -0,0 +1,71 @@ +[2026-10-22 04:34:03,584] INFO Loaded model weights from /workspace/ckpt/dense_native-016000.rebuilt.pth (missing_keys=0 unexpected_keys=0) +[2026-10-22 04:34:08,557] INFO Selected source layer indices=[25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41] +[2026-10-22 04:34:08,557] INFO Input level=0 shape=(depth=66, height=1481, width=7101) chunks=(128, 128) patch=128 stride=64 requested_overlap=0.500 blend_mode=hann tta_mirror=False +[2026-10-22 04:34:08,558] INFO No mask supplied; using the entire Zarr +[2026-10-22 04:34:08,615] INFO Using occupancy scan level=3 shape=(186, 888) scale=(8, 8) nonempty_coverage=68.372% +[2026-10-22 04:34:08,624] INFO Selected 2029 patches for inference +Using dimensionality (2D) from ConfigManager +Using 2D convolutions (nn.Conv2d) +Using 2D normalization (nn.InstanceNorm2d) +--- Full autoconfiguration from config --- +Patch size adjusted from (128, 128) to (128, 128) to ensure divisibility by pooling factors [32 32] +Task 'ink' configured with shared decoder + head (1 channels) +NetworkFromConfig initialized with final configuration: + model_name: ink_det + basic_encoder_block: BasicBlockD + basic_decoder_block: ConvBlock + bottleneck_block: BasicBlockD + features_per_stage: [32, 64, 128, 256, 320, 320] + num_stages: 6 + n_blocks_per_stage: [1, 3, 4, 6, 6, 6] + n_conv_per_stage_decoder: [1, 1, 1, 1, 1] + kernel_sizes: [[3, 3], [3, 3], [3, 3], [3, 3], [3, 3], [3, 3]] + pool_op_kernel_sizes: [[1, 1], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2]] + conv_op: Conv2d + conv_bias: True + norm_op: InstanceNorm2d + norm_op_kwargs: {'affine': True, 'eps': 1e-05} + dropout_op: None + dropout_op_kwargs: None + nonlin: LeakyReLU + nonlin_kwargs: {'inplace': True, 'negative_slope': 0.01} + strides: [[1, 1], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2]] + return_skips: True + do_stem: True + stem_channels: 32 + bottleneck_channels: None + stochastic_depth_p: 0.0 + squeeze_excitation: False + squeeze_excitation_reduction_ratio: 0.0625 + squeeze_excitation_type: channel + squeeze_excitation_add_maxpool: False + pool_type: conv + upsample_mode: transpconv + op_dims: 2 + patch_size: (128, 128) + batch_size: 64 + in_channels: 32 + autoconfigure: True + targets: {'ink': {'activation': 'none', 'out_channels': 1, 'z_projection_mode': 'none'}} + target_z_projection: {} + separate_decoders: False + num_pool_per_axis: [5, 5] + must_be_divisible_by: [32 32] + guide_backbone: None + guide_backbone_config_path: None + guide_freeze: True + guide_patch_grid: None + guide_stage_keys: None + guide_skip_concat_projector_channels: None + guide_feature_gate_alpha: None + guide_tokenbook_tokens: None + guide_tokenbook_prototype_weighting: mean + guide_tokenbook_weight_mlp_hidden: None + guide_compile_policy: off + guide_fusion_stage: None +[2026-10-22 04:37:39,239] INFO Selected source layer indices=[41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25] +[2026-10-22 04:37:39,242] INFO Input level=0 shape=(depth=66, height=1481, width=7101) chunks=(128, 128) patch=128 stride=64 requested_overlap=0.500 blend_mode=hann tta_mirror=False +[2026-10-22 04:37:39,242] INFO No mask supplied; using the entire Zarr +[2026-10-22 04:37:39,309] INFO Using occupancy scan level=3 shape=(186, 888) scale=(8, 8) nonempty_coverage=68.372% +[2026-10-22 04:37:39,322] INFO Selected 2029 patches for inference +/workspace/flat/C1/w052/screen/maps/render__dnative__L66s25{,_reverse}.tif diff --git a/flat/C1/w052/screen/maps/logs/readerv2_d0.log b/flat/C1/w052/screen/maps/logs/readerv2_d0.log new file mode 100644 index 0000000000000000000000000000000000000000..7f940cdcfa20c75e9de74bfae6bb5c8d720c892f --- /dev/null +++ b/flat/C1/w052/screen/maps/logs/readerv2_d0.log @@ -0,0 +1,71 @@ +[2026-10-22 04:34:02,462] INFO Loaded model weights from /workspace/ckpt/reader-v2-step040000.pth (missing_keys=0 unexpected_keys=0) +[2026-10-22 04:34:06,449] INFO Selected source layer indices=[25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41] +[2026-10-22 04:34:06,451] INFO Input level=0 shape=(depth=66, height=1481, width=7101) chunks=(128, 128) patch=128 stride=64 requested_overlap=0.500 blend_mode=hann tta_mirror=False +[2026-10-22 04:34:06,452] INFO No mask supplied; using the entire Zarr +[2026-10-22 04:34:06,514] INFO Using occupancy scan level=3 shape=(186, 888) scale=(8, 8) nonempty_coverage=68.372% +[2026-10-22 04:34:06,526] INFO Selected 2029 patches for inference +Using dimensionality (2D) from ConfigManager +Using 2D convolutions (nn.Conv2d) +Using 2D normalization (nn.InstanceNorm2d) +--- Full autoconfiguration from config --- +Patch size adjusted from (128, 128) to (128, 128) to ensure divisibility by pooling factors [32 32] +Task 'ink' configured with shared decoder + head (1 channels) +NetworkFromConfig initialized with final configuration: + model_name: ink_det + basic_encoder_block: BasicBlockD + basic_decoder_block: ConvBlock + bottleneck_block: BasicBlockD + features_per_stage: [32, 64, 128, 256, 320, 320] + num_stages: 6 + n_blocks_per_stage: [1, 3, 4, 6, 6, 6] + n_conv_per_stage_decoder: [1, 1, 1, 1, 1] + kernel_sizes: [[3, 3], [3, 3], [3, 3], [3, 3], [3, 3], [3, 3]] + pool_op_kernel_sizes: [[1, 1], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2]] + conv_op: Conv2d + conv_bias: True + norm_op: InstanceNorm2d + norm_op_kwargs: {'affine': True, 'eps': 1e-05} + dropout_op: None + dropout_op_kwargs: None + nonlin: LeakyReLU + nonlin_kwargs: {'inplace': True, 'negative_slope': 0.01} + strides: [[1, 1], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2]] + return_skips: True + do_stem: True + stem_channels: 32 + bottleneck_channels: None + stochastic_depth_p: 0.0 + squeeze_excitation: False + squeeze_excitation_reduction_ratio: 0.0625 + squeeze_excitation_type: channel + squeeze_excitation_add_maxpool: False + pool_type: conv + upsample_mode: transpconv + op_dims: 2 + patch_size: (128, 128) + batch_size: 64 + in_channels: 32 + autoconfigure: True + targets: {'ink': {'activation': 'none', 'out_channels': 1, 'z_projection_mode': 'none'}} + target_z_projection: {} + separate_decoders: False + num_pool_per_axis: [5, 5] + must_be_divisible_by: [32 32] + guide_backbone: None + guide_backbone_config_path: None + guide_freeze: True + guide_patch_grid: None + guide_stage_keys: None + guide_skip_concat_projector_channels: None + guide_feature_gate_alpha: None + guide_tokenbook_tokens: None + guide_tokenbook_prototype_weighting: mean + guide_tokenbook_weight_mlp_hidden: None + guide_compile_policy: off + guide_fusion_stage: None +[2026-10-22 04:37:37,884] INFO Selected source layer indices=[41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25] +[2026-10-22 04:37:37,887] INFO Input level=0 shape=(depth=66, height=1481, width=7101) chunks=(128, 128) patch=128 stride=64 requested_overlap=0.500 blend_mode=hann tta_mirror=False +[2026-10-22 04:37:37,887] INFO No mask supplied; using the entire Zarr +[2026-10-22 04:37:37,950] INFO Using occupancy scan level=3 shape=(186, 888) scale=(8, 8) nonempty_coverage=68.372% +[2026-10-22 04:37:37,961] INFO Selected 2029 patches for inference +/workspace/flat/C1/w052/screen/maps/render__readerv2__L66s25{,_reverse}.tif diff --git a/flat/C1/w052/screen/maps/logs/readerv3_d0.log b/flat/C1/w052/screen/maps/logs/readerv3_d0.log new file mode 100644 index 0000000000000000000000000000000000000000..17e9646f29623394ce8c73b92563e283a0399f40 --- /dev/null +++ b/flat/C1/w052/screen/maps/logs/readerv3_d0.log @@ -0,0 +1,74 @@ +[2026-10-22 04:41:32,744] INFO Loaded model weights from /workspace/ckpt/reader-v3.pth (missing_keys=0 unexpected_keys=0) +[2026-10-22 04:41:42,498] INFO Selected source layer indices=[25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41] +[2026-10-22 04:41:42,499] INFO Input level=0 shape=(depth=66, height=1481, width=7101) chunks=(128, 128) patch=384 stride=192 requested_overlap=0.500 blend_mode=hann tta_mirror=False +[2026-10-22 04:41:42,499] INFO No mask supplied; using the entire Zarr +[2026-10-22 04:41:42,600] INFO Using occupancy scan level=3 shape=(186, 888) scale=(8, 8) nonempty_coverage=68.372% +[2026-10-22 04:41:42,603] INFO Selected 251 patches for inference +Using dimensionality (2D) from ConfigManager +Using 2D convolutions (nn.Conv2d) +Using 2D normalization (nn.InstanceNorm2d) +--- Partial autoconfiguration: using provided features_per_stage --- +Using provided features_per_stage: [32, 64, 128, 256, 320, 320] +Detected 6 stages from features_per_stage +Patch size adjusted from (384, 384) to (384, 384) to ensure divisibility by pooling factors [64 64] +Using provided n_blocks_per_stage: [1, 3, 4, 6, 6, 6] +Task 'ink' configured with shared decoder + head (1 channels) +NetworkFromConfig initialized with final configuration: + model_name: ink_det + basic_encoder_block: BasicBlockD + basic_decoder_block: ConvBlock + bottleneck_block: BasicBlockD + features_per_stage: [32, 64, 128, 256, 320, 320] + num_stages: 6 + n_blocks_per_stage: [1, 3, 4, 6, 6, 6] + n_conv_per_stage_decoder: [1, 1, 1, 1, 1] + kernel_sizes: [[3, 3], [3, 3], [3, 3], [3, 3], [3, 3], [3, 3]] + pool_op_kernel_sizes: [[1, 1], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2]] + conv_op: Conv2d + conv_bias: True + norm_op: InstanceNorm2d + norm_op_kwargs: {'affine': True, 'eps': 1e-05} + dropout_op: None + dropout_op_kwargs: None + nonlin: LeakyReLU + nonlin_kwargs: {'inplace': True, 'negative_slope': 0.01} + strides: [[1, 1], [2, 2], [2, 2], [2, 2], [2, 2], [2, 2]] + return_skips: True + do_stem: True + stem_channels: 32 + bottleneck_channels: None + stochastic_depth_p: 0.0 + squeeze_excitation: False + squeeze_excitation_reduction_ratio: 0.0625 + squeeze_excitation_type: channel + squeeze_excitation_add_maxpool: False + pool_type: conv + upsample_mode: transpconv + op_dims: 2 + patch_size: (384, 384) + batch_size: 10 + in_channels: 32 + autoconfigure: True + targets: {'ink': {'activation': 'none', 'out_channels': 1, 'z_projection_mode': 'none'}} + target_z_projection: {} + separate_decoders: False + num_pool_per_axis: [6, 6] + must_be_divisible_by: [64 64] + guide_backbone: None + guide_backbone_config_path: None + guide_freeze: True + guide_patch_grid: None + guide_stage_keys: None + guide_skip_concat_projector_channels: None + guide_feature_gate_alpha: None + guide_tokenbook_tokens: None + guide_tokenbook_prototype_weighting: mean + guide_tokenbook_weight_mlp_hidden: None + guide_compile_policy: off + guide_fusion_stage: None +[2026-10-22 04:45:54,221] INFO Selected source layer indices=[41, 40, 39, 38, 37, 36, 35, 34, 33, 32, 31, 30, 29, 28, 27, 26, 25] +[2026-10-22 04:45:54,225] INFO Input level=0 shape=(depth=66, height=1481, width=7101) chunks=(128, 128) patch=384 stride=192 requested_overlap=0.500 blend_mode=hann tta_mirror=False +[2026-10-22 04:45:54,225] INFO No mask supplied; using the entire Zarr +[2026-10-22 04:45:54,294] INFO Using occupancy scan level=3 shape=(186, 888) scale=(8, 8) nonempty_coverage=68.372% +[2026-10-22 04:45:54,296] INFO Selected 251 patches for inference +/workspace/flat/C1/w052/screen/maps/render__readerv3__L66s25{,_reverse}.tif diff --git a/flat/C1/w052/screen/maps/logs/timings.tsv b/flat/C1/w052/screen/maps/logs/timings.tsv new file mode 100644 index 0000000000000000000000000000000000000000..3029060ce1d64c3e70fcc51755301ba234fcf8ca --- /dev/null +++ b/flat/C1/w052/screen/maps/logs/timings.tsv @@ -0,0 +1,3 @@ +readerv2 0 380 0 +dnative 0 380 0 +readerv3 0 413 0 diff --git a/flat/C1/w052/screen/render.zarr.log b/flat/C1/w052/screen/render.zarr.log new file mode 100644 index 0000000000000000000000000000000000000000..b0a0240b259ea727f64ac1893a24bfedb57ed9c4 --- /dev/null +++ b/flat/C1/w052/screen/render.zarr.log @@ -0,0 +1,10 @@ + tile-row 1/12 (8%) 10.4 chunks/s 0m05s eta 0m59s tile-row 2/12 (16%) 4.3 chunks/s 0m26s eta 2m10s tile-row 3/12 (25%) 3.5 chunks/s 0m47s eta 2m23s tile-row 4/12 (33%) 3.4 chunks/s 1m06s eta 2m13s tile-row 5/12 (41%) 3.4 chunks/s 1m22s eta 1m55s tile-row 6/12 (50%) 3.7 chunks/s 1m30s eta 1m30s tile-row 7/12 (58%) 4.3 chunks/s 1m32s eta 1m05s tile-row 8/12 (66%) 4.7 chunks/s 1m34s eta 0m47s tile-row 9/12 (75%) 5.2 chunks/s 1m36s eta 0m32s tile-row 10/12 (83%) 5.7 chunks/s 1m37s eta 0m19s tile-row 12/12 (100%) 6.8 chunks/s 1m39s eta 0m00s +Remote zarr streaming: https://vesuvius-challenge-open-data.s3.us-east-1.amazonaws.com/PHerc1218/volumes/20250521120456-8.640um-1.2m-116keV-masked.zarr +zarr dataset size for group 0 [23247 7593 7593 ] +Source dtype: uint8 +chunk shape [128 128 128 ] +Voxel size (remote volume metadata): 8.64 micrometer +Rendering: /workspace/flat/C1/w052/tifxyz/flatten.tifxyz -> /workspace/flat/C1/w052/screen/render.zarr (zarr) +ds_level=0 ds_scale=1 sA=1 Pg=1 render_scale=1 +auto-crop: [7101×1481 from (19,99)] +rendering 7101x1481 at scale 1 crop [7101×1481 from (19,99)] diff --git a/flat/C1/w052/screen/stats.json b/flat/C1/w052/screen/stats.json new file mode 100644 index 0000000000000000000000000000000000000000..2b5a25ac22ce0a2366ff7b2df5e2660d0105c0c3 --- /dev/null +++ b/flat/C1/w052/screen/stats.json @@ -0,0 +1,61 @@ +{ + "label": "C1flat/w052", + "shape": [ + 1481, + 7101 + ], + "valid_cm2": 5.337, + "maps": { + "readerv2/forward": { + "n_depths": 1, + "max_window_mean": 0.3819, + "hit_frac": 0.01419 + }, + "readerv2/reverse": { + "n_depths": 1, + "max_window_mean": 0.5801, + "hit_frac": 0.11194 + }, + "dnative/forward": { + "n_depths": 1, + "max_window_mean": 0.4369, + "hit_frac": 0.01151 + }, + "dnative/reverse": { + "n_depths": 1, + "max_window_mean": 0.5825, + "hit_frac": 0.20905 + }, + "readerv3/forward": { + "n_depths": 1, + "max_window_mean": 0.3614, + "hit_frac": 0.0 + }, + "readerv3/reverse": { + "n_depths": 1, + "max_window_mean": 0.6053, + "hit_frac": 0.10921 + } + }, + "both_models_hit_frac": { + "forward": 0.00297, + "reverse": 0.12032 + }, + "candidate": true, + "flag_boxes": [ + { + "direction": "forward", + "x0": 1562, + "y0": 243, + "x1": 2277, + "y1": 818 + }, + { + "direction": "reverse", + "x0": 664, + "y0": 150, + "x1": 2285, + "y1": 1281 + } + ] +} \ No newline at end of file diff --git a/flat/C1/w052/screen/sweep.log b/flat/C1/w052/screen/sweep.log new file mode 100644 index 0000000000000000000000000000000000000000..4c0263c83cd011a99a716eddded608f11a0077c8 --- /dev/null +++ b/flat/C1/w052/screen/sweep.log @@ -0,0 +1 @@ +done: 6 maps in /workspace/flat/C1/w052/screen/maps; timings in /workspace/flat/C1/w052/screen/maps/logs/timings.tsv diff --git a/flat/C1/w052/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w052/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..716134741aa2d1849bbefe6f03c3532777ac26cb --- /dev/null +++ b/flat/C1/w052/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2379.227294921875, + 3475.5634765625, + 10042.390625 + ], + [ + 5645.087890625, + 4765.10107421875, + 11039.57421875 + ] + ], + "area_vx2": 7297600.0, + "model_source": "/workspace/flat/C1/w052/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w052", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w052_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w052_spliced_p8C1.log b/flat/C1/w052_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..7cc767cf9d87a77f7c6d2c021d006943a4cc5cdf --- /dev/null +++ b/flat/C1/w052_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w052_spliced_p8C1 in 237s -> /workspace/flat/C1/w052_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w052_spliced_p8C1.retried b/flat/C1/w052_spliced_p8C1.retried new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/w052_spliced_p8C1/flatten.log b/flat/C1/w052_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..5aa1d7eda7672a0f9974a2be89dc87d884166d40 --- /dev/null +++ b/flat/C1/w052_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w052_spliced_p8C1: 66x255, 12732/16830 valid (75.7%) step_h=22.717 step_w=27.940 step_diag=25.706 step_avg=25.526 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x255 -> 1x33x128 -> 1x17x64 -> 1x9x32 -> 1x5x16 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w052_spliced_p8C1 shape=(66, 255, 3) valid=12732/16830 model_shape=66x255 source_step=20 output_step=20 measured_source_step=25.5224 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 255, 2) point_valid=12732/16830 quad_valid=12412/16510 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.0853 1.5226 1.5226 0.5627 0.5627 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.0853 0.0 1.5226 1.5226 0.5627 0.5627 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.5573 92.1 0.3174 0.3174 0.2399 0.2399 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 200/4500 0.2610 108.8 0.1353 0.1353 0.1258 0.1258 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.1577 89.5 0.0716 0.0716 0.0862 0.0862 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 400/4500 0.1135 101.7 0.0483 0.0483 0.0652 0.0652 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0143 target=20 uv_scale=1.00071 + stage0 500/4500 0.0843 116.7 0.0373 0.0373 0.0469 0.0469 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0457 107.3 0.0235 0.0235 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 700/4500 0.0358 80.1 0.0196 0.0196 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0333 90.6 0.0185 0.0185 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0321 88.6 0.0178 0.0178 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0057 target=20 uv_scale=1.00028 + stage0 1000/4500 0.0312 74.9 0.0174 0.0174 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0295 36.4 0.0166 0.0166 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0295 38.6 0.0163 0.0163 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0290 41.5 0.0160 0.0160 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0287 53.1 0.0159 0.0159 0.0128 0.0128 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 1500/4500 0.0284 73.3 0.0158 0.0158 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0281 78.3 0.0158 0.0158 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0282 72.5 0.0157 0.0157 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0282 83.6 0.0157 0.0157 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0280 63.4 0.0156 0.0156 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 2000/4500 0.0281 22.7 0.0158 0.0158 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0279 52.3 0.0158 0.0158 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0277 72.5 0.0157 0.0157 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0278 103.8 0.0157 0.0157 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0277 94.9 0.0156 0.0156 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 2500/4500 0.0279 109.9 0.0157 0.0157 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0286 91.7 0.0159 0.0159 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0276 61.4 0.0157 0.0157 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0278 94.6 0.0157 0.0157 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0278 106.9 0.0157 0.0157 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 3000/4500 0.0277 90.4 0.0157 0.0157 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0277 67.2 0.0159 0.0159 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0276 93.6 0.0158 0.0158 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0277 113.1 0.0158 0.0158 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0279 82.1 0.0158 0.0158 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 3500/4500 0.0279 58.3 0.0158 0.0158 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0276 92.1 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0274 114.1 0.0158 0.0158 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0275 63.9 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0276 97.6 0.0158 0.0158 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 4000/4500 0.0278 97.1 0.0158 0.0158 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0273 88.0 0.0161 0.0161 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0274 76.6 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0274 85.5 0.0158 0.0158 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0275 109.5 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 4500/4500 0.0275 95.5 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m07.96s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0265 0.0158 0.0158 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0265 67.5 0.0158 0.0158 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0275 114.7 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0276 119.0 0.0158 0.0158 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0275 75.7 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0275 67.7 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0275 65.2 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0275 105.3 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0275 122.4 0.0158 0.0158 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0274 109.4 0.0158 0.0158 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0275 91.1 0.0159 0.0159 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0275 85.4 0.0159 0.0159 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 11.37s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0275 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0275 58.0 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0275 61.6 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0274 93.1 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0274 85.3 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0274 70.7 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0274 78.3 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0274 93.2 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0274 74.1 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0274 78.9 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0274 64.4 0.0159 0.0159 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0274 62.5 0.0159 0.0159 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 13.73s +[optimizer] total optimize time: 3m33.05s +[fit] peak GPU memory: 0.15 GiB +[fit2tifxyz] area_vx2=7304000 diff --git a/flat/C1/w052_spliced_p8C1/flatten_input.json b/flat/C1/w052_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..61f44f3d1af7eab2b3c8a8bc5a00e1ca7964dec5 --- /dev/null +++ b/flat/C1/w052_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w052_spliced_p8C1"}]} diff --git a/flat/C1/w052_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w052_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..0729047e3e5211adf1f3e670f97dd35b1c1857cf --- /dev/null +++ b/flat/C1/w052_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2389.5732421875, + 3473.154052734375, + 10043.2421875 + ], + [ + 5645.7421875, + 4764.837890625, + 11038.7509765625 + ] + ], + "area_vx2": 7304000.0, + "model_source": "/workspace/flat/C1/w052_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w052_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w052_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w053_spliced_p8C1.log b/flat/C1/w053_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..13bb25479dca2fb6980b785b706e25e08a09911e --- /dev/null +++ b/flat/C1/w053_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w053_spliced_p8C1 in 139s -> /workspace/flat/C1/w053_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w053_spliced_p8C1/flatten.log b/flat/C1/w053_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..46854a7bcd862a32f5b2c312fe16bcf7820d403e --- /dev/null +++ b/flat/C1/w053_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w053_spliced_p8C1: 66x260, 12977/17160 valid (75.6%) step_h=22.850 step_w=28.259 step_diag=25.909 step_avg=25.741 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x260 -> 1x33x130 -> 1x17x65 -> 1x9x33 -> 1x5x17 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w053_spliced_p8C1 shape=(66, 260, 3) valid=12977/17160 model_shape=66x260 source_step=20 output_step=20 measured_source_step=25.7307 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 260, 2) point_valid=12977/17160 quad_valid=12646/16835 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.2591 1.6174 1.6174 0.6418 0.6418 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.2591 0.1 1.6174 1.6174 0.6418 0.6418 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.6704 99.3 0.3456 0.3456 0.3248 0.3248 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 200/4500 0.3382 91.4 0.1571 0.1571 0.1803 0.1803 0.0000 0.0000 4.0e-04 8.0e-04 20.015 + stage0 300/4500 0.2277 112.6 0.0902 0.0902 0.1375 0.1375 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 400/4500 0.1716 88.4 0.0640 0.0640 0.1076 0.1076 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0025 target=20 uv_scale=1.00012 + stage0 500/4500 0.0983 83.8 0.0514 0.0514 0.0469 0.0469 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0915 110.1 0.0397 0.0397 0.0518 0.0518 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 700/4500 0.0733 118.6 0.0346 0.0346 0.0387 0.0387 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 800/4500 0.0641 111.2 0.0316 0.0316 0.0325 0.0325 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 900/4500 0.0597 112.1 0.0300 0.0300 0.0296 0.0296 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0058 target=20 uv_scale=1.00029 + stage0 1000/4500 0.0563 113.5 0.0286 0.0286 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0522 106.1 0.0261 0.0261 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1200/4500 0.0501 110.7 0.0247 0.0247 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1300/4500 0.0485 106.4 0.0240 0.0240 0.0246 0.0246 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0478 116.9 0.0236 0.0236 0.0242 0.0242 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 1500/4500 0.0472 92.7 0.0233 0.0233 0.0240 0.0240 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0473 60.3 0.0235 0.0235 0.0238 0.0238 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0467 82.3 0.0233 0.0233 0.0235 0.0235 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0463 88.2 0.0231 0.0231 0.0232 0.0232 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0460 86.7 0.0229 0.0229 0.0231 0.0231 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 2000/4500 0.0458 76.9 0.0230 0.0230 0.0228 0.0228 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0461 81.2 0.0236 0.0236 0.0225 0.0225 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0458 76.8 0.0233 0.0233 0.0226 0.0226 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0456 80.1 0.0231 0.0231 0.0225 0.0225 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0455 97.7 0.0230 0.0230 0.0226 0.0226 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 2500/4500 0.0454 103.5 0.0229 0.0229 0.0225 0.0225 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0455 110.6 0.0232 0.0232 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0451 112.8 0.0230 0.0230 0.0221 0.0221 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0448 117.1 0.0228 0.0228 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0446 113.8 0.0228 0.0228 0.0218 0.0218 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 3000/4500 0.0444 82.6 0.0227 0.0227 0.0217 0.0217 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0450 74.2 0.0234 0.0234 0.0216 0.0216 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0445 108.2 0.0231 0.0231 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0443 108.7 0.0229 0.0229 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0441 115.1 0.0228 0.0228 0.0213 0.0213 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 3500/4500 0.0440 119.4 0.0227 0.0227 0.0213 0.0213 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0443 131.0 0.0234 0.0234 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0441 131.6 0.0230 0.0230 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0442 132.6 0.0229 0.0229 0.0213 0.0213 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0440 127.6 0.0228 0.0228 0.0212 0.0212 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0432 123.7 0.0226 0.0226 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0441 114.1 0.0232 0.0232 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0440 132.4 0.0231 0.0231 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0439 128.2 0.0229 0.0229 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0439 129.2 0.0228 0.0228 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 4500/4500 0.0438 129.0 0.0228 0.0228 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m34.47s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0423 0.0228 0.0228 0.0195 0.0195 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0423 64.8 0.0228 0.0228 0.0195 0.0195 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0433 135.5 0.0225 0.0225 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0433 141.3 0.0224 0.0224 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0433 136.7 0.0224 0.0224 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0433 119.4 0.0224 0.0224 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0432 130.8 0.0224 0.0224 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0432 130.7 0.0224 0.0224 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0431 119.6 0.0224 0.0224 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0431 132.0 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0431 123.8 0.0223 0.0223 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0431 134.3 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 7.89s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0431 0.0223 0.0223 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0431 62.1 0.0223 0.0223 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0430 130.7 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0430 129.1 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0430 140.6 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0430 145.2 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0430 144.1 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0430 131.4 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0430 121.5 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0430 117.7 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0430 135.2 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0430 99.9 0.0223 0.0223 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 8.05s +[optimizer] total optimize time: 1m50.42s +[fit] peak GPU memory: 0.16 GiB +[fit2tifxyz] area_vx2=7511200 diff --git a/flat/C1/w053_spliced_p8C1/flatten_input.json b/flat/C1/w053_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..d4848b3dab054dbd6a16bac61bf3331ece436fdb --- /dev/null +++ b/flat/C1/w053_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w053_spliced_p8C1"}]} diff --git a/flat/C1/w053_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w053_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..954b123ec17b699a5eead480cec27ad627c17624 --- /dev/null +++ b/flat/C1/w053_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2345.82080078125, + 3457.41748046875, + 10042.9189453125 + ], + [ + 5675.20361328125, + 4779.61669921875, + 11039.142578125 + ] + ], + "area_vx2": 7511200.0, + "model_source": "/workspace/flat/C1/w053_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w053_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w053_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w054_spliced_p8C1.log b/flat/C1/w054_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..1bb5ae11e1cf68a62b64def801131b9249314ca7 --- /dev/null +++ b/flat/C1/w054_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w054_spliced_p8C1 in 211s -> /workspace/flat/C1/w054_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w054_spliced_p8C1/flatten.log b/flat/C1/w054_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..4e107cf90f8d2a5ef8fcda544b8b682c969077d7 --- /dev/null +++ b/flat/C1/w054_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w054_spliced_p8C1: 66x265, 13221/17490 valid (75.6%) step_h=22.979 step_w=28.590 step_diag=26.116 step_avg=25.960 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x265 -> 1x33x133 -> 1x17x67 -> 1x9x34 -> 1x5x17 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w054_spliced_p8C1 shape=(66, 265, 3) valid=13221/17490 model_shape=66x265 source_step=20 output_step=20 measured_source_step=25.9542 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 265, 2) point_valid=13221/17490 quad_valid=12891/17160 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.4143 1.7013 1.7013 0.7130 0.7130 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.4143 0.0 1.7013 1.7013 0.7130 0.7130 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7617 110.9 0.3747 0.3747 0.3870 0.3870 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 200/4500 0.4286 122.8 0.1781 0.1781 0.2500 0.2500 0.0000 0.0000 2.0e-04 5.0e-04 20.020 + stage0 300/4500 0.2640 123.8 0.1065 0.1065 0.1575 0.1575 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 400/4500 0.2061 118.5 0.0791 0.0791 0.1270 0.1270 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0163 target=20 uv_scale=1.00082 + stage0 500/4500 0.1686 131.3 0.0661 0.0661 0.1025 0.1025 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1197 96.9 0.0503 0.0503 0.0695 0.0695 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 700/4500 0.0937 60.7 0.0430 0.0430 0.0507 0.0507 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 800/4500 0.0816 61.2 0.0400 0.0400 0.0415 0.0415 0.0000 0.0000 0.0000 1.0e-04 20.009 + stage0 900/4500 0.0742 69.9 0.0377 0.0377 0.0365 0.0365 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0069 target=20 uv_scale=1.00034 + stage0 1000/4500 0.0699 90.4 0.0360 0.0360 0.0339 0.0339 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0624 87.5 0.0324 0.0324 0.0300 0.0300 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1200/4500 0.0589 110.3 0.0304 0.0304 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1300/4500 0.0558 112.0 0.0292 0.0292 0.0266 0.0266 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1400/4500 0.0540 94.6 0.0285 0.0285 0.0256 0.0256 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0058 target=20 uv_scale=1.00029 + stage0 1500/4500 0.0537 99.9 0.0283 0.0283 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0524 105.5 0.0274 0.0274 0.0250 0.0250 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1700/4500 0.0502 109.2 0.0269 0.0269 0.0233 0.0233 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.0502 103.3 0.0266 0.0266 0.0236 0.0236 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0498 128.8 0.0264 0.0264 0.0234 0.0234 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0062 target=20 uv_scale=1.00031 + stage0 2000/4500 0.0493 109.4 0.0261 0.0261 0.0233 0.0233 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0474 125.7 0.0258 0.0258 0.0216 0.0216 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0473 139.5 0.0256 0.0256 0.0217 0.0217 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0471 126.1 0.0254 0.0254 0.0216 0.0216 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0467 134.3 0.0253 0.0253 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0051 target=20 uv_scale=1.00026 + stage0 2500/4500 0.0467 138.7 0.0252 0.0252 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0471 141.3 0.0256 0.0256 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0467 119.4 0.0254 0.0254 0.0213 0.0213 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0465 122.0 0.0252 0.0252 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0464 134.5 0.0251 0.0251 0.0213 0.0213 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0055 target=20 uv_scale=1.00027 + stage0 3000/4500 0.0465 128.9 0.0250 0.0250 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0463 112.0 0.0251 0.0251 0.0212 0.0212 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0461 135.6 0.0249 0.0249 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0460 148.4 0.0248 0.0248 0.0212 0.0212 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0461 147.1 0.0247 0.0247 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 3500/4500 0.0457 133.5 0.0246 0.0246 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0464 155.6 0.0250 0.0250 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0459 133.3 0.0248 0.0248 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0457 139.8 0.0247 0.0247 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0457 143.8 0.0246 0.0246 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 4000/4500 0.0457 148.9 0.0245 0.0245 0.0212 0.0212 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0458 106.8 0.0249 0.0249 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0457 120.9 0.0248 0.0248 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0456 132.7 0.0246 0.0246 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0456 119.1 0.0245 0.0245 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4500/4500 0.0455 132.2 0.0245 0.0245 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m44.88s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0438 0.0245 0.0245 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0438 17.2 0.0245 0.0245 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0452 81.3 0.0242 0.0242 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0451 88.4 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0451 126.9 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0451 110.7 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0451 129.7 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0451 125.3 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0451 127.4 0.0242 0.0242 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0451 141.0 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0451 135.0 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0451 126.7 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 8.96s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0451 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0451 57.7 0.0242 0.0242 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0450 141.1 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0450 121.7 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0450 104.3 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0450 89.7 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0450 45.9 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0450 60.3 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0450 72.9 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0450 94.5 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0450 144.5 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0450 153.3 0.0241 0.0241 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 11.50s +[optimizer] total optimize time: 3m05.35s +[fit] peak GPU memory: 0.16 GiB +[fit2tifxyz] area_vx2=7795600 diff --git a/flat/C1/w054_spliced_p8C1/flatten_input.json b/flat/C1/w054_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..b2323bd5174307434d2fcd91e459f24fba97f635 --- /dev/null +++ b/flat/C1/w054_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w054_spliced_p8C1"}]} diff --git a/flat/C1/w054_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w054_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..1f0272f7912e59c17e0f818f84ed5d92db484b81 --- /dev/null +++ b/flat/C1/w054_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2316.354736328125, + 3456.75146484375, + 10043.3828125 + ], + [ + 5733.05517578125, + 4800.818359375, + 11039.4560546875 + ] + ], + "area_vx2": 7795600.0, + "model_source": "/workspace/flat/C1/w054_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w054_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w054_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w055_spliced_p8C1.log b/flat/C1/w055_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..03ced192412a28c5844cac778efe3c70a8947542 --- /dev/null +++ b/flat/C1/w055_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w055_spliced_p8C1 in 237s -> /workspace/flat/C1/w055_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w055_spliced_p8C1/flatten.log b/flat/C1/w055_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..5ea842447090c342f3de56776370a6cbefcb1976 --- /dev/null +++ b/flat/C1/w055_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w055_spliced_p8C1: 66x270, 13472/17820 valid (75.6%) step_h=22.997 step_w=28.927 step_diag=26.337 step_avg=26.159 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x270 -> 1x33x135 -> 1x17x68 -> 1x9x34 -> 1x5x17 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w055_spliced_p8C1 shape=(66, 270, 3) valid=13472/17820 model_shape=66x270 source_step=20 output_step=20 measured_source_step=26.1519 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 270, 2) point_valid=13472/17820 quad_valid=13133/17485 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.5327 1.7643 1.7643 0.7684 0.7684 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.5327 0.0 1.7643 1.7643 0.7684 0.7684 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8085 62.2 0.3949 0.3949 0.4136 0.4136 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 200/4500 0.4175 73.0 0.1877 0.1877 0.2298 0.2298 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 300/4500 0.2745 105.5 0.1103 0.1103 0.1642 0.1642 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 400/4500 0.2012 77.3 0.0790 0.0790 0.1223 0.1223 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0167 target=20 uv_scale=1.00083 + stage0 500/4500 0.1688 84.7 0.0642 0.0642 0.1046 0.1046 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1128 101.0 0.0492 0.0492 0.0635 0.0635 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 700/4500 0.0877 106.7 0.0433 0.0433 0.0444 0.0444 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 800/4500 0.0775 107.4 0.0400 0.0400 0.0374 0.0374 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 900/4500 0.0698 107.8 0.0377 0.0377 0.0322 0.0322 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0073 target=20 uv_scale=1.00036 + stage0 1000/4500 0.0661 91.5 0.0359 0.0359 0.0302 0.0302 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0589 95.6 0.0335 0.0335 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1200/4500 0.0562 117.8 0.0321 0.0321 0.0241 0.0241 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1300/4500 0.0533 117.8 0.0310 0.0310 0.0223 0.0223 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1400/4500 0.0517 59.2 0.0301 0.0301 0.0216 0.0216 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 1500/4500 0.0500 32.1 0.0292 0.0292 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0473 58.2 0.0280 0.0280 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.0461 115.0 0.0278 0.0278 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0464 111.0 0.0276 0.0276 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0447 101.4 0.0272 0.0272 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 2000/4500 0.0473 106.5 0.0270 0.0270 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0443 101.7 0.0270 0.0270 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0442 115.0 0.0267 0.0267 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0441 121.3 0.0264 0.0264 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2400/4500 0.0439 129.7 0.0261 0.0261 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.006 target=20 uv_scale=1.0003 + stage0 2500/4500 0.0436 124.1 0.0259 0.0259 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0429 125.0 0.0257 0.0257 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0435 113.6 0.0255 0.0255 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2800/4500 0.0430 127.0 0.0254 0.0254 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2900/4500 0.0419 123.4 0.0252 0.0252 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0075 target=20 uv_scale=1.00038 + stage0 3000/4500 0.0432 112.8 0.0250 0.0250 0.0182 0.0182 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0411 116.5 0.0249 0.0249 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0416 129.1 0.0248 0.0248 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0417 129.8 0.0246 0.0246 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3400/4500 0.0413 131.7 0.0243 0.0243 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0064 target=20 uv_scale=1.00032 + stage0 3500/4500 0.0414 126.1 0.0243 0.0243 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0406 125.4 0.0240 0.0240 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0406 112.4 0.0237 0.0237 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3800/4500 0.0406 105.9 0.0236 0.0236 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0399 114.5 0.0234 0.0234 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0058 target=20 uv_scale=1.00029 + stage0 4000/4500 0.0401 108.4 0.0234 0.0234 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0434 109.0 0.0227 0.0227 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 4200/4500 0.0413 122.8 0.0221 0.0221 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 4300/4500 0.0384 120.8 0.0217 0.0217 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4400/4500 0.0389 116.5 0.0216 0.0216 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0081 target=20 uv_scale=1.0004 + stage0 4500/4500 0.0391 111.3 0.0215 0.0215 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m45.24s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0365 0.0216 0.0216 0.0149 0.0149 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0365 59.3 0.0216 0.0216 0.0149 0.0149 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0397 114.6 0.0216 0.0216 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 200/1000 0.0390 106.7 0.0216 0.0216 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 300/1000 0.0390 103.3 0.0216 0.0216 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 400/1000 0.0388 109.1 0.0216 0.0216 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 500/1000 0.0386 104.2 0.0215 0.0215 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 600/1000 0.0385 109.1 0.0215 0.0215 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 700/1000 0.0383 96.3 0.0215 0.0215 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 800/1000 0.0390 116.4 0.0215 0.0215 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 900/1000 0.0381 118.5 0.0215 0.0215 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 1000/1000 0.0384 106.9 0.0215 0.0215 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage1 'flatten' complete in 9.53s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0383 0.0215 0.0215 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 1/1000 0.0383 79.1 0.0215 0.0215 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 100/1000 0.0384 100.4 0.0215 0.0215 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 200/1000 0.0384 59.4 0.0215 0.0215 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 300/1000 0.0384 54.7 0.0215 0.0215 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 400/1000 0.0384 63.1 0.0215 0.0215 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 500/1000 0.0384 59.3 0.0215 0.0215 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 600/1000 0.0383 58.3 0.0215 0.0215 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 700/1000 0.0384 41.7 0.0215 0.0215 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 800/1000 0.0384 52.9 0.0215 0.0215 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 900/1000 0.0385 69.9 0.0215 0.0215 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 1000/1000 0.0384 82.9 0.0215 0.0215 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage2 'flatten' complete in 16.79s +[optimizer] total optimize time: 3m11.56s +[fit] peak GPU memory: 0.17 GiB +[fit2tifxyz] area_vx2=8076400 diff --git a/flat/C1/w055_spliced_p8C1/flatten_input.json b/flat/C1/w055_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..c0914394e60fc18a28da10402d5ae577e050d391 --- /dev/null +++ b/flat/C1/w055_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w055_spliced_p8C1"}]} diff --git a/flat/C1/w055_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w055_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..91dbda703ebda17cfb43e342ed26b5bcee2ed586 --- /dev/null +++ b/flat/C1/w055_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2308.144287109375, + 3448.461181640625, + 10041.9091796875 + ], + [ + 5788.15869140625, + 4811.60302734375, + 11039.2177734375 + ] + ], + "area_vx2": 8076400.0, + "model_source": "/workspace/flat/C1/w055_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w055_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w055_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w056_spliced_p8C1.log b/flat/C1/w056_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..3c51ef07e19351c71811255bbe8247700dc2f5a0 --- /dev/null +++ b/flat/C1/w056_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w056_spliced_p8C1 in 235s -> /workspace/flat/C1/w056_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w056_spliced_p8C1/flatten.log b/flat/C1/w056_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..8fcc6732316431782d03a07576f97ac1799c0d40 --- /dev/null +++ b/flat/C1/w056_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w056_spliced_p8C1: 66x275, 13728/18150 valid (75.6%) step_h=22.912 step_w=29.112 step_diag=26.422 step_avg=26.228 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x275 -> 1x33x138 -> 1x17x69 -> 1x9x35 -> 1x5x18 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w056_spliced_p8C1 shape=(66, 275, 3) valid=13728/18150 model_shape=66x275 source_step=20 output_step=20 measured_source_step=26.2223 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 275, 2) point_valid=13728/18150 quad_valid=13389/17810 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.5353 1.7692 1.7692 0.7662 0.7662 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.5353 0.0 1.7692 1.7692 0.7662 0.7662 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7960 70.2 0.4126 0.4126 0.3828 0.3828 0.0000 0.0000 3.0e-04 6.0e-04 20.012 + stage0 200/4500 0.4323 89.4 0.2022 0.2022 0.2301 0.2301 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 300/4500 0.2732 84.0 0.1195 0.1195 0.1537 0.1537 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 400/4500 0.2067 84.4 0.0845 0.0845 0.1222 0.1222 0.0000 0.0000 0.0000 0.0000 20.020 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0179 target=20 uv_scale=1.00089 + stage0 500/4500 0.1561 89.1 0.0653 0.0653 0.0908 0.0908 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1136 116.4 0.0494 0.0494 0.0642 0.0642 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 700/4500 0.0844 108.1 0.0418 0.0418 0.0422 0.0422 0.0000 0.0000 2.0e-04 4.0e-04 20.014 + stage0 800/4500 0.0700 104.2 0.0384 0.0384 0.0316 0.0316 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 900/4500 0.0622 115.3 0.0360 0.0360 0.0262 0.0262 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 1000/4500 0.0592 128.2 0.0344 0.0344 0.0248 0.0248 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0504 101.7 0.0308 0.0308 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0477 113.2 0.0299 0.0299 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1300/4500 0.0483 116.2 0.0291 0.0291 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1400/4500 0.0469 100.2 0.0284 0.0284 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 1500/4500 0.0467 32.0 0.0283 0.0283 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0443 41.9 0.0265 0.0265 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0448 111.0 0.0269 0.0269 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.0446 94.9 0.0263 0.0263 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0433 95.3 0.0258 0.0258 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 2000/4500 0.0434 94.7 0.0254 0.0254 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0404 101.3 0.0242 0.0242 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0405 126.8 0.0241 0.0241 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0401 127.2 0.0237 0.0237 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0401 127.4 0.0233 0.0233 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0055 target=20 uv_scale=1.00027 + stage0 2500/4500 0.0394 124.4 0.0229 0.0229 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0374 127.7 0.0224 0.0224 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0379 113.2 0.0222 0.0222 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0377 118.4 0.0218 0.0218 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0373 109.5 0.0215 0.0215 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 3000/4500 0.0369 105.0 0.0213 0.0213 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0366 92.0 0.0211 0.0211 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0365 110.5 0.0209 0.0209 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0366 107.6 0.0208 0.0208 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3400/4500 0.0350 113.6 0.0207 0.0207 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 3500/4500 0.0363 112.9 0.0206 0.0206 0.0157 0.0157 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0362 109.9 0.0208 0.0208 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0356 117.2 0.0205 0.0205 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0364 120.1 0.0203 0.0203 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0353 113.3 0.0202 0.0202 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 4000/4500 0.0357 104.5 0.0201 0.0201 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0354 101.3 0.0203 0.0203 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0353 106.4 0.0201 0.0201 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0353 111.0 0.0200 0.0200 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0352 105.4 0.0199 0.0199 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 4500/4500 0.0353 118.1 0.0198 0.0198 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m45.62s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0339 0.0198 0.0198 0.0141 0.0141 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0339 64.4 0.0198 0.0198 0.0141 0.0141 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0347 109.3 0.0195 0.0195 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0349 104.7 0.0195 0.0195 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0350 105.4 0.0195 0.0195 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0349 98.9 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0352 105.9 0.0195 0.0195 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0351 108.0 0.0195 0.0195 0.0157 0.0157 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.0350 109.0 0.0195 0.0195 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 800/1000 0.0349 104.3 0.0195 0.0195 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0352 103.3 0.0195 0.0195 0.0157 0.0157 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0348 103.5 0.0194 0.0194 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 9.83s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0349 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.0349 23.2 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.0349 88.5 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0349 71.4 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0349 71.3 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0349 62.9 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0349 66.1 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0349 67.0 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0349 63.9 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0349 62.2 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0349 82.0 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0349 92.4 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 14.52s +[optimizer] total optimize time: 3m09.97s +[fit] peak GPU memory: 0.18 GiB +[fit2tifxyz] area_vx2=8247600 diff --git a/flat/C1/w056_spliced_p8C1/flatten_input.json b/flat/C1/w056_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..cfce8300391d95f6c1a33e3c58c26319f88145aa --- /dev/null +++ b/flat/C1/w056_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w056_spliced_p8C1"}]} diff --git a/flat/C1/w056_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w056_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..9de7d2b444984a62f1f5d97c38a1577dc0453751 --- /dev/null +++ b/flat/C1/w056_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2266.457763671875, + 3437.4716796875, + 10042.724609375 + ], + [ + 5831.87158203125, + 4825.751953125, + 11040.7041015625 + ] + ], + "area_vx2": 8247600.0, + "model_source": "/workspace/flat/C1/w056_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w056_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w056_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w057_spliced_p8C1.log b/flat/C1/w057_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..b867b18201a6ba3cae91f709f46855a53f68fe62 --- /dev/null +++ b/flat/C1/w057_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w057_spliced_p8C1 in 235s -> /workspace/flat/C1/w057_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w057_spliced_p8C1/flatten.log b/flat/C1/w057_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..9f8705b9e5449fea32992b1f5e906e7639a38a20 --- /dev/null +++ b/flat/C1/w057_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w057_spliced_p8C1: 66x279, 13926/18414 valid (75.6%) step_h=22.797 step_w=29.030 step_diag=26.366 step_avg=26.151 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x279 -> 1x33x140 -> 1x17x70 -> 1x9x35 -> 1x5x18 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w057_spliced_p8C1 shape=(66, 279, 3) valid=13926/18414 model_shape=66x279 source_step=20 output_step=20 measured_source_step=26.1444 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 279, 2) point_valid=13926/18414 quad_valid=13581/18070 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.5176 1.7574 1.7574 0.7601 0.7601 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.5176 0.0 1.7574 1.7574 0.7601 0.7601 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8128 99.4 0.4246 0.4246 0.3866 0.3866 0.0000 0.0000 8.0e-04 0.0017 20.013 + stage0 200/4500 0.4497 111.8 0.2177 0.2177 0.2320 0.2320 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 300/4500 0.2779 67.0 0.1313 0.1313 0.1465 0.1465 0.0000 0.0000 1.0e-04 1.0e-04 20.015 + stage0 400/4500 0.2209 65.5 0.0915 0.0915 0.1294 0.1294 0.0000 0.0000 0.0000 0.0000 20.020 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0188 target=20 uv_scale=1.00094 + stage0 500/4500 0.1730 91.6 0.0705 0.0705 0.1026 0.1026 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1322 74.0 0.0526 0.0526 0.0796 0.0796 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 700/4500 0.0961 86.8 0.0434 0.0434 0.0528 0.0528 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 800/4500 0.0744 91.7 0.0378 0.0378 0.0366 0.0366 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 900/4500 0.0647 104.8 0.0349 0.0349 0.0298 0.0298 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0064 target=20 uv_scale=1.00032 + stage0 1000/4500 0.0582 97.4 0.0330 0.0330 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0500 99.1 0.0295 0.0295 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0492 109.7 0.0283 0.0283 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1300/4500 0.0478 99.4 0.0275 0.0275 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1400/4500 0.0467 110.6 0.0268 0.0268 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 1500/4500 0.0458 109.3 0.0263 0.0263 0.0194 0.0194 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0427 51.7 0.0241 0.0241 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0413 32.7 0.0237 0.0237 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0411 63.6 0.0231 0.0231 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0404 103.4 0.0226 0.0226 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0049 target=20 uv_scale=1.00025 + stage0 2000/4500 0.0398 115.4 0.0222 0.0222 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0390 91.5 0.0221 0.0221 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0389 100.3 0.0218 0.0218 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0388 105.6 0.0217 0.0217 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0387 101.5 0.0214 0.0214 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2500/4500 0.0385 106.2 0.0213 0.0213 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0375 101.6 0.0213 0.0213 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0379 104.2 0.0211 0.0211 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0380 103.8 0.0210 0.0210 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0378 114.0 0.0208 0.0208 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 3000/4500 0.0369 119.8 0.0208 0.0208 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0377 94.9 0.0208 0.0208 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0374 100.3 0.0207 0.0207 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0374 111.0 0.0206 0.0206 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0375 110.0 0.0206 0.0206 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 3500/4500 0.0372 107.9 0.0205 0.0205 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0374 111.0 0.0207 0.0207 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0377 112.3 0.0206 0.0206 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0375 115.8 0.0205 0.0205 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0376 117.3 0.0204 0.0204 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 4000/4500 0.0373 112.0 0.0203 0.0203 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0370 105.3 0.0205 0.0205 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0371 117.4 0.0204 0.0204 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0371 118.6 0.0203 0.0203 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0370 116.5 0.0202 0.0202 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 4500/4500 0.0371 116.7 0.0202 0.0202 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m44.70s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0358 0.0202 0.0202 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0358 61.2 0.0202 0.0202 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0373 119.3 0.0200 0.0200 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 200/1000 0.0374 121.0 0.0201 0.0201 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0372 131.2 0.0200 0.0200 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0370 128.9 0.0200 0.0200 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0372 129.4 0.0200 0.0200 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0372 132.1 0.0200 0.0200 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.0372 127.6 0.0200 0.0200 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 800/1000 0.0372 123.8 0.0200 0.0200 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0372 115.8 0.0200 0.0200 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0372 107.9 0.0200 0.0200 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 8.44s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0371 0.0200 0.0200 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.0371 59.7 0.0200 0.0200 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.0373 104.5 0.0200 0.0200 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0376 98.2 0.0200 0.0200 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0375 73.4 0.0200 0.0200 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0374 62.3 0.0200 0.0200 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0374 57.6 0.0200 0.0200 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0374 59.9 0.0200 0.0200 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0374 53.1 0.0200 0.0200 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0374 52.0 0.0200 0.0200 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0373 53.0 0.0200 0.0200 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0373 70.6 0.0200 0.0200 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 15.82s +[optimizer] total optimize time: 3m08.96s +[fit] peak GPU memory: 0.18 GiB +[fit2tifxyz] area_vx2=8339200 diff --git a/flat/C1/w057_spliced_p8C1/flatten_input.json b/flat/C1/w057_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..a3b2cd8b914604d6966b1a496b939b871276b52d --- /dev/null +++ b/flat/C1/w057_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w057_spliced_p8C1"}]} diff --git a/flat/C1/w057_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w057_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..972347f30f3bcbf62e6479e3cbadd85125f97564 --- /dev/null +++ b/flat/C1/w057_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2232.255859375, + 3424.96728515625, + 10040.6259765625 + ], + [ + 5836.19482421875, + 4842.23779296875, + 11038.8203125 + ] + ], + "area_vx2": 8339200.0, + "model_source": "/workspace/flat/C1/w057_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w057_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w057_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w058_spliced_p8C1.log b/flat/C1/w058_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..de06a625927e8f7f81e57e5dbcfcf3299cdcf8ee --- /dev/null +++ b/flat/C1/w058_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w058_spliced_p8C1 in 127s -> /workspace/flat/C1/w058_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w059_spliced_p8C1.log b/flat/C1/w059_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..b4412e31afdb50121565ebfd9d817c023b8ecf0d --- /dev/null +++ b/flat/C1/w059_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w059_spliced_p8C1 in 126s -> /workspace/flat/C1/w059_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w060_spliced_p8C1.log b/flat/C1/w060_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..a6e3c5baf914a98f49c4c187e6c016b5b217bcf3 --- /dev/null +++ b/flat/C1/w060_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w060_spliced_p8C1 in 183s -> /workspace/flat/C1/w060_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w060_spliced_p8C1/flatten.log b/flat/C1/w060_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..18e802c5885a0d9dc9489802e0b735cfaf8ae6dd --- /dev/null +++ b/flat/C1/w060_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w060_spliced_p8C1: 66x294, 14663/19404 valid (75.6%) step_h=22.611 step_w=28.742 step_diag=26.149 step_avg=25.924 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x294 -> 1x33x147 -> 1x17x74 -> 1x9x37 -> 1x5x19 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w060_spliced_p8C1 shape=(66, 294, 3) valid=14663/19404 model_shape=66x294 source_step=20 output_step=20 measured_source_step=25.918 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 294, 2) point_valid=14663/19404 quad_valid=14306/19045 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.2943 1.6375 1.6375 0.6568 0.6568 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.2943 0.1 1.6375 1.6375 0.6568 0.6568 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7904 125.6 0.4163 0.4163 0.3741 0.3741 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 200/4500 0.4130 112.6 0.2089 0.2089 0.2041 0.2041 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 300/4500 0.2547 125.2 0.1201 0.1201 0.1346 0.1346 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 400/4500 0.1849 142.0 0.0796 0.0796 0.1053 0.1053 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0175 target=20 uv_scale=1.00088 + stage0 500/4500 0.1398 123.2 0.0592 0.0592 0.0806 0.0806 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1020 124.2 0.0401 0.0401 0.0619 0.0619 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 700/4500 0.0632 136.3 0.0293 0.0293 0.0339 0.0339 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 800/4500 0.0456 137.2 0.0236 0.0236 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 900/4500 0.0387 156.7 0.0209 0.0209 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 1000/4500 0.0347 150.0 0.0195 0.0195 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0303 118.1 0.0172 0.0172 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0293 144.5 0.0163 0.0163 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0283 158.1 0.0157 0.0157 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0278 140.8 0.0153 0.0153 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 1500/4500 0.0271 144.3 0.0148 0.0148 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0268 154.4 0.0149 0.0149 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0263 168.5 0.0145 0.0145 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1800/4500 0.0265 155.7 0.0144 0.0144 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0260 138.5 0.0142 0.0142 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 2000/4500 0.0258 149.3 0.0140 0.0140 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0256 130.5 0.0142 0.0142 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0254 144.4 0.0140 0.0140 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0255 141.9 0.0139 0.0139 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0255 135.1 0.0138 0.0138 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 2500/4500 0.0250 141.0 0.0137 0.0137 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0253 122.6 0.0140 0.0140 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0253 114.3 0.0139 0.0139 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0252 110.9 0.0138 0.0138 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0253 107.2 0.0138 0.0138 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 3000/4500 0.0255 123.7 0.0137 0.0137 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0254 102.5 0.0141 0.0141 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0252 101.1 0.0139 0.0139 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0251 111.8 0.0138 0.0138 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0250 101.3 0.0137 0.0137 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3500/4500 0.0250 105.7 0.0136 0.0136 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0254 124.8 0.0141 0.0141 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0254 104.3 0.0139 0.0139 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0254 110.5 0.0137 0.0137 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0251 115.3 0.0136 0.0136 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0250 126.9 0.0137 0.0137 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0252 112.9 0.0140 0.0140 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0248 86.9 0.0139 0.0139 0.0109 0.0109 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0249 89.2 0.0138 0.0138 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0252 93.0 0.0137 0.0137 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0029 target=20 uv_scale=1.00015 + stage0 4500/4500 0.0251 101.7 0.0138 0.0138 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m07.81s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0246 0.0139 0.0139 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0246 90.5 0.0139 0.0139 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0249 62.6 0.0136 0.0136 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0248 55.8 0.0135 0.0135 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0248 126.6 0.0135 0.0135 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0249 99.8 0.0135 0.0135 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0249 82.3 0.0135 0.0135 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0249 71.4 0.0135 0.0135 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0249 71.5 0.0135 0.0135 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0248 72.2 0.0135 0.0135 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0248 82.0 0.0135 0.0135 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0248 83.6 0.0135 0.0135 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 13.32s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0249 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0249 83.3 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0249 77.2 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0249 75.8 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0248 97.9 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0249 68.6 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0249 47.3 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0248 96.4 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0249 104.6 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0249 82.4 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0248 66.3 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0249 51.0 0.0134 0.0134 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 14.61s +[optimizer] total optimize time: 2m35.74s +[fit] peak GPU memory: 0.18 GiB +[fit2tifxyz] area_vx2=8615600 diff --git a/flat/C1/w060_spliced_p8C1/flatten_input.json b/flat/C1/w060_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..9cd00458d5e922002966078084bec4bcac8ab450 --- /dev/null +++ b/flat/C1/w060_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w060_spliced_p8C1"}]} diff --git a/flat/C1/w060_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w060_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..21d4b3db73f4bce868ccb221422b7714e7221809 --- /dev/null +++ b/flat/C1/w060_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2203.499755859375, + 3403.51708984375, + 10041.53125 + ], + [ + 5937.76123046875, + 4868.07666015625, + 11040.775390625 + ] + ], + "area_vx2": 8615600.0, + "model_source": "/workspace/flat/C1/w060_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w060_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w060_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w061_spliced_p8C1.log b/flat/C1/w061_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..1ca9362f9ae1a530a0e7750197e62471c2a530ce --- /dev/null +++ b/flat/C1/w061_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w061_spliced_p8C1 in 121s -> /workspace/flat/C1/w061_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w061_spliced_p8C1/flatten.log b/flat/C1/w061_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..4fa99460a409abc7c25d559a00b1f34c9d00d870 --- /dev/null +++ b/flat/C1/w061_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w061_spliced_p8C1: 66x299, 14892/19734 valid (75.5%) step_h=22.625 step_w=28.712 step_diag=26.139 step_avg=25.915 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x299 -> 1x33x150 -> 1x17x75 -> 1x9x38 -> 1x5x19 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w061_spliced_p8C1 shape=(66, 299, 3) valid=14892/19734 model_shape=66x299 source_step=20 output_step=20 measured_source_step=25.9087 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 299, 2) point_valid=14892/19734 quad_valid=14530/19370 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.3154 1.6429 1.6429 0.6725 0.6725 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.3154 0.1 1.6429 1.6429 0.6725 0.6725 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7733 154.3 0.4236 0.4236 0.3496 0.3496 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 200/4500 0.4201 161.4 0.2154 0.2154 0.2047 0.2047 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 300/4500 0.2768 99.0 0.1264 0.1264 0.1503 0.1503 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 400/4500 0.2020 104.2 0.0852 0.0852 0.1168 0.1168 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0169 target=20 uv_scale=1.00085 + stage0 500/4500 0.1523 158.7 0.0638 0.0638 0.0885 0.0885 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1198 168.2 0.0461 0.0461 0.0738 0.0738 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 700/4500 0.0915 169.3 0.0377 0.0377 0.0537 0.0537 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 800/4500 0.0705 172.8 0.0323 0.0323 0.0383 0.0383 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 900/4500 0.0586 184.9 0.0293 0.0293 0.0293 0.0293 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0069 target=20 uv_scale=1.00034 + stage0 1000/4500 0.0539 175.1 0.0278 0.0278 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0477 162.4 0.0259 0.0259 0.0218 0.0218 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0451 170.8 0.0246 0.0246 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0438 171.3 0.0235 0.0235 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0425 171.4 0.0226 0.0226 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 1500/4500 0.0418 153.9 0.0220 0.0220 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0402 168.6 0.0218 0.0218 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0393 208.3 0.0210 0.0210 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0390 167.5 0.0205 0.0205 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0388 176.0 0.0201 0.0201 0.0187 0.0187 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.006 target=20 uv_scale=1.0003 + stage0 2000/4500 0.0390 177.0 0.0197 0.0197 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0376 149.2 0.0198 0.0198 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0369 167.9 0.0195 0.0195 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0366 163.6 0.0193 0.0193 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0368 120.7 0.0192 0.0192 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 2500/4500 0.0368 64.7 0.0191 0.0191 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0358 73.2 0.0191 0.0191 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0353 173.1 0.0187 0.0187 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0351 179.8 0.0184 0.0184 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0350 161.6 0.0183 0.0183 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0349 195.8 0.0183 0.0183 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0343 148.7 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0341 190.9 0.0182 0.0182 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0343 190.1 0.0182 0.0182 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0343 179.5 0.0181 0.0181 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 3500/4500 0.0347 188.2 0.0181 0.0181 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0340 184.3 0.0186 0.0186 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0340 185.2 0.0183 0.0183 0.0157 0.0157 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0340 177.1 0.0181 0.0181 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0339 95.2 0.0181 0.0181 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 4000/4500 0.0336 90.8 0.0181 0.0181 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0334 159.1 0.0183 0.0183 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0335 193.6 0.0182 0.0182 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0337 149.8 0.0181 0.0181 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0337 85.0 0.0181 0.0181 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 4500/4500 0.0337 223.6 0.0181 0.0181 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m22.38s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0325 0.0181 0.0181 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0325 191.5 0.0181 0.0181 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0336 209.2 0.0181 0.0181 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0340 71.2 0.0181 0.0181 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0348 61.1 0.0183 0.0183 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 400/1000 0.0343 42.4 0.0183 0.0183 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0345 54.2 0.0184 0.0184 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0344 103.5 0.0184 0.0184 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.0346 137.7 0.0184 0.0184 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 800/1000 0.0345 220.3 0.0184 0.0184 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0346 83.5 0.0185 0.0185 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 1000/1000 0.0343 176.2 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 11.80s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0345 0.0185 0.0185 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 1/1000 0.0345 22.6 0.0185 0.0185 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 100/1000 0.0342 231.8 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0343 161.8 0.0185 0.0185 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0343 75.3 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0343 123.9 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0343 214.1 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0343 261.3 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0343 201.9 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0343 98.6 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0343 204.5 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0343 191.5 0.0185 0.0185 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 6.79s +[optimizer] total optimize time: 1m40.97s +[fit] peak GPU memory: 0.19 GiB +[fit2tifxyz] area_vx2=8811200 diff --git a/flat/C1/w061_spliced_p8C1/flatten_input.json b/flat/C1/w061_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..3b42a9b6e517d48172ffb95c3f5fc94fe5a4c2d4 --- /dev/null +++ b/flat/C1/w061_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w061_spliced_p8C1"}]} diff --git a/flat/C1/w061_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w061_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..307078e06925e75a21910ba528e8b19e179529da --- /dev/null +++ b/flat/C1/w061_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2171.94580078125, + 3394.8642578125, + 10040.4560546875 + ], + [ + 5966.69921875, + 4878.8310546875, + 11039.2177734375 + ] + ], + "area_vx2": 8811200.0, + "model_source": "/workspace/flat/C1/w061_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w061_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w061_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w062_spliced_p8C1.log b/flat/C1/w062_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..f9a312d88ca86ee5a6699086eb1437aa07dbce52 --- /dev/null +++ b/flat/C1/w062_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w062_spliced_p8C1 in 177s -> /workspace/flat/C1/w062_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w063_spliced_p8C1.log b/flat/C1/w063_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..7174da6e01d0a29d20653b7808bedbdbfca43ff7 --- /dev/null +++ b/flat/C1/w063_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w063_spliced_p8C1 in 179s -> /workspace/flat/C1/w063_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w063_spliced_p8C1/flatten.log b/flat/C1/w063_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..e19d526f8c87c0cf496978012225a70e3b7d7d81 --- /dev/null +++ b/flat/C1/w063_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w063_spliced_p8C1: 66x308, 15320/20328 valid (75.4%) step_h=22.888 step_w=28.845 step_diag=26.268 step_avg=26.078 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x308 -> 1x33x154 -> 1x17x77 -> 1x9x39 -> 1x5x20 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w063_spliced_p8C1 shape=(66, 308, 3) valid=15320/20328 model_shape=66x308 source_step=20 output_step=20 measured_source_step=26.0713 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 308, 2) point_valid=15320/20328 quad_valid=14949/19955 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.6303 1.7993 1.7993 0.8310 0.8310 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.6303 0.0 1.7993 1.7993 0.8310 0.8310 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.9931 61.0 0.4679 0.4679 0.5250 0.5250 0.0000 0.0000 1.0e-04 2.0e-04 20.015 + stage0 200/4500 0.5786 26.7 0.2485 0.2485 0.3301 0.3301 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 300/4500 0.4191 44.6 0.1540 0.1540 0.2650 0.2650 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 400/4500 0.3548 64.4 0.1131 0.1131 0.2417 0.2417 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0179 target=20 uv_scale=1.00089 + stage0 500/4500 0.2919 72.0 0.0930 0.0930 0.1989 0.1989 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.2332 106.1 0.0734 0.0734 0.1598 0.1598 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 700/4500 0.1911 115.4 0.0653 0.0653 0.1258 0.1258 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 800/4500 0.1692 79.6 0.0618 0.0618 0.1074 0.1074 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 900/4500 0.1584 108.5 0.0596 0.0596 0.0989 0.0989 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0062 target=20 uv_scale=1.00031 + stage0 1000/4500 0.1525 118.2 0.0585 0.0585 0.0940 0.0940 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.1415 100.7 0.0557 0.0557 0.0858 0.0858 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1200/4500 0.1378 106.5 0.0549 0.0549 0.0830 0.0830 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.1349 131.9 0.0537 0.0537 0.0812 0.0812 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.1331 128.9 0.0533 0.0533 0.0797 0.0797 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 1500/4500 0.1317 120.8 0.0526 0.0526 0.0791 0.0791 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1307 112.4 0.0535 0.0535 0.0772 0.0772 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.1305 129.8 0.0530 0.0530 0.0774 0.0774 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.1287 112.5 0.0524 0.0524 0.0763 0.0763 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1282 109.1 0.0521 0.0521 0.0760 0.0760 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 2000/4500 0.1276 108.0 0.0518 0.0518 0.0758 0.0758 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1272 106.1 0.0529 0.0529 0.0743 0.0743 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.1265 136.6 0.0523 0.0523 0.0743 0.0743 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.1260 118.2 0.0518 0.0518 0.0742 0.0742 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.1257 114.7 0.0514 0.0514 0.0742 0.0742 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0041 target=20 uv_scale=1.00021 + stage0 2500/4500 0.1254 128.3 0.0511 0.0511 0.0742 0.0742 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.1260 122.1 0.0528 0.0528 0.0733 0.0733 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.1255 115.9 0.0522 0.0522 0.0733 0.0733 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.1253 131.1 0.0517 0.0517 0.0736 0.0736 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.1251 135.8 0.0514 0.0514 0.0737 0.0737 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 3000/4500 0.1244 127.0 0.0508 0.0508 0.0736 0.0736 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1250 87.3 0.0522 0.0522 0.0728 0.0728 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.1246 110.9 0.0516 0.0516 0.0729 0.0729 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.1242 109.5 0.0511 0.0511 0.0731 0.0731 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.1240 122.3 0.0509 0.0509 0.0731 0.0731 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 3500/4500 0.1241 104.4 0.0505 0.0505 0.0736 0.0736 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1244 123.8 0.0520 0.0520 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.1239 135.7 0.0515 0.0515 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.1237 122.7 0.0511 0.0511 0.0726 0.0726 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1237 120.3 0.0509 0.0509 0.0728 0.0728 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 4000/4500 0.1236 121.1 0.0506 0.0506 0.0730 0.0730 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1245 101.3 0.0519 0.0519 0.0726 0.0726 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.1244 83.0 0.0515 0.0515 0.0729 0.0729 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.1238 79.5 0.0511 0.0511 0.0727 0.0727 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.1237 121.7 0.0510 0.0510 0.0728 0.0728 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4500/4500 0.1239 117.7 0.0505 0.0505 0.0734 0.0734 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m18.22s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1186 0.0506 0.0506 0.0680 0.0680 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1186 33.4 0.0506 0.0506 0.0680 0.0680 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1229 125.2 0.0502 0.0502 0.0727 0.0727 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.1227 122.9 0.0501 0.0501 0.0726 0.0726 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.1224 113.9 0.0501 0.0501 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.1225 126.9 0.0500 0.0500 0.0725 0.0725 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.1224 127.5 0.0499 0.0499 0.0725 0.0725 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.1223 119.5 0.0499 0.0499 0.0725 0.0725 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.1223 103.5 0.0498 0.0498 0.0725 0.0725 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.1222 113.7 0.0498 0.0498 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.1221 86.7 0.0498 0.0498 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.1223 38.9 0.0497 0.0497 0.0725 0.0725 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 10.91s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1223 0.0497 0.0497 0.0725 0.0725 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.1223 20.0 0.0497 0.0497 0.0725 0.0725 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.1222 59.0 0.0497 0.0497 0.0725 0.0725 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.1221 78.2 0.0497 0.0497 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.1221 112.2 0.0497 0.0497 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.1221 105.6 0.0497 0.0497 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.1221 95.2 0.0497 0.0497 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.1221 100.8 0.0497 0.0497 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.1220 99.1 0.0496 0.0496 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.1220 131.9 0.0496 0.0496 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.1220 123.4 0.0496 0.0496 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.1220 67.7 0.0496 0.0496 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 11.21s +[optimizer] total optimize time: 2m40.34s +[fit] peak GPU memory: 0.19 GiB +[fit2tifxyz] area_vx2=9152800 diff --git a/flat/C1/w063_spliced_p8C1/flatten_input.json b/flat/C1/w063_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..afc037c47fc1d824e44e28500eb866fb8e6feadd --- /dev/null +++ b/flat/C1/w063_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w063_spliced_p8C1"}]} diff --git a/flat/C1/w063_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w063_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..43f2eebe7b4301b0ec178aa5f3e78f0a2be1ad40 --- /dev/null +++ b/flat/C1/w063_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2116.299072265625, + 3373.504638671875, + 10044.849609375 + ], + [ + 6016.8447265625, + 4904.498046875, + 11037.9013671875 + ] + ], + "area_vx2": 9152800.0, + "model_source": "/workspace/flat/C1/w063_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w063_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w063_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w064_spliced_p8C1.log b/flat/C1/w064_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..d9875533a2a8a98880f0ca01f82d26e213034c54 --- /dev/null +++ b/flat/C1/w064_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w064_spliced_p8C1 in 200s -> /workspace/flat/C1/w064_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w064_spliced_p8C1/flatten.log b/flat/C1/w064_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..85fc9259249337bc73fe7770b97e2e2e4b3f2f9b --- /dev/null +++ b/flat/C1/w064_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w064_spliced_p8C1: 66x313, 15572/20658 valid (75.4%) step_h=23.040 step_w=29.122 step_diag=26.461 step_avg=26.282 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x313 -> 1x33x157 -> 1x17x79 -> 1x9x40 -> 1x5x20 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w064_spliced_p8C1 shape=(66, 313, 3) valid=15572/20658 model_shape=66x313 source_step=20 output_step=20 measured_source_step=26.2735 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 313, 2) point_valid=15572/20658 quad_valid=15197/20280 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.9681 1.9431 1.9431 1.0251 1.0251 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.9681 0.0 1.9431 1.9431 1.0251 1.0251 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.1520 73.4 0.5029 0.5029 0.6491 0.6491 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 200/4500 0.7824 82.0 0.2724 0.2724 0.5098 0.5098 0.0000 0.0000 1.0e-04 2.0e-04 20.018 + stage0 300/4500 0.5675 77.7 0.1738 0.1738 0.3936 0.3936 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 400/4500 0.4831 99.4 0.1323 0.1323 0.3507 0.3507 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0187 target=20 uv_scale=1.00094 + stage0 500/4500 0.4209 93.8 0.1102 0.1102 0.3107 0.3107 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.3954 122.1 0.0964 0.0964 0.2990 0.2990 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 700/4500 0.3346 133.2 0.0883 0.0883 0.2463 0.2463 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 800/4500 0.2929 123.7 0.0836 0.0836 0.2093 0.2093 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 900/4500 0.2672 118.0 0.0813 0.0813 0.1859 0.1859 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.009 target=20 uv_scale=1.00045 + stage0 1000/4500 0.2512 157.4 0.0802 0.0802 0.1710 0.1710 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2398 141.0 0.0779 0.0779 0.1619 0.1619 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1200/4500 0.2327 123.2 0.0774 0.0774 0.1553 0.1553 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1300/4500 0.2242 106.9 0.0768 0.0768 0.1474 0.1474 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1400/4500 0.2194 119.3 0.0764 0.0764 0.1429 0.1429 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0075 target=20 uv_scale=1.00038 + stage0 1500/4500 0.2182 121.3 0.0764 0.0764 0.1419 0.1419 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.2095 102.7 0.0773 0.0773 0.1323 0.1323 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.2062 67.6 0.0770 0.0770 0.1293 0.1293 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.2058 126.4 0.0768 0.0768 0.1289 0.1289 0.0000 0.0000 1.0e-04 1.0e-04 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.2011 105.6 0.0763 0.0763 0.1248 0.1248 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2000/4500 0.1994 115.9 0.0761 0.0761 0.1234 0.1234 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1946 105.0 0.0774 0.0774 0.1172 0.1172 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.1945 133.0 0.0770 0.0770 0.1175 0.1175 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.1940 137.4 0.0766 0.0766 0.1173 0.1173 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.1925 137.9 0.0764 0.0764 0.1161 0.1161 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 2500/4500 0.1925 117.3 0.0763 0.0763 0.1163 0.1163 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.1907 83.0 0.0776 0.0776 0.1131 0.1131 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.1902 41.9 0.0772 0.0772 0.1130 0.1130 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.1898 35.0 0.0770 0.0770 0.1128 0.1128 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.1896 65.0 0.0769 0.0769 0.1127 0.1127 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 3000/4500 0.1912 113.7 0.0768 0.0768 0.1143 0.1143 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 3100/4500 0.1873 107.8 0.0781 0.0781 0.1092 0.1092 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.1871 153.3 0.0777 0.0777 0.1093 0.1093 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.1871 152.6 0.0774 0.0774 0.1097 0.1097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.1869 158.1 0.0771 0.0771 0.1098 0.1098 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0053 target=20 uv_scale=1.00027 + stage0 3500/4500 0.1888 79.5 0.0770 0.0770 0.1118 0.1118 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1854 58.4 0.0780 0.0780 0.1074 0.1074 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.1858 69.1 0.0777 0.0777 0.1081 0.1081 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.1863 106.1 0.0775 0.0775 0.1088 0.1088 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1867 133.1 0.0773 0.0773 0.1094 0.1094 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4000/4500 0.1869 134.2 0.0772 0.0772 0.1097 0.1097 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1822 114.9 0.0779 0.0779 0.1043 0.1043 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 4200/4500 0.1829 116.1 0.0774 0.0774 0.1055 0.1055 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.1838 135.7 0.0770 0.0770 0.1068 0.1068 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.1847 139.1 0.0767 0.0767 0.1080 0.1080 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 4500/4500 0.1846 131.1 0.0767 0.0767 0.1079 0.1079 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m28.74s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1770 0.0767 0.0767 0.1003 0.1003 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1770 90.6 0.0767 0.0767 0.1003 0.1003 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1830 130.2 0.0761 0.0761 0.1070 0.1070 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.1815 134.0 0.0760 0.0760 0.1056 0.1056 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.1820 114.2 0.0759 0.0759 0.1061 0.1061 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.1824 120.3 0.0759 0.0759 0.1065 0.1065 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.1825 129.3 0.0758 0.0758 0.1066 0.1066 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.1823 131.8 0.0758 0.0758 0.1066 0.1066 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.1819 139.3 0.0757 0.0757 0.1062 0.1062 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.1817 136.2 0.0756 0.0756 0.1061 0.1061 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.1814 131.9 0.0756 0.0756 0.1058 0.1058 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.1813 155.1 0.0755 0.0755 0.1058 0.1058 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 8.04s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1814 0.0755 0.0755 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.1814 56.4 0.0755 0.0755 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.1814 127.6 0.0754 0.0754 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.1813 117.5 0.0754 0.0754 0.1059 0.1059 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.1814 121.3 0.0754 0.0754 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.1813 139.3 0.0754 0.0754 0.1059 0.1059 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.1814 140.9 0.0754 0.0754 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.1813 145.7 0.0754 0.0754 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.1813 139.2 0.0753 0.0753 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.1813 138.0 0.0753 0.0753 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.1812 136.6 0.0753 0.0753 0.1059 0.1059 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.1813 133.8 0.0753 0.0753 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 7.80s +[optimizer] total optimize time: 2m44.57s +[fit] peak GPU memory: 0.20 GiB +[fit2tifxyz] area_vx2=9464000 diff --git a/flat/C1/w064_spliced_p8C1/flatten_input.json b/flat/C1/w064_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..08d8e9a320c39d34f2aea61de5511262d586e954 --- /dev/null +++ b/flat/C1/w064_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w064_spliced_p8C1"}]} diff --git a/flat/C1/w064_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w064_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3b4e3b592b3f4091a2ea212e021971a2bd3d9225 --- /dev/null +++ b/flat/C1/w064_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2119.593017578125, + 3355.70361328125, + 10043.048828125 + ], + [ + 6041.85400390625, + 4914.267578125, + 11039.7578125 + ] + ], + "area_vx2": 9464000.0, + "model_source": "/workspace/flat/C1/w064_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w064_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w064_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w065_spliced_p8C1.log b/flat/C1/w065_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..61773e18bc01968f4e91fd8fae4656093df4ce31 --- /dev/null +++ b/flat/C1/w065_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w065_spliced_p8C1 in 191s -> /workspace/flat/C1/w065_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w065_spliced_p8C1.retried b/flat/C1/w065_spliced_p8C1.retried new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/w066_spliced_p8C1.log b/flat/C1/w066_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..ed0f8ad1552900fa1141acfbfecd8d36ff337625 --- /dev/null +++ b/flat/C1/w066_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w066_spliced_p8C1 in 265s -> /workspace/flat/C1/w066_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w066_spliced_p8C1/flatten.log b/flat/C1/w066_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..c41aee82d6fa52f443adbc9f6ffa34f9c7efbc97 --- /dev/null +++ b/flat/C1/w066_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w066_spliced_p8C1: 66x323, 16062/21318 valid (75.3%) step_h=23.066 step_w=29.603 step_diag=26.813 step_avg=26.586 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x323 -> 1x33x162 -> 1x17x81 -> 1x9x41 -> 1x5x21 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w066_spliced_p8C1 shape=(66, 323, 3) valid=16062/21318 model_shape=66x323 source_step=20 output_step=20 measured_source_step=26.5785 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 323, 2) point_valid=16062/21318 quad_valid=15675/20930 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.6715 2.2716 2.2716 1.3999 1.3999 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.6715 0.0 2.2716 2.2716 1.3999 1.3999 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.5041 122.9 0.5635 0.5635 0.9406 0.9406 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 200/4500 1.0331 146.1 0.3070 0.3070 0.7232 0.7232 0.0000 0.0000 0.0014 0.0028 20.012 + stage0 300/4500 0.8144 121.1 0.2042 0.2042 0.6101 0.6101 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.6704 119.8 0.1565 0.1565 0.5139 0.5139 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0206 target=20 uv_scale=1.00103 + stage0 500/4500 0.6541 153.5 0.1349 0.1349 0.5192 0.5192 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.5568 140.4 0.1221 0.1221 0.4347 0.4347 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 700/4500 0.5030 103.6 0.1153 0.1153 0.3877 0.3877 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 800/4500 0.4508 117.2 0.1101 0.1101 0.3407 0.3407 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 900/4500 0.4067 132.3 0.1059 0.1059 0.3008 0.3008 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0126 target=20 uv_scale=1.00063 + stage0 1000/4500 0.3759 102.3 0.1028 0.1028 0.2731 0.2731 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.3384 61.8 0.1001 0.1001 0.2383 0.2383 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1200/4500 0.3214 56.0 0.0985 0.0985 0.2229 0.2229 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1300/4500 0.3043 60.4 0.0965 0.0965 0.2078 0.2078 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1400/4500 0.2914 63.6 0.0946 0.0946 0.1969 0.1969 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0075 target=20 uv_scale=1.00038 + stage0 1500/4500 0.2786 78.6 0.0923 0.0923 0.1863 0.1863 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.2678 81.5 0.0904 0.0904 0.1773 0.1773 0.0000 0.0000 1.0e-04 1.0e-04 20.009 + stage0 1700/4500 0.2505 98.3 0.0888 0.0888 0.1618 0.1618 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.2423 98.9 0.0875 0.0875 0.1548 0.1548 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.2350 106.1 0.0865 0.0865 0.1485 0.1485 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 2000/4500 0.2244 107.9 0.0855 0.0855 0.1389 0.1389 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 2100/4500 0.2159 80.6 0.0868 0.0868 0.1290 0.1290 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.2108 124.0 0.0855 0.0855 0.1253 0.1253 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.2050 149.6 0.0846 0.0846 0.1204 0.1204 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.2018 32.6 0.0842 0.0842 0.1176 0.1176 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 2500/4500 0.1986 27.7 0.0838 0.0838 0.1147 0.1147 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.1902 108.4 0.0845 0.0845 0.1057 0.1057 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.1870 117.4 0.0838 0.0838 0.1032 0.1032 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.1844 88.6 0.0832 0.0832 0.1012 0.1012 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.1820 140.7 0.0827 0.0827 0.0993 0.0993 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3000/4500 0.1796 125.5 0.0821 0.0821 0.0975 0.0975 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1766 120.5 0.0826 0.0826 0.0940 0.0940 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.1751 189.9 0.0821 0.0821 0.0930 0.0930 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.1732 201.0 0.0816 0.0816 0.0916 0.0916 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.1725 199.5 0.0811 0.0811 0.0914 0.0914 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 3500/4500 0.1718 224.2 0.0806 0.0806 0.0912 0.0912 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1718 234.0 0.0826 0.0826 0.0891 0.0891 0.0000 0.0000 1.0e-04 2.0e-04 20.003 + stage0 3700/4500 0.1720 200.8 0.0823 0.0823 0.0897 0.0897 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.1715 206.6 0.0822 0.0822 0.0893 0.0893 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1711 215.2 0.0818 0.0818 0.0893 0.0893 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 4000/4500 0.1699 204.8 0.0815 0.0815 0.0884 0.0884 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1672 155.8 0.0831 0.0831 0.0840 0.0840 0.0000 0.0000 0.0000 0.0000 20.001 + stage0 4200/4500 0.1665 193.0 0.0825 0.0825 0.0840 0.0840 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 4300/4500 0.1672 85.1 0.0820 0.0820 0.0852 0.0852 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.1657 111.4 0.0816 0.0816 0.0841 0.0841 0.0000 0.0000 0.0000 0.0000 20.002 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0028 target=20 uv_scale=1.00014 + stage0 4500/4500 0.1652 106.8 0.0811 0.0811 0.0840 0.0840 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m23.35s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1614 0.0811 0.0811 0.0803 0.0803 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1615 72.9 0.0811 0.0811 0.0803 0.0803 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1637 169.5 0.0801 0.0801 0.0835 0.0835 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.1639 192.8 0.0798 0.0798 0.0841 0.0841 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.1638 181.9 0.0797 0.0797 0.0841 0.0841 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.1634 190.1 0.0796 0.0796 0.0838 0.0838 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.1628 196.9 0.0794 0.0794 0.0834 0.0834 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.1630 172.1 0.0792 0.0792 0.0837 0.0837 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.1615 169.1 0.0791 0.0791 0.0823 0.0823 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.1621 175.1 0.0789 0.0789 0.0832 0.0832 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.1616 166.9 0.0787 0.0787 0.0829 0.0829 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.1605 157.4 0.0785 0.0785 0.0820 0.0820 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 5.98s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1604 0.0785 0.0785 0.0819 0.0819 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.1604 89.9 0.0785 0.0785 0.0819 0.0819 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.1600 143.5 0.0784 0.0784 0.0816 0.0816 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.1598 173.4 0.0784 0.0784 0.0815 0.0815 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.1598 108.8 0.0783 0.0783 0.0815 0.0815 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.1598 203.0 0.0783 0.0783 0.0816 0.0816 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.1596 220.2 0.0782 0.0782 0.0814 0.0814 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.1594 207.6 0.0782 0.0782 0.0812 0.0812 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.1594 209.9 0.0781 0.0781 0.0813 0.0813 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.1593 201.0 0.0780 0.0780 0.0812 0.0812 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.1591 218.2 0.0780 0.0780 0.0811 0.0811 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.1590 213.5 0.0779 0.0779 0.0811 0.0811 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 5.76s +[optimizer] total optimize time: 3m35.09s +[fit] peak GPU memory: 0.21 GiB +[fit2tifxyz] area_vx2=10020800 diff --git a/flat/C1/w066_spliced_p8C1/flatten_input.json b/flat/C1/w066_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..eb0f6ea8abaf997fedb2a8bc1707730f516125a0 --- /dev/null +++ b/flat/C1/w066_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w066_spliced_p8C1"}]} diff --git a/flat/C1/w066_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w066_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..a9d2f365f1eeb5881a5c114754cc399f6a00401a --- /dev/null +++ b/flat/C1/w066_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1940.31103515625, + 3341.967041015625, + 10038.982421875 + ], + [ + 6152.78466796875, + 4947.73095703125, + 11040.1796875 + ] + ], + "area_vx2": 10020800.0, + "model_source": "/workspace/flat/C1/w066_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w066_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w066_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w067_spliced_p8C1.log b/flat/C1/w067_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..3b80e5f01ca28891f1e8b52c482175f5db7af142 --- /dev/null +++ b/flat/C1/w067_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w067_spliced_p8C1 in 264s -> /workspace/flat/C1/w067_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w067_spliced_p8C1/flatten.log b/flat/C1/w067_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..bd81074384106fb3af8bf6a36926208068968a60 --- /dev/null +++ b/flat/C1/w067_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w067_spliced_p8C1: 66x328, 16306/21648 valid (75.3%) step_h=23.100 step_w=29.762 step_diag=26.893 step_avg=26.675 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x328 -> 1x33x164 -> 1x17x82 -> 1x9x41 -> 1x5x21 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w067_spliced_p8C1 shape=(66, 328, 3) valid=16306/21648 model_shape=66x328 source_step=20 output_step=20 measured_source_step=26.6699 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 328, 2) point_valid=16306/21648 quad_valid=15920/21255 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.9504 2.3957 2.3957 1.5547 1.5547 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.9504 0.0 2.3957 2.3957 1.5547 1.5547 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.5789 152.3 0.6012 0.6012 0.9775 0.9775 0.0000 0.0000 1.0e-04 2.0e-04 19.999 + stage0 200/4500 1.1080 136.1 0.3359 0.3359 0.7720 0.7720 0.0000 0.0000 0.0000 1.0e-04 20.004 + stage0 300/4500 0.9375 152.0 0.2244 0.2244 0.7130 0.7130 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 400/4500 0.8625 116.8 0.1721 0.1721 0.6904 0.6904 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=500 avg_step=20.019 target=20 uv_scale=1.00095 + stage0 500/4500 0.7614 129.1 0.1472 0.1472 0.6142 0.6142 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.7045 140.8 0.1315 0.1315 0.5722 0.5722 0.0000 0.0000 4.0e-04 7.0e-04 20.026 + stage0 700/4500 0.6578 153.5 0.1271 0.1271 0.5306 0.5306 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 800/4500 0.5936 92.8 0.1214 0.1214 0.4722 0.4722 0.0000 0.0000 0.0000 0.0000 20.024 + stage0 900/4500 0.5360 141.0 0.1170 0.1170 0.4189 0.4189 0.0000 0.0000 0.0000 1.0e-04 20.022 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0178 target=20 uv_scale=1.00089 + stage0 1000/4500 0.4614 142.7 0.1143 0.1143 0.3471 0.3471 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.4118 71.5 0.1084 0.1084 0.3033 0.3033 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 1200/4500 0.3734 54.8 0.1052 0.1052 0.2683 0.2683 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1300/4500 0.3424 65.7 0.1023 0.1023 0.2401 0.2401 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1400/4500 0.3137 67.5 0.0999 0.0999 0.2138 0.2138 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0094 target=20 uv_scale=1.00047 + stage0 1500/4500 0.2922 61.9 0.0979 0.0979 0.1943 0.1943 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.2602 72.9 0.0948 0.0948 0.1654 0.1654 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1700/4500 0.2534 83.7 0.0935 0.0935 0.1599 0.1599 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.2464 86.4 0.0932 0.0932 0.1532 0.1532 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.2408 95.2 0.0924 0.0924 0.1484 0.1484 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 2000/4500 0.2346 101.8 0.0909 0.0909 0.1437 0.1437 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.2247 75.2 0.0913 0.0913 0.1334 0.1334 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.2227 133.6 0.0905 0.0905 0.1321 0.1321 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.2182 154.7 0.0898 0.0898 0.1283 0.1283 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.2152 30.9 0.0884 0.0884 0.1268 0.1268 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 2500/4500 0.2110 27.9 0.0871 0.0871 0.1239 0.1239 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.2065 112.4 0.0877 0.0877 0.1188 0.1188 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.2034 125.7 0.0865 0.0865 0.1169 0.1169 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.2030 98.5 0.0866 0.0866 0.1164 0.1164 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.2025 130.3 0.0853 0.0853 0.1171 0.1171 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 3000/4500 0.1997 111.1 0.0843 0.0843 0.1155 0.1155 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1948 118.5 0.0855 0.0855 0.1093 0.1093 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 3200/4500 0.1953 175.2 0.0847 0.0847 0.1106 0.1106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.1944 209.1 0.0836 0.0836 0.1108 0.1108 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.1945 184.6 0.0832 0.0832 0.1112 0.1112 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0041 target=20 uv_scale=1.00021 + stage0 3500/4500 0.1914 168.6 0.0826 0.0826 0.1088 0.1088 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1915 174.4 0.0838 0.0838 0.1077 0.1077 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.1918 177.0 0.0834 0.0834 0.1083 0.1083 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.1913 195.7 0.0827 0.0827 0.1086 0.1086 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1861 207.4 0.0832 0.0832 0.1029 0.1029 0.0000 0.0000 0.0000 0.0000 20.002 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0025 target=20 uv_scale=1.00013 + stage0 4000/4500 0.1884 183.1 0.0839 0.0839 0.1046 0.1046 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1856 101.1 0.0846 0.0846 0.1011 0.1011 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 4200/4500 0.1851 92.1 0.0840 0.0840 0.1011 0.1011 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.1819 119.9 0.0835 0.0835 0.0984 0.0984 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 4400/4500 0.1844 116.4 0.0826 0.0826 0.1018 0.1018 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0026 target=20 uv_scale=1.00013 + stage0 4500/4500 0.1815 185.8 0.0823 0.0823 0.0992 0.0992 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 3m23.57s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1777 0.0823 0.0823 0.0953 0.0953 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1777 92.1 0.0823 0.0823 0.0953 0.0953 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1803 188.8 0.0806 0.0806 0.0997 0.0997 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.1803 198.2 0.0802 0.0802 0.1001 0.1001 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.1803 193.2 0.0799 0.0799 0.1004 0.1004 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.1797 221.0 0.0796 0.0796 0.1001 0.1001 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.1791 171.9 0.0794 0.0794 0.0997 0.0997 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.1788 197.3 0.0793 0.0793 0.0996 0.0996 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.1784 184.4 0.0791 0.0791 0.0993 0.0993 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.1783 208.1 0.0789 0.0789 0.0994 0.0994 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.1778 150.4 0.0788 0.0788 0.0990 0.0990 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.1776 197.1 0.0787 0.0787 0.0989 0.0989 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 5.60s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1775 0.0787 0.0787 0.0989 0.0989 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.1775 89.0 0.0787 0.0787 0.0989 0.0989 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.1774 161.8 0.0786 0.0786 0.0988 0.0988 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.1772 113.3 0.0785 0.0785 0.0987 0.0987 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.1772 164.2 0.0784 0.0784 0.0988 0.0988 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.1771 176.1 0.0784 0.0784 0.0987 0.0987 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.1770 208.7 0.0783 0.0783 0.0986 0.0986 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.1769 200.5 0.0783 0.0783 0.0986 0.0986 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.1767 230.0 0.0782 0.0782 0.0985 0.0985 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.1766 204.4 0.0782 0.0782 0.0984 0.0984 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.1764 204.3 0.0781 0.0781 0.0983 0.0983 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.1764 163.0 0.0781 0.0781 0.0983 0.0983 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 6.03s +[optimizer] total optimize time: 3m35.21s +[fit] peak GPU memory: 0.22 GiB +[fit2tifxyz] area_vx2=10226000 diff --git a/flat/C1/w067_spliced_p8C1/flatten_input.json b/flat/C1/w067_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..de49e058ccccdcce627bb4769186f962b132995a --- /dev/null +++ b/flat/C1/w067_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w067_spliced_p8C1"}]} diff --git a/flat/C1/w067_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w067_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e6e65cc64625b86fdc463e93579627c7710aaa68 --- /dev/null +++ b/flat/C1/w067_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1924.047607421875, + 3317.52197265625, + 10043.7890625 + ], + [ + 6214.00537109375, + 4962.67138671875, + 11042.3671875 + ] + ], + "area_vx2": 10226000.0, + "model_source": "/workspace/flat/C1/w067_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w067_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w067_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w068_spliced_p8C1.log b/flat/C1/w068_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..e82ed7e7cfaa07e1abdab4bbb095b5ffa8e51464 --- /dev/null +++ b/flat/C1/w068_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w068_spliced_p8C1 in 264s -> /workspace/flat/C1/w068_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w069_spliced_p8C1.log b/flat/C1/w069_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..5b00e473b336cbf0c730d2cf9aba9867b263e522 --- /dev/null +++ b/flat/C1/w069_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w069_spliced_p8C1 in 135s -> /workspace/flat/C1/w069_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w070_spliced_p8C1.log b/flat/C1/w070_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..5974ad16ec1b7e9bca567a5f4dd248bf668e8456 --- /dev/null +++ b/flat/C1/w070_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w070_spliced_p8C1 in 133s -> /workspace/flat/C1/w070_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w070_spliced_p8C1/flatten.log b/flat/C1/w070_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..f9282813f5c47a1802de97479e521147bdac3950 --- /dev/null +++ b/flat/C1/w070_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w070_spliced_p8C1: 66x342, 17013/22572 valid (75.4%) step_h=23.006 step_w=29.708 step_diag=26.823 step_avg=26.603 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x342 -> 1x33x171 -> 1x17x86 -> 1x9x43 -> 1x5x22 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w070_spliced_p8C1 shape=(66, 342, 3) valid=17013/22572 model_shape=66x342 source_step=20 output_step=20 measured_source_step=26.5967 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 342, 2) point_valid=17013/22572 quad_valid=16605/22165 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.7472 2.2958 2.2958 1.4514 1.4514 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.7472 0.1 2.2958 2.2958 1.4514 1.4514 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.6458 179.0 0.5953 0.5953 1.0503 1.0503 0.0000 0.0000 1.0e-04 1.0e-04 20.011 + stage0 200/4500 1.1193 177.2 0.3469 0.3469 0.7724 0.7724 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 300/4500 0.8940 190.9 0.2377 0.2377 0.6563 0.6563 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 400/4500 0.8318 222.5 0.1861 0.1861 0.6364 0.6364 0.0000 0.0000 0.0046 0.0093 20.020 +[optimizer] stage0: flatten renorm step=500 avg_step=20.022 target=20 uv_scale=1.0011 + stage0 500/4500 0.7368 229.5 0.1592 0.1592 0.5777 0.5777 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.6324 221.6 0.1356 0.1356 0.4965 0.4965 0.0000 0.0000 1.0e-04 2.0e-04 20.025 + stage0 700/4500 0.5977 225.9 0.1287 0.1287 0.4690 0.4690 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 800/4500 0.5350 178.5 0.1219 0.1219 0.4130 0.4130 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 900/4500 0.4897 175.0 0.1156 0.1156 0.3740 0.3740 0.0000 0.0000 0.0000 0.0000 20.020 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0141 target=20 uv_scale=1.00071 + stage0 1000/4500 0.4298 211.3 0.1105 0.1105 0.3192 0.3192 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.3794 201.8 0.1052 0.1052 0.2742 0.2742 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1200/4500 0.3501 223.7 0.1029 0.1029 0.2473 0.2473 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1300/4500 0.3327 201.9 0.1007 0.1007 0.2320 0.2320 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1400/4500 0.3184 100.3 0.0991 0.0991 0.2193 0.2193 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 1500/4500 0.3068 240.0 0.0979 0.0979 0.2089 0.2089 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.2884 114.3 0.0949 0.0949 0.1935 0.1935 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.2824 142.6 0.0937 0.0937 0.1887 0.1887 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.2766 106.7 0.0926 0.0926 0.1841 0.1841 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.2717 103.9 0.0915 0.0915 0.1802 0.1802 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2000/4500 0.2661 94.9 0.0905 0.0905 0.1756 0.1756 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.2571 92.0 0.0893 0.0893 0.1678 0.1678 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.2553 129.7 0.0884 0.0884 0.1669 0.1669 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.2477 77.4 0.0879 0.0879 0.1598 0.1598 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.2476 76.1 0.0875 0.0875 0.1601 0.1601 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2500/4500 0.2470 33.4 0.0870 0.0870 0.1599 0.1599 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.2364 36.8 0.0860 0.0860 0.1504 0.1504 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.2327 92.9 0.0850 0.0850 0.1477 0.1477 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.2317 55.6 0.0846 0.0846 0.1471 0.1471 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.2298 112.1 0.0838 0.0838 0.1459 0.1459 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 3000/4500 0.2287 157.0 0.0831 0.0831 0.1456 0.1456 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.2247 62.1 0.0828 0.0828 0.1419 0.1419 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.2209 153.8 0.0818 0.0818 0.1392 0.1392 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.2171 93.0 0.0809 0.0809 0.1362 0.1362 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.2178 73.3 0.0805 0.0805 0.1368 0.1368 0.0000 0.0000 3.0e-04 5.0e-04 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 3500/4500 0.2153 173.5 0.0794 0.0794 0.1360 0.1360 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.2128 110.0 0.0806 0.0806 0.1322 0.1322 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.2110 75.3 0.0800 0.0800 0.1310 0.1310 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.2080 118.3 0.0793 0.0793 0.1288 0.1288 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.2062 130.1 0.0785 0.0785 0.1277 0.1277 0.0000 0.0000 0.0000 1.0e-04 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0031 target=20 uv_scale=1.00016 + stage0 4000/4500 0.2045 62.1 0.0780 0.0780 0.1264 0.1264 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.2026 137.7 0.0790 0.0790 0.1236 0.1236 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.2011 80.1 0.0781 0.0781 0.1230 0.1230 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.1961 66.2 0.0776 0.0776 0.1185 0.1185 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 4400/4500 0.2002 165.3 0.0773 0.0773 0.1229 0.1229 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0064 target=20 uv_scale=1.00032 + stage0 4500/4500 0.2008 168.7 0.0771 0.0771 0.1237 0.1237 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m43.14s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1914 0.0771 0.0771 0.1142 0.1142 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1914 15.3 0.0771 0.0771 0.1142 0.1142 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1952 65.0 0.0756 0.0756 0.1196 0.1196 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.1953 161.0 0.0751 0.0751 0.1202 0.1202 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.1946 126.8 0.0748 0.0748 0.1197 0.1197 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.1942 82.5 0.0745 0.0745 0.1196 0.1196 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.1940 168.5 0.0742 0.0742 0.1198 0.1198 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.1927 167.9 0.0739 0.0739 0.1189 0.1189 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.1923 72.5 0.0735 0.0735 0.1188 0.1188 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 800/1000 0.1918 91.3 0.0732 0.0732 0.1186 0.1186 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.1904 182.0 0.0728 0.0728 0.1175 0.1175 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.1894 132.2 0.0725 0.0725 0.1169 0.1169 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 9.44s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1898 0.0725 0.0725 0.1173 0.1173 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.1898 21.6 0.0725 0.0725 0.1173 0.1173 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.1890 105.3 0.0724 0.0724 0.1166 0.1166 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.1890 163.0 0.0723 0.0723 0.1167 0.1167 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.1886 180.7 0.0722 0.0722 0.1164 0.1164 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.1886 72.1 0.0721 0.0721 0.1165 0.1165 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.1882 142.3 0.0720 0.0720 0.1162 0.1162 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.1880 167.1 0.0719 0.0719 0.1161 0.1161 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.1878 167.0 0.0718 0.0718 0.1160 0.1160 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.1874 78.4 0.0718 0.0718 0.1156 0.1156 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.1873 182.9 0.0717 0.0717 0.1156 0.1156 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.1872 128.3 0.0716 0.0716 0.1157 0.1157 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 8.33s +[optimizer] total optimize time: 2m00.91s +[fit] peak GPU memory: 0.22 GiB +[fit2tifxyz] area_vx2=10622000 diff --git a/flat/C1/w070_spliced_p8C1/flatten_input.json b/flat/C1/w070_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..ec7ccfff8eb438b016cb65f58563041506c89296 --- /dev/null +++ b/flat/C1/w070_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w070_spliced_p8C1"}]} diff --git a/flat/C1/w070_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w070_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..01ad606928b0aea0491e3c760f85e09ef1eddf3a --- /dev/null +++ b/flat/C1/w070_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1868.629150390625, + 3297.642578125, + 10042.8076171875 + ], + [ + 6300.4921875, + 5002.880859375, + 11041.1494140625 + ] + ], + "area_vx2": 10622000.0, + "model_source": "/workspace/flat/C1/w070_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w070_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w070_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w071_spliced_p8C1.log b/flat/C1/w071_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..4c7881d43df797876a476b271827a675a7531c54 --- /dev/null +++ b/flat/C1/w071_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w071_spliced_p8C1 in 244s -> /workspace/flat/C1/w071_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w071_spliced_p8C1.retried b/flat/C1/w071_spliced_p8C1.retried new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/w071_spliced_p8C1/flatten.log b/flat/C1/w071_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..f343bab3167279bee0b697c259be475358bc5492 --- /dev/null +++ b/flat/C1/w071_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w071_spliced_p8C1: 66x347, 17259/22902 valid (75.4%) step_h=22.942 step_w=29.654 step_diag=26.771 step_avg=26.547 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x347 -> 1x33x174 -> 1x17x87 -> 1x9x44 -> 1x5x22 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w071_spliced_p8C1 shape=(66, 347, 3) valid=17259/22902 model_shape=66x347 source_step=20 output_step=20 measured_source_step=26.538 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 347, 2) point_valid=17259/22902 quad_valid=16847/22490 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.7155 2.2747 2.2747 1.4408 1.4408 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.7155 0.0 2.2747 2.2747 1.4408 1.4408 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.6347 97.4 0.5978 0.5978 1.0369 1.0369 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 200/4500 1.0568 90.3 0.3404 0.3404 0.7164 0.7164 0.0000 0.0000 0.0000 1.0e-04 20.006 + stage0 300/4500 0.8731 89.4 0.2274 0.2274 0.6457 0.6457 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.7701 104.0 0.1723 0.1723 0.5977 0.5977 0.0000 0.0000 0.0000 1.0e-04 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0193 target=20 uv_scale=1.00097 + stage0 500/4500 0.6960 100.9 0.1434 0.1434 0.5526 0.5526 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 600/4500 0.5968 87.3 0.1177 0.1177 0.4791 0.4791 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 700/4500 0.5407 76.6 0.1097 0.1097 0.4310 0.4310 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 800/4500 0.4667 86.3 0.1013 0.1013 0.3654 0.3654 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 900/4500 0.4072 79.8 0.0934 0.0934 0.3139 0.3139 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0109 target=20 uv_scale=1.00055 + stage0 1000/4500 0.3587 40.6 0.0877 0.0877 0.2709 0.2709 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 1100/4500 0.3036 32.1 0.0816 0.0816 0.2220 0.2220 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1200/4500 0.2740 42.3 0.0789 0.0789 0.1951 0.1951 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1300/4500 0.2617 52.2 0.0770 0.0770 0.1847 0.1847 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1400/4500 0.2507 74.6 0.0756 0.0756 0.1751 0.1751 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 1500/4500 0.2304 72.5 0.0741 0.0741 0.1562 0.1562 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.2227 67.8 0.0732 0.0732 0.1495 0.1495 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.2178 90.9 0.0719 0.0719 0.1459 0.1459 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.2125 68.4 0.0709 0.0709 0.1416 0.1416 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.2073 22.2 0.0697 0.0697 0.1376 0.1376 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2000/4500 0.2034 51.8 0.0690 0.0690 0.1344 0.1344 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1920 55.8 0.0680 0.0680 0.1240 0.1240 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.1896 82.7 0.0669 0.0669 0.1227 0.1227 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.1866 92.0 0.0660 0.0660 0.1206 0.1206 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.1832 87.0 0.0650 0.0650 0.1182 0.1182 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 2500/4500 0.1807 66.6 0.0643 0.0643 0.1164 0.1164 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.1785 95.4 0.0661 0.0661 0.1124 0.1124 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.1760 107.3 0.0654 0.0654 0.1106 0.1106 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.1741 107.4 0.0645 0.0645 0.1097 0.1097 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.1717 72.8 0.0637 0.0637 0.1080 0.1080 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 3000/4500 0.1707 81.2 0.0630 0.0630 0.1076 0.1076 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1677 85.3 0.0639 0.0639 0.1037 0.1037 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.1661 106.0 0.0631 0.0631 0.1030 0.1030 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.1646 56.3 0.0624 0.0624 0.1021 0.1021 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.1628 86.6 0.0615 0.0615 0.1012 0.1012 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 3500/4500 0.1612 108.2 0.0608 0.0608 0.1004 0.1004 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1591 76.6 0.0623 0.0623 0.0967 0.0967 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 3700/4500 0.1586 80.4 0.0620 0.0620 0.0966 0.0966 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 3800/4500 0.1577 94.5 0.0615 0.0615 0.0962 0.0962 0.0000 0.0000 0.0000 0.0000 20.002 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1566 94.9 0.0610 0.0610 0.0956 0.0956 0.0000 0.0000 0.0000 0.0000 20.002 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0025 target=20 uv_scale=1.00013 + stage0 4000/4500 0.1553 80.6 0.0605 0.0605 0.0949 0.0949 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1528 77.0 0.0611 0.0611 0.0917 0.0917 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.1508 109.6 0.0602 0.0602 0.0906 0.0906 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.1492 89.0 0.0598 0.0598 0.0894 0.0894 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.1476 118.4 0.0591 0.0591 0.0885 0.0885 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0029 target=20 uv_scale=1.00014 + stage0 4500/4500 0.1460 128.5 0.0583 0.0583 0.0876 0.0876 0.0000 0.0000 0.0000 1.0e-04 20.000 +[optimizer] stage0 'flatten' complete in 3m08.57s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1417 0.0583 0.0583 0.0833 0.0833 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1417 63.9 0.0583 0.0583 0.0833 0.0833 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1434 80.8 0.0570 0.0570 0.0864 0.0864 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.1420 63.3 0.0565 0.0565 0.0855 0.0855 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.1408 65.9 0.0560 0.0560 0.0848 0.0848 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.1402 92.3 0.0557 0.0557 0.0846 0.0846 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.1398 113.9 0.0553 0.0553 0.0844 0.0844 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.1389 107.1 0.0550 0.0550 0.0839 0.0839 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.1382 85.2 0.0547 0.0547 0.0836 0.0836 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.1376 82.1 0.0544 0.0544 0.0832 0.0832 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.1372 56.5 0.0541 0.0541 0.0830 0.0830 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.1364 88.7 0.0539 0.0539 0.0825 0.0825 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 12.90s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1364 0.0539 0.0539 0.0825 0.0825 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.1364 79.5 0.0539 0.0539 0.0825 0.0825 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.1361 66.4 0.0538 0.0538 0.0824 0.0824 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.1359 65.2 0.0537 0.0537 0.0822 0.0822 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.1357 75.3 0.0536 0.0536 0.0821 0.0821 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.1354 85.9 0.0535 0.0535 0.0819 0.0819 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.1352 78.6 0.0534 0.0534 0.0818 0.0818 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.1350 58.7 0.0533 0.0533 0.0817 0.0817 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.1348 67.6 0.0532 0.0532 0.0816 0.0816 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.1346 47.4 0.0532 0.0532 0.0814 0.0814 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.1344 49.9 0.0531 0.0531 0.0814 0.0814 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.1343 63.6 0.0530 0.0530 0.0813 0.0813 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 16.00s +[optimizer] total optimize time: 3m37.48s +[fit] peak GPU memory: 0.24 GiB +[fit2tifxyz] area_vx2=10708400 diff --git a/flat/C1/w071_spliced_p8C1/flatten_input.json b/flat/C1/w071_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..9a647afd7966bf7c2f283f12cfdebffd32856806 --- /dev/null +++ b/flat/C1/w071_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w071_spliced_p8C1"}]} diff --git a/flat/C1/w071_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w071_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..db422b09cfb2edf06820f0bd10b47345564442b3 --- /dev/null +++ b/flat/C1/w071_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1845.516845703125, + 3292.03125, + 10043.49609375 + ], + [ + 6317.44140625, + 5011.38037109375, + 11039.6728515625 + ] + ], + "area_vx2": 10708400.0, + "model_source": "/workspace/flat/C1/w071_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w071_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w071_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w072_spliced_p8C1.log b/flat/C1/w072_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..ff5dade8bd87386037be189638883326d35ee9be --- /dev/null +++ b/flat/C1/w072_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w072_spliced_p8C1 in 131s -> /workspace/flat/C1/w072_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w072_spliced_p8C1/flatten.log b/flat/C1/w072_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..1a3861341ea30dd026b0f309c14cfeb41899ebf1 --- /dev/null +++ b/flat/C1/w072_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w072_spliced_p8C1: 66x352, 17511/23232 valid (75.4%) step_h=22.836 step_w=29.683 step_diag=26.714 step_avg=26.500 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x352 -> 1x33x176 -> 1x17x88 -> 1x9x44 -> 1x5x22 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w072_spliced_p8C1 shape=(66, 352, 3) valid=17511/23232 model_shape=66x352 source_step=20 output_step=20 measured_source_step=26.4962 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 352, 2) point_valid=17511/23232 quad_valid=17092/22815 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.6712 2.2430 2.2430 1.4282 1.4282 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.6712 0.1 2.2430 2.2430 1.4282 1.4282 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.6632 91.6 0.6050 0.6050 1.0516 1.0516 0.0000 0.0000 0.0033 0.0066 20.011 + stage0 200/4500 1.1954 49.4 0.3510 0.3510 0.8443 0.8443 0.0000 0.0000 1.0e-04 1.0e-04 20.015 + stage0 300/4500 0.9186 161.4 0.2370 0.2370 0.6816 0.6816 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.7784 102.5 0.1804 0.1804 0.5980 0.5980 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0222 target=20 uv_scale=1.00111 + stage0 500/4500 0.7282 77.7 0.1492 0.1492 0.5790 0.5790 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.6121 170.0 0.1222 0.1222 0.4899 0.4899 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 700/4500 0.5506 81.4 0.1148 0.1148 0.4358 0.4358 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 800/4500 0.4903 80.9 0.1075 0.1075 0.3828 0.3828 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 900/4500 0.4285 172.7 0.1006 0.1006 0.3279 0.3279 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0134 target=20 uv_scale=1.00067 + stage0 1000/4500 0.3911 93.7 0.0958 0.0958 0.2953 0.2953 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.3409 69.5 0.0915 0.0915 0.2494 0.2494 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1200/4500 0.3188 149.0 0.0899 0.0899 0.2289 0.2289 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1300/4500 0.2986 88.5 0.0880 0.0880 0.2106 0.2106 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1400/4500 0.2867 79.3 0.0864 0.0864 0.2003 0.2003 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0072 target=20 uv_scale=1.00036 + stage0 1500/4500 0.2744 151.2 0.0843 0.0843 0.1901 0.1901 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.2571 68.9 0.0818 0.0818 0.1753 0.1753 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.2511 75.7 0.0803 0.0803 0.1709 0.1709 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.2443 161.9 0.0783 0.0783 0.1660 0.1660 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.2359 130.9 0.0771 0.0771 0.1588 0.1588 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 2000/4500 0.2301 68.8 0.0751 0.0751 0.1549 0.1549 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.2231 151.9 0.0760 0.0760 0.1471 0.1471 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.2182 114.9 0.0750 0.0750 0.1431 0.1431 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.2139 89.7 0.0737 0.0737 0.1402 0.1402 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.2102 182.0 0.0726 0.0726 0.1376 0.1376 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 2500/4500 0.2065 167.9 0.0712 0.0712 0.1354 0.1354 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.2011 72.3 0.0711 0.0711 0.1299 0.1299 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.1992 91.6 0.0707 0.0707 0.1285 0.1285 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.1972 168.6 0.0700 0.0700 0.1272 0.1272 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.1950 111.3 0.0690 0.0690 0.1260 0.1260 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 3000/4500 0.1933 95.2 0.0684 0.0684 0.1249 0.1249 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1899 153.9 0.0695 0.0695 0.1204 0.1204 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.1881 171.2 0.0688 0.0688 0.1192 0.1192 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.1874 72.7 0.0680 0.0680 0.1193 0.1193 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.1847 147.2 0.0670 0.0670 0.1177 0.1177 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 3500/4500 0.1834 166.4 0.0662 0.0662 0.1172 0.1172 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1812 167.6 0.0672 0.0672 0.1139 0.1139 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.1789 78.3 0.0662 0.0662 0.1126 0.1126 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.1772 211.1 0.0653 0.0653 0.1119 0.1119 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1755 131.6 0.0643 0.0643 0.1112 0.1112 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 4000/4500 0.1740 79.7 0.0633 0.0633 0.1107 0.1107 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1725 99.0 0.0648 0.0648 0.1078 0.1078 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.1736 178.6 0.0642 0.0642 0.1094 0.1094 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.1739 81.5 0.0637 0.0637 0.1101 0.1101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.1737 87.4 0.0634 0.0634 0.1102 0.1102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 4500/4500 0.1705 168.4 0.0626 0.0626 0.1079 0.1079 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m39.14s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1636 0.0627 0.0627 0.1009 0.1009 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1636 130.8 0.0627 0.0627 0.1009 0.1009 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1660 210.7 0.0612 0.0612 0.1047 0.1047 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.1656 125.1 0.0608 0.0608 0.1046 0.1046 0.0000 0.0000 1.0e-04 2.0e-04 20.004 + stage1 300/1000 0.1648 121.5 0.0603 0.0603 0.1045 0.1045 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.1642 203.1 0.0599 0.0599 0.1043 0.1043 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.1630 198.1 0.0595 0.0595 0.1034 0.1034 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.1630 99.6 0.0592 0.0592 0.1037 0.1037 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.1629 109.6 0.0589 0.0589 0.1040 0.1040 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.1619 214.1 0.0587 0.0587 0.1033 0.1033 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.1608 206.9 0.0584 0.0584 0.1024 0.1024 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.1604 80.4 0.0582 0.0582 0.1022 0.1022 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 7.46s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1605 0.0582 0.0582 0.1023 0.1023 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.1605 46.8 0.0582 0.0582 0.1023 0.1023 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.1604 121.0 0.0580 0.0580 0.1023 0.1023 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.1600 192.7 0.0580 0.0580 0.1021 0.1021 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.1600 95.5 0.0579 0.0579 0.1021 0.1021 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.1599 75.4 0.0578 0.0578 0.1021 0.1021 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.1595 144.3 0.0577 0.0577 0.1018 0.1018 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.1596 208.2 0.0577 0.0577 0.1019 0.1019 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.1594 231.0 0.0576 0.0576 0.1017 0.1017 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.1594 222.8 0.0576 0.0576 0.1018 0.1018 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.1590 209.8 0.0575 0.0575 0.1015 0.1015 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.1587 215.1 0.0575 0.0575 0.1012 0.1012 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 6.93s +[optimizer] total optimize time: 1m53.52s +[fit] peak GPU memory: 0.24 GiB +[fit2tifxyz] area_vx2=10924800 diff --git a/flat/C1/w072_spliced_p8C1/flatten_input.json b/flat/C1/w072_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..6230971c334ae0364554b893282b49a475c84d1e --- /dev/null +++ b/flat/C1/w072_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w072_spliced_p8C1"}]} diff --git a/flat/C1/w072_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w072_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..6524a15f3f958d655ab4b0500a907cc4a450a509 --- /dev/null +++ b/flat/C1/w072_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1838.3912353515625, + 3279.876220703125, + 10039.79296875 + ], + [ + 6333.8876953125, + 5028.43603515625, + 11040.9140625 + ] + ], + "area_vx2": 10924800.0, + "model_source": "/workspace/flat/C1/w072_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w072_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w072_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w073_spliced_p8C1.log b/flat/C1/w073_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..f206d734255b01b71bffd8affa7f8a4e9e2be19e --- /dev/null +++ b/flat/C1/w073_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w073_spliced_p8C1 in 131s -> /workspace/flat/C1/w073_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w073_spliced_p8C1/flatten.log b/flat/C1/w073_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..087bfbae6d32b27c0916748147aedae6b2375cde --- /dev/null +++ b/flat/C1/w073_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w073_spliced_p8C1: 66x357, 17757/23562 valid (75.4%) step_h=22.690 step_w=29.583 step_diag=26.641 step_avg=26.401 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x357 -> 1x33x179 -> 1x17x90 -> 1x9x45 -> 1x5x23 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w073_spliced_p8C1 shape=(66, 357, 3) valid=17757/23562 model_shape=66x357 source_step=20 output_step=20 measured_source_step=26.3888 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 357, 2) point_valid=17757/23562 quad_valid=17328/23140 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.5560 2.1895 2.1895 1.3664 1.3664 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.5560 0.1 2.1895 2.1895 1.3664 1.3664 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.4151 136.0 0.5690 0.5690 0.8461 0.8461 0.0000 0.0000 0.0000 0.0000 20.001 + stage0 200/4500 1.0386 107.4 0.3184 0.3184 0.7202 0.7202 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 300/4500 0.7917 124.8 0.2094 0.2094 0.5823 0.5823 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.6668 139.5 0.1548 0.1548 0.5120 0.5120 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0196 target=20 uv_scale=1.00098 + stage0 500/4500 0.5877 123.9 0.1273 0.1273 0.4604 0.4604 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.4846 135.4 0.1038 0.1038 0.3808 0.3808 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 700/4500 0.3875 121.3 0.0935 0.0935 0.2940 0.2940 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 800/4500 0.3415 127.0 0.0882 0.0882 0.2533 0.2533 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 900/4500 0.2978 140.1 0.0828 0.0828 0.2150 0.2150 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0107 target=20 uv_scale=1.00054 + stage0 1000/4500 0.2679 125.6 0.0788 0.0788 0.1891 0.1891 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2257 129.4 0.0747 0.0747 0.1435 0.1435 0.0000 0.0000 0.0037 0.0075 20.008 + stage0 1200/4500 0.2196 124.7 0.0731 0.0731 0.1464 0.1464 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1300/4500 0.2002 126.6 0.0713 0.0713 0.1289 0.1289 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1400/4500 0.1936 126.5 0.0698 0.0698 0.1238 0.1238 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 1500/4500 0.1859 139.2 0.0684 0.0684 0.1175 0.1175 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1664 82.4 0.0670 0.0670 0.0993 0.0993 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.1671 58.6 0.0662 0.0662 0.1010 0.1010 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.1632 64.8 0.0650 0.0650 0.0982 0.0982 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1595 125.2 0.0640 0.0640 0.0955 0.0955 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 2000/4500 0.1565 133.4 0.0631 0.0631 0.0933 0.0933 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1553 114.1 0.0643 0.0643 0.0910 0.0910 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.1515 128.9 0.0636 0.0636 0.0879 0.0879 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.1495 119.9 0.0628 0.0628 0.0867 0.0867 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.1475 133.8 0.0622 0.0622 0.0853 0.0853 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 2500/4500 0.1453 136.1 0.0613 0.0613 0.0840 0.0840 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.1383 130.0 0.0630 0.0630 0.0753 0.0753 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 2700/4500 0.1392 134.3 0.0625 0.0625 0.0768 0.0768 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.1382 123.0 0.0618 0.0618 0.0764 0.0764 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.1362 122.7 0.0609 0.0609 0.0753 0.0753 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3000/4500 0.1336 113.1 0.0597 0.0597 0.0739 0.0739 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1328 104.0 0.0605 0.0605 0.0723 0.0723 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.1302 126.1 0.0599 0.0599 0.0702 0.0702 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.1279 118.5 0.0590 0.0590 0.0689 0.0689 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.1262 132.0 0.0582 0.0582 0.0679 0.0679 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 3500/4500 0.1232 122.1 0.0572 0.0572 0.0660 0.0660 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1217 110.9 0.0580 0.0580 0.0636 0.0636 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.1212 133.7 0.0580 0.0580 0.0632 0.0632 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 3800/4500 0.1207 115.0 0.0573 0.0573 0.0634 0.0634 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1194 135.8 0.0566 0.0566 0.0629 0.0629 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4000/4500 0.1179 108.9 0.0557 0.0557 0.0622 0.0622 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1160 95.4 0.0566 0.0566 0.0594 0.0594 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 4200/4500 0.1134 100.2 0.0559 0.0559 0.0575 0.0575 0.0000 0.0000 0.0000 0.0000 20.001 + stage0 4300/4500 0.1143 111.5 0.0554 0.0554 0.0589 0.0589 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.1120 119.0 0.0545 0.0545 0.0575 0.0575 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 4500/4500 0.1106 126.0 0.0536 0.0536 0.0571 0.0571 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m36.36s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1072 0.0536 0.0536 0.0536 0.0536 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1072 16.7 0.0536 0.0536 0.0536 0.0536 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1067 88.0 0.0516 0.0516 0.0551 0.0551 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.1051 117.3 0.0510 0.0510 0.0541 0.0541 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.1041 114.1 0.0505 0.0505 0.0536 0.0536 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.1031 121.9 0.0501 0.0501 0.0530 0.0530 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.1024 117.2 0.0497 0.0497 0.0527 0.0527 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.1016 125.1 0.0493 0.0493 0.0523 0.0523 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.1008 109.6 0.0488 0.0488 0.0519 0.0519 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.1000 128.9 0.0484 0.0484 0.0516 0.0516 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0993 143.0 0.0480 0.0480 0.0513 0.0513 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0984 84.1 0.0476 0.0476 0.0508 0.0508 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 9.24s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0984 0.0476 0.0476 0.0508 0.0508 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0984 85.6 0.0476 0.0476 0.0508 0.0508 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0979 119.7 0.0474 0.0474 0.0505 0.0505 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0977 119.3 0.0473 0.0473 0.0504 0.0504 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0975 134.6 0.0472 0.0472 0.0503 0.0503 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0973 126.7 0.0471 0.0471 0.0502 0.0502 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0970 81.2 0.0470 0.0470 0.0500 0.0500 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0968 136.3 0.0468 0.0468 0.0499 0.0499 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0965 127.4 0.0467 0.0467 0.0498 0.0498 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0962 123.9 0.0466 0.0466 0.0496 0.0496 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0959 128.5 0.0465 0.0465 0.0494 0.0494 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0957 119.0 0.0463 0.0463 0.0494 0.0494 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 8.71s +[optimizer] total optimize time: 1m54.31s +[fit] peak GPU memory: 0.26 GiB +[fit2tifxyz] area_vx2=11032000 diff --git a/flat/C1/w073_spliced_p8C1/flatten_input.json b/flat/C1/w073_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..e4280fb731d01672a468333fda12eb61eea81b3e --- /dev/null +++ b/flat/C1/w073_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w073_spliced_p8C1"}]} diff --git a/flat/C1/w073_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w073_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..4051ca366b46b9ac1e2874f1332cb631e155ed2b --- /dev/null +++ b/flat/C1/w073_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1817.5263671875, + 3269.7587890625, + 10042.5634765625 + ], + [ + 6352.87255859375, + 5048.439453125, + 11038.876953125 + ] + ], + "area_vx2": 11032000.0, + "model_source": "/workspace/flat/C1/w073_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w073_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w073_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w074_spliced_p8C1.log b/flat/C1/w074_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..3bce94c92ac88cb2ce5618e0d9df4ddc9d60f602 --- /dev/null +++ b/flat/C1/w074_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w074_spliced_p8C1 in 175s -> /workspace/flat/C1/w074_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w074_spliced_p8C1/flatten.log b/flat/C1/w074_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..c003fbb8e93f7823dd5a9f15b308b78c72ee7ffb --- /dev/null +++ b/flat/C1/w074_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w074_spliced_p8C1: 66x362, 18001/23892 valid (75.3%) step_h=22.646 step_w=29.578 step_diag=26.616 step_avg=26.377 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x362 -> 1x33x181 -> 1x17x91 -> 1x9x46 -> 1x5x23 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w074_spliced_p8C1 shape=(66, 362, 3) valid=18001/23892 model_shape=66x362 source_step=20 output_step=20 measured_source_step=26.3664 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 362, 2) point_valid=18001/23892 quad_valid=17570/23465 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.6163 2.2146 2.2146 1.4017 1.4017 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.6163 0.0 2.2146 2.2146 1.4017 1.4017 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.6285 37.6 0.5676 0.5676 1.0610 1.0610 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 200/4500 1.0731 33.2 0.3178 0.3178 0.7552 0.7552 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.8078 60.5 0.2095 0.2095 0.5983 0.5983 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.7016 52.0 0.1583 0.1583 0.5433 0.5433 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0181 target=20 uv_scale=1.00091 + stage0 500/4500 0.6030 56.4 0.1316 0.1316 0.4714 0.4714 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.5083 81.8 0.1113 0.1113 0.3970 0.3970 0.0000 0.0000 0.0000 1.0e-04 20.023 + stage0 700/4500 0.4411 101.7 0.1030 0.1030 0.3381 0.3381 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 800/4500 0.3717 103.5 0.0964 0.0964 0.2753 0.2753 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 900/4500 0.3303 106.6 0.0916 0.0916 0.2387 0.2387 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0105 target=20 uv_scale=1.00052 + stage0 1000/4500 0.3055 89.5 0.0880 0.0880 0.2175 0.2175 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2670 95.8 0.0855 0.0855 0.1814 0.1814 0.0000 0.0000 0.0000 1.0e-04 20.009 + stage0 1200/4500 0.2503 74.6 0.0839 0.0839 0.1664 0.1664 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1300/4500 0.2442 120.0 0.0822 0.0822 0.1620 0.1620 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1400/4500 0.2338 110.4 0.0804 0.0804 0.1534 0.1534 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 1500/4500 0.2251 124.7 0.0790 0.0790 0.1460 0.1460 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 1600/4500 0.1988 113.8 0.0776 0.0776 0.1212 0.1212 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.1974 106.3 0.0761 0.0761 0.1213 0.1213 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.1869 107.5 0.0742 0.0742 0.1126 0.1126 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1805 104.4 0.0722 0.0722 0.1082 0.1082 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 2000/4500 0.1748 126.5 0.0706 0.0706 0.1042 0.1042 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1697 123.2 0.0698 0.0698 0.0999 0.0999 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2200/4500 0.1646 129.4 0.0694 0.0694 0.0952 0.0952 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.1601 124.5 0.0686 0.0686 0.0915 0.0915 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.1570 102.0 0.0675 0.0675 0.0895 0.0895 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 2500/4500 0.1540 105.7 0.0664 0.0664 0.0876 0.0876 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.1505 101.8 0.0669 0.0669 0.0836 0.0836 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.1475 109.3 0.0658 0.0658 0.0817 0.0817 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.1449 120.0 0.0647 0.0647 0.0802 0.0802 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.1423 101.6 0.0635 0.0635 0.0788 0.0788 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 3000/4500 0.1397 120.8 0.0623 0.0623 0.0774 0.0774 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1369 65.2 0.0630 0.0630 0.0739 0.0739 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.1353 119.1 0.0620 0.0620 0.0733 0.0733 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.1356 108.4 0.0616 0.0616 0.0740 0.0740 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.1329 108.9 0.0610 0.0610 0.0719 0.0719 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 3500/4500 0.1309 111.8 0.0600 0.0600 0.0709 0.0709 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1279 114.8 0.0595 0.0595 0.0684 0.0684 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.1261 113.5 0.0588 0.0588 0.0673 0.0673 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.1247 113.4 0.0580 0.0580 0.0666 0.0666 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1227 123.3 0.0572 0.0572 0.0656 0.0656 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 4000/4500 0.1216 110.5 0.0564 0.0564 0.0652 0.0652 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1205 69.3 0.0573 0.0573 0.0632 0.0632 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.1187 115.4 0.0570 0.0570 0.0617 0.0617 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 4300/4500 0.1179 123.6 0.0565 0.0565 0.0614 0.0614 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.1166 116.5 0.0557 0.0557 0.0609 0.0609 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0026 target=20 uv_scale=1.00013 + stage0 4500/4500 0.1154 119.7 0.0550 0.0550 0.0605 0.0605 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m19.63s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1125 0.0550 0.0550 0.0575 0.0575 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1125 71.3 0.0550 0.0550 0.0575 0.0575 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1130 118.4 0.0532 0.0532 0.0598 0.0598 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.1102 131.7 0.0522 0.0522 0.0580 0.0580 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.1092 128.2 0.0515 0.0515 0.0576 0.0576 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.1077 113.8 0.0508 0.0508 0.0569 0.0569 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.1063 123.4 0.0502 0.0502 0.0561 0.0561 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.1054 130.1 0.0496 0.0496 0.0558 0.0558 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.1045 142.8 0.0492 0.0492 0.0554 0.0554 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.1035 139.5 0.0486 0.0486 0.0549 0.0549 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.1021 139.2 0.0481 0.0481 0.0540 0.0540 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.1018 152.7 0.0477 0.0477 0.0541 0.0541 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 8.02s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1018 0.0477 0.0477 0.0541 0.0541 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.1018 81.0 0.0477 0.0477 0.0541 0.0541 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.1014 122.6 0.0475 0.0475 0.0539 0.0539 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.1012 118.3 0.0473 0.0473 0.0538 0.0538 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.1009 110.0 0.0472 0.0472 0.0537 0.0537 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.1007 120.9 0.0471 0.0471 0.0536 0.0536 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.1005 115.5 0.0470 0.0470 0.0535 0.0535 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.1003 126.7 0.0469 0.0469 0.0534 0.0534 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.1000 124.8 0.0467 0.0467 0.0533 0.0533 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0998 125.1 0.0466 0.0466 0.0532 0.0532 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0996 119.2 0.0465 0.0465 0.0531 0.0531 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0994 125.6 0.0464 0.0464 0.0530 0.0530 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 8.64s +[optimizer] total optimize time: 2m36.29s +[fit] peak GPU memory: 0.29 GiB +[fit2tifxyz] area_vx2=11118000 diff --git a/flat/C1/w074_spliced_p8C1/flatten_input.json b/flat/C1/w074_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..82a1c05e5638a0992e1c32c724045d3dd25e7d48 --- /dev/null +++ b/flat/C1/w074_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w074_spliced_p8C1"}]} diff --git a/flat/C1/w074_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w074_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..196e7cb599c07308c88ab572141b25a33dadd3b8 --- /dev/null +++ b/flat/C1/w074_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1773.924072265625, + 3251.833740234375, + 10042.7060546875 + ], + [ + 6363.29736328125, + 5056.1728515625, + 11038.4345703125 + ] + ], + "area_vx2": 11118000.0, + "model_source": "/workspace/flat/C1/w074_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w074_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w074_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w075_spliced_p8C1.log b/flat/C1/w075_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..2b10f55b1cb24c8c429e5398b56e05e141f3bbaa --- /dev/null +++ b/flat/C1/w075_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w075_spliced_p8C1 in 145s -> /workspace/flat/C1/w075_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w075_spliced_p8C1.retried b/flat/C1/w075_spliced_p8C1.retried new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/w075_spliced_p8C1/flatten.log b/flat/C1/w075_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..243fde6546d97817bf6f9b6ee8cf0583b6aa6e38 --- /dev/null +++ b/flat/C1/w075_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w075_spliced_p8C1: 66x367, 18263/24222 valid (75.4%) step_h=22.640 step_w=29.510 step_diag=26.553 step_avg=26.327 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x367 -> 1x33x184 -> 1x17x92 -> 1x9x46 -> 1x5x23 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w075_spliced_p8C1 shape=(66, 367, 3) valid=18263/24222 model_shape=66x367 source_step=20 output_step=20 measured_source_step=26.3145 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 367, 2) point_valid=18263/24222 quad_valid=17829/23790 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.5276 2.1701 2.1701 1.3575 1.3575 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.5276 0.0 2.1701 2.1701 1.3575 1.3575 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.5338 75.7 0.5680 0.5680 0.9616 0.9616 0.0000 0.0000 0.0021 0.0042 20.010 + stage0 200/4500 1.0148 194.0 0.3211 0.3211 0.6938 0.6938 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 300/4500 0.8208 130.2 0.2160 0.2160 0.6048 0.6048 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.6834 72.5 0.1652 0.1652 0.5181 0.5181 0.0000 0.0000 0.0000 1.0e-04 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0159 target=20 uv_scale=1.0008 + stage0 500/4500 0.6126 44.5 0.1392 0.1392 0.4732 0.4732 0.0000 0.0000 1.0e-04 3.0e-04 20.000 + stage0 600/4500 0.4843 30.4 0.1115 0.1115 0.3728 0.3728 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 700/4500 0.4623 76.0 0.1010 0.1010 0.3612 0.3612 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 800/4500 0.4017 159.4 0.0936 0.0936 0.3081 0.3081 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 900/4500 0.3449 143.3 0.0882 0.0882 0.2566 0.2566 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0104 target=20 uv_scale=1.00052 + stage0 1000/4500 0.3244 149.6 0.0847 0.0847 0.2396 0.2396 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2857 110.5 0.0806 0.0806 0.2052 0.2052 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1200/4500 0.2778 72.4 0.0784 0.0784 0.1994 0.1994 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1300/4500 0.2612 117.2 0.0762 0.0762 0.1851 0.1851 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1400/4500 0.2491 117.1 0.0739 0.0739 0.1752 0.1752 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.008 target=20 uv_scale=1.0004 + stage0 1500/4500 0.2367 112.1 0.0719 0.0719 0.1647 0.1647 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.2212 91.8 0.0718 0.0718 0.1421 0.1421 0.0000 0.0000 0.0036 0.0073 20.007 + stage0 1700/4500 0.2064 192.1 0.0715 0.0715 0.1349 0.1349 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.2002 80.9 0.0707 0.0707 0.1295 0.1295 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1952 95.3 0.0696 0.0696 0.1251 0.1251 0.0000 0.0000 2.0e-04 4.0e-04 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0057 target=20 uv_scale=1.00028 + stage0 2000/4500 0.1894 90.9 0.0690 0.0690 0.1204 0.1204 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1772 53.5 0.0682 0.0682 0.1090 0.1090 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.1741 149.5 0.0678 0.0678 0.1063 0.1063 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.1706 201.7 0.0670 0.0670 0.1037 0.1037 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.1674 141.1 0.0661 0.0661 0.1014 0.1014 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2500/4500 0.1642 127.4 0.0655 0.0655 0.0986 0.0986 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.1566 160.0 0.0660 0.0660 0.0906 0.0906 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.1524 26.1 0.0654 0.0654 0.0870 0.0870 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.1492 35.2 0.0646 0.0646 0.0845 0.0845 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.1461 84.8 0.0637 0.0637 0.0824 0.0824 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 3000/4500 0.1435 212.7 0.0627 0.0627 0.0808 0.0808 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1393 209.4 0.0630 0.0630 0.0762 0.0762 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.1372 253.9 0.0622 0.0622 0.0750 0.0750 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.1369 55.3 0.0619 0.0619 0.0750 0.0750 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.1337 185.1 0.0611 0.0611 0.0726 0.0726 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 3500/4500 0.1316 231.6 0.0603 0.0603 0.0713 0.0713 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1265 227.0 0.0603 0.0603 0.0662 0.0662 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.1241 126.2 0.0594 0.0594 0.0646 0.0646 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.1225 94.0 0.0584 0.0584 0.0641 0.0641 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1206 140.5 0.0572 0.0572 0.0634 0.0634 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4000/4500 0.1185 243.2 0.0561 0.0561 0.0624 0.0624 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.1167 73.9 0.0561 0.0561 0.0591 0.0591 0.0000 0.0000 7.0e-04 0.0015 20.003 + stage0 4200/4500 0.1141 109.0 0.0552 0.0552 0.0589 0.0589 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.1122 248.6 0.0542 0.0542 0.0580 0.0580 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.1105 269.5 0.0533 0.0533 0.0572 0.0572 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 4500/4500 0.1106 233.6 0.0533 0.0533 0.0573 0.0573 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m57.72s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1060 0.0533 0.0533 0.0526 0.0526 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1060 11.5 0.0533 0.0533 0.0526 0.0526 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1066 106.5 0.0510 0.0510 0.0556 0.0556 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.1041 252.0 0.0500 0.0500 0.0541 0.0541 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.1025 208.3 0.0492 0.0492 0.0533 0.0533 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.1011 112.8 0.0485 0.0485 0.0526 0.0526 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.1000 89.4 0.0479 0.0479 0.0521 0.0521 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0989 274.4 0.0473 0.0473 0.0516 0.0516 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0980 294.3 0.0468 0.0468 0.0511 0.0511 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0972 290.7 0.0463 0.0463 0.0509 0.0509 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0963 91.4 0.0458 0.0458 0.0505 0.0505 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0955 60.4 0.0454 0.0454 0.0501 0.0501 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 8.05s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0954 0.0454 0.0454 0.0500 0.0500 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0954 134.7 0.0454 0.0454 0.0500 0.0500 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0950 90.8 0.0452 0.0452 0.0498 0.0498 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0947 118.6 0.0451 0.0451 0.0497 0.0497 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0944 203.9 0.0449 0.0449 0.0495 0.0495 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0942 279.0 0.0448 0.0448 0.0494 0.0494 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0939 261.0 0.0447 0.0447 0.0492 0.0492 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0937 278.1 0.0446 0.0446 0.0491 0.0491 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0934 98.8 0.0445 0.0445 0.0490 0.0490 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0932 115.8 0.0443 0.0443 0.0488 0.0488 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0930 230.8 0.0442 0.0442 0.0488 0.0488 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0927 211.4 0.0441 0.0441 0.0486 0.0486 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 6.68s +[optimizer] total optimize time: 2m12.45s +[fit] peak GPU memory: 0.28 GiB +[fit2tifxyz] area_vx2=11259200 diff --git a/flat/C1/w075_spliced_p8C1/flatten_input.json b/flat/C1/w075_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..b35a9c1d93ed0f53f190f3a6780e36317c5db5b3 --- /dev/null +++ b/flat/C1/w075_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w075_spliced_p8C1"}]} diff --git a/flat/C1/w075_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w075_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..de709dd7d4e54c11dc333a5aef1aa07d9365ba94 --- /dev/null +++ b/flat/C1/w075_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1765.6978759765625, + 3248.061767578125, + 10041.9384765625 + ], + [ + 6411.40576171875, + 5073.1162109375, + 11039.4609375 + ] + ], + "area_vx2": 11259200.0, + "model_source": "/workspace/flat/C1/w075_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w075_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w075_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w076_spliced_p8C1.log b/flat/C1/w076_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..955a200b801a3ae3914e7f95376539ca66ca3111 --- /dev/null +++ b/flat/C1/w076_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w076_spliced_p8C1 in 175s -> /workspace/flat/C1/w076_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w076_spliced_p8C1/flatten.log b/flat/C1/w076_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..540d0310c32f0bf1f14f77b87699c38ab28eb5fd --- /dev/null +++ b/flat/C1/w076_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w076_spliced_p8C1: 66x372, 18511/24552 valid (75.4%) step_h=22.676 step_w=29.440 step_diag=26.504 step_avg=26.294 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x372 -> 1x33x186 -> 1x17x93 -> 1x9x47 -> 1x5x24 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w076_spliced_p8C1 shape=(66, 372, 3) valid=18511/24552 model_shape=66x372 source_step=20 output_step=20 measured_source_step=26.2799 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 372, 2) point_valid=18511/24552 quad_valid=18070/24115 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.3558 2.0849 2.0849 1.2710 1.2710 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.3558 0.0 2.0849 2.0849 1.2710 1.2710 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.6630 57.2 0.5539 0.5539 1.1058 1.1058 0.0000 0.0000 0.0017 0.0033 20.025 + stage0 200/4500 0.9930 56.4 0.3165 0.3165 0.6765 0.6765 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 300/4500 0.7715 62.4 0.2093 0.2093 0.5622 0.5622 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 400/4500 0.6716 89.9 0.1554 0.1554 0.5161 0.5161 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0179 target=20 uv_scale=1.0009 + stage0 500/4500 0.5725 101.8 0.1258 0.1258 0.4466 0.4466 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.5066 100.0 0.1002 0.1002 0.4064 0.4064 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 700/4500 0.4305 114.4 0.0916 0.0916 0.3389 0.3389 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 800/4500 0.3740 113.1 0.0854 0.0854 0.2886 0.2886 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 900/4500 0.3273 107.4 0.0796 0.0796 0.2470 0.2470 0.0000 0.0000 4.0e-04 7.0e-04 20.015 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0126 target=20 uv_scale=1.00063 + stage0 1000/4500 0.2941 94.5 0.0753 0.0753 0.2188 0.2188 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2458 72.2 0.0699 0.0699 0.1759 0.1759 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1200/4500 0.2308 98.7 0.0673 0.0673 0.1634 0.1634 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1300/4500 0.2160 105.9 0.0651 0.0651 0.1508 0.1508 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1400/4500 0.2011 109.7 0.0628 0.0628 0.1383 0.1383 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0088 target=20 uv_scale=1.00044 + stage0 1500/4500 0.1893 118.0 0.0612 0.0612 0.1281 0.1281 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1651 129.8 0.0579 0.0579 0.1071 0.1071 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1700/4500 0.1538 116.6 0.0566 0.0566 0.0972 0.0972 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1800/4500 0.1474 100.9 0.0558 0.0558 0.0916 0.0916 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1423 114.6 0.0552 0.0552 0.0870 0.0870 0.0000 0.0000 0.0000 1.0e-04 20.007 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0061 target=20 uv_scale=1.0003 + stage0 2000/4500 0.1360 117.4 0.0539 0.0539 0.0821 0.0821 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1217 106.1 0.0521 0.0521 0.0697 0.0697 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2200/4500 0.1157 105.5 0.0506 0.0506 0.0651 0.0651 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.1103 112.2 0.0490 0.0490 0.0612 0.0612 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.1059 111.2 0.0479 0.0479 0.0579 0.0579 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 2500/4500 0.1023 101.3 0.0468 0.0468 0.0555 0.0555 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0995 105.3 0.0467 0.0467 0.0527 0.0527 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0967 120.6 0.0459 0.0459 0.0508 0.0508 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0947 95.2 0.0450 0.0450 0.0496 0.0496 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0934 82.6 0.0444 0.0444 0.0490 0.0490 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3000/4500 0.0918 87.2 0.0438 0.0438 0.0480 0.0480 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0888 85.6 0.0440 0.0440 0.0448 0.0448 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0880 100.3 0.0437 0.0437 0.0443 0.0443 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0866 116.2 0.0431 0.0431 0.0435 0.0435 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0852 126.4 0.0423 0.0423 0.0429 0.0429 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0830 100.0 0.0415 0.0415 0.0415 0.0415 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0825 106.2 0.0418 0.0418 0.0407 0.0407 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0806 116.1 0.0413 0.0413 0.0393 0.0393 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0796 112.7 0.0407 0.0407 0.0389 0.0389 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0787 86.4 0.0400 0.0400 0.0387 0.0387 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 4000/4500 0.0786 121.2 0.0394 0.0394 0.0392 0.0392 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0771 105.3 0.0398 0.0398 0.0373 0.0373 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0762 116.2 0.0395 0.0395 0.0367 0.0367 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0731 118.8 0.0385 0.0385 0.0346 0.0346 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0724 116.4 0.0380 0.0380 0.0343 0.0343 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0714 124.3 0.0373 0.0373 0.0341 0.0341 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m17.87s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0694 0.0373 0.0373 0.0321 0.0321 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0694 86.5 0.0373 0.0373 0.0321 0.0321 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0696 125.0 0.0357 0.0357 0.0339 0.0339 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0683 117.1 0.0351 0.0351 0.0331 0.0331 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0680 125.1 0.0348 0.0348 0.0332 0.0332 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0671 109.0 0.0343 0.0343 0.0328 0.0328 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0661 127.3 0.0339 0.0339 0.0323 0.0323 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0657 120.7 0.0335 0.0335 0.0322 0.0322 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0651 124.7 0.0331 0.0331 0.0320 0.0320 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0644 118.0 0.0327 0.0327 0.0317 0.0317 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0640 127.7 0.0324 0.0324 0.0317 0.0317 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0629 125.1 0.0320 0.0320 0.0309 0.0309 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 8.53s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0630 0.0320 0.0320 0.0310 0.0310 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0630 16.1 0.0320 0.0320 0.0310 0.0310 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0629 111.1 0.0319 0.0319 0.0310 0.0310 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0629 117.8 0.0318 0.0318 0.0311 0.0311 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0627 111.7 0.0318 0.0318 0.0310 0.0310 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0627 122.2 0.0317 0.0317 0.0310 0.0310 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0625 117.1 0.0316 0.0316 0.0309 0.0309 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0623 136.5 0.0316 0.0316 0.0308 0.0308 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0621 134.9 0.0315 0.0315 0.0306 0.0306 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0622 132.7 0.0314 0.0314 0.0307 0.0307 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0619 128.5 0.0314 0.0314 0.0306 0.0306 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0620 131.5 0.0313 0.0313 0.0307 0.0307 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 8.45s +[optimizer] total optimize time: 2m34.85s +[fit] peak GPU memory: 0.29 GiB +[fit2tifxyz] area_vx2=11420800 diff --git a/flat/C1/w076_spliced_p8C1/flatten_input.json b/flat/C1/w076_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..6d07609a9550cb31562aaefec1170df1eb34b77d --- /dev/null +++ b/flat/C1/w076_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w076_spliced_p8C1"}]} diff --git a/flat/C1/w076_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w076_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..cd6262f88470db95639ee15577aab1e1f7fb5e02 --- /dev/null +++ b/flat/C1/w076_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1742.625732421875, + 3231.878662109375, + 10042.404296875 + ], + [ + 6433.4638671875, + 5092.0078125, + 11040.2548828125 + ] + ], + "area_vx2": 11420800.0, + "model_source": "/workspace/flat/C1/w076_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w076_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w076_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w077_spliced_p8C1.log b/flat/C1/w077_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..22c9fe5a72982ccfaa473bd19763cb116654a37c --- /dev/null +++ b/flat/C1/w077_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w077_spliced_p8C1 in 146s -> /workspace/flat/C1/w077_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w077_spliced_p8C1.retried b/flat/C1/w077_spliced_p8C1.retried new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C1/w077_spliced_p8C1/flatten.log b/flat/C1/w077_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..a6cee362cc5d4453763b71571758a27ebd9d866d --- /dev/null +++ b/flat/C1/w077_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w077_spliced_p8C1: 66x376, 18713/24816 valid (75.4%) step_h=22.685 step_w=29.348 step_diag=26.422 step_avg=26.232 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x376 -> 1x33x188 -> 1x17x94 -> 1x9x47 -> 1x5x24 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w077_spliced_p8C1 shape=(66, 376, 3) valid=18713/24816 model_shape=66x376 source_step=20 output_step=20 measured_source_step=26.2162 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 376, 2) point_valid=18713/24816 quad_valid=18268/24375 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.2227 2.0151 2.0151 1.2075 1.2075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.2227 0.0 2.0151 2.0151 1.2075 1.2075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.5355 145.4 0.5399 0.5399 0.9956 0.9956 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 200/4500 0.9992 179.9 0.3116 0.3116 0.6873 0.6873 0.0000 0.0000 2.0e-04 3.0e-04 20.016 + stage0 300/4500 0.8061 101.3 0.2105 0.2105 0.5955 0.5955 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 400/4500 0.6281 82.7 0.1596 0.1596 0.4685 0.4685 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0202 target=20 uv_scale=1.00101 + stage0 500/4500 0.5775 40.3 0.1307 0.1307 0.4468 0.4468 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.4681 32.1 0.1047 0.1047 0.3634 0.3634 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 700/4500 0.4224 89.9 0.0971 0.0971 0.3254 0.3254 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 800/4500 0.3632 166.2 0.0909 0.0909 0.2723 0.2723 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 900/4500 0.3288 117.2 0.0854 0.0854 0.2434 0.2434 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0127 target=20 uv_scale=1.00063 + stage0 1000/4500 0.2978 150.6 0.0809 0.0809 0.2168 0.2168 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2553 82.8 0.0760 0.0760 0.1783 0.1783 0.0000 0.0000 5.0e-04 9.0e-04 20.011 + stage0 1200/4500 0.2398 83.9 0.0725 0.0725 0.1673 0.1673 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1300/4500 0.2240 104.4 0.0696 0.0696 0.1545 0.1545 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1400/4500 0.2120 130.7 0.0667 0.0667 0.1453 0.1453 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0081 target=20 uv_scale=1.00041 + stage0 1500/4500 0.2025 72.1 0.0641 0.0641 0.1384 0.1384 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1790 195.9 0.0617 0.0617 0.1173 0.1173 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1700/4500 0.1700 139.7 0.0612 0.0612 0.1088 0.1088 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.1617 62.9 0.0595 0.0595 0.1022 0.1022 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1567 121.5 0.0577 0.0577 0.0989 0.0989 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0063 target=20 uv_scale=1.00032 + stage0 2000/4500 0.1510 52.2 0.0560 0.0560 0.0950 0.0950 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1445 106.0 0.0549 0.0549 0.0862 0.0862 0.0000 0.0000 0.0017 0.0034 20.007 + stage0 2200/4500 0.1343 165.9 0.0542 0.0542 0.0800 0.0800 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.1304 131.2 0.0530 0.0530 0.0774 0.0774 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2400/4500 0.1263 127.5 0.0516 0.0516 0.0747 0.0747 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 2500/4500 0.1223 104.9 0.0508 0.0508 0.0715 0.0715 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.1257 23.8 0.0514 0.0514 0.0668 0.0668 0.0000 0.0000 0.0038 0.0076 20.006 + stage0 2700/4500 0.1138 40.0 0.0505 0.0505 0.0633 0.0633 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.1107 99.6 0.0493 0.0493 0.0614 0.0614 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.1074 201.4 0.0481 0.0481 0.0592 0.0592 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0041 target=20 uv_scale=1.00021 + stage0 3000/4500 0.1050 222.0 0.0469 0.0469 0.0581 0.0581 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1022 60.3 0.0473 0.0473 0.0549 0.0549 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0998 122.8 0.0465 0.0465 0.0534 0.0534 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0985 235.9 0.0460 0.0460 0.0525 0.0525 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0972 233.2 0.0454 0.0454 0.0518 0.0518 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0035 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0951 154.0 0.0444 0.0444 0.0507 0.0507 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0921 88.1 0.0443 0.0443 0.0478 0.0478 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0905 125.4 0.0436 0.0436 0.0470 0.0470 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0894 251.1 0.0430 0.0430 0.0465 0.0465 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0880 114.4 0.0421 0.0421 0.0459 0.0459 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 4000/4500 0.0866 74.3 0.0413 0.0413 0.0453 0.0453 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0856 209.3 0.0418 0.0418 0.0438 0.0438 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0837 248.8 0.0409 0.0409 0.0429 0.0429 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0819 214.8 0.0397 0.0397 0.0421 0.0421 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0800 83.5 0.0386 0.0386 0.0414 0.0414 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 4500/4500 0.0783 247.8 0.0377 0.0377 0.0406 0.0406 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m59.38s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0757 0.0377 0.0377 0.0380 0.0380 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0757 133.8 0.0377 0.0377 0.0380 0.0380 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0762 204.6 0.0364 0.0364 0.0397 0.0397 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0749 115.6 0.0357 0.0357 0.0392 0.0392 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0739 90.4 0.0352 0.0352 0.0387 0.0387 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0729 277.6 0.0347 0.0347 0.0382 0.0382 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0720 258.8 0.0342 0.0342 0.0378 0.0378 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0711 242.7 0.0337 0.0337 0.0374 0.0374 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0703 57.2 0.0332 0.0332 0.0371 0.0371 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0695 86.5 0.0327 0.0327 0.0368 0.0368 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0688 86.5 0.0323 0.0323 0.0365 0.0365 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0680 107.7 0.0318 0.0318 0.0362 0.0362 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 8.84s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0680 0.0318 0.0318 0.0362 0.0362 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0680 131.7 0.0318 0.0318 0.0362 0.0362 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0678 295.9 0.0317 0.0317 0.0361 0.0361 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0676 287.0 0.0316 0.0316 0.0360 0.0360 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0674 300.7 0.0315 0.0315 0.0359 0.0359 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0672 189.3 0.0314 0.0314 0.0358 0.0358 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0670 103.3 0.0313 0.0313 0.0358 0.0358 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0669 124.9 0.0312 0.0312 0.0357 0.0357 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0667 246.1 0.0311 0.0311 0.0356 0.0356 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0665 151.2 0.0310 0.0310 0.0355 0.0355 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0664 92.1 0.0309 0.0309 0.0355 0.0355 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0662 183.9 0.0308 0.0308 0.0354 0.0354 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 6.20s +[optimizer] total optimize time: 2m14.42s +[fit] peak GPU memory: 0.28 GiB +[fit2tifxyz] area_vx2=11462800 diff --git a/flat/C1/w077_spliced_p8C1/flatten_input.json b/flat/C1/w077_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..50a67dc610cbe9fc4a00f1f946c331b3697ab906 --- /dev/null +++ b/flat/C1/w077_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w077_spliced_p8C1"}]} diff --git a/flat/C1/w077_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w077_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..ba2f6698e0087092da16648b5a627d734a51b191 --- /dev/null +++ b/flat/C1/w077_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1728.5452880859375, + 3213.372314453125, + 10041.9052734375 + ], + [ + 6438.83349609375, + 5104.27734375, + 11040.2744140625 + ] + ], + "area_vx2": 11462800.0, + "model_source": "/workspace/flat/C1/w077_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w077_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w077_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w078_spliced_p8C1.log b/flat/C1/w078_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..b1fd677404fccaa5346301480fe5e4668dd55098 --- /dev/null +++ b/flat/C1/w078_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w078_spliced_p8C1 in 171s -> /workspace/flat/C1/w078_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w078_spliced_p8C1/flatten.log b/flat/C1/w078_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..5d2e93e07ed27c3fe47b145c6710acedcc89533e --- /dev/null +++ b/flat/C1/w078_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w078_spliced_p8C1: 66x381, 18950/25146 valid (75.4%) step_h=22.607 step_w=29.362 step_diag=26.409 step_avg=26.209 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x381 -> 1x33x191 -> 1x17x96 -> 1x9x48 -> 1x5x24 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w078_spliced_p8C1 shape=(66, 381, 3) valid=18950/25146 model_shape=66x381 source_step=20 output_step=20 measured_source_step=26.1984 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 381, 2) point_valid=18950/25146 quad_valid=18497/24700 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.2324 2.0185 2.0185 1.2139 1.2139 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.2324 0.1 2.0185 2.0185 1.2139 1.2139 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.4412 81.7 0.5397 0.5397 0.8993 0.8993 0.0000 0.0000 0.0011 0.0022 20.015 + stage0 200/4500 0.9616 57.6 0.3173 0.3173 0.6443 0.6443 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.7716 99.7 0.2159 0.2159 0.5557 0.5557 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 400/4500 0.6501 100.5 0.1625 0.1625 0.4875 0.4875 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0186 target=20 uv_scale=1.00093 + stage0 500/4500 0.5592 100.7 0.1315 0.1315 0.4277 0.4277 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.4801 123.5 0.1070 0.1070 0.3731 0.3731 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 700/4500 0.4240 161.8 0.0977 0.0977 0.3263 0.3263 0.0000 0.0000 0.0000 0.0000 20.024 + stage0 800/4500 0.3679 154.3 0.0893 0.0893 0.2783 0.2783 0.0000 0.0000 1.0e-04 3.0e-04 20.020 + stage0 900/4500 0.3191 146.4 0.0819 0.0819 0.2372 0.2372 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0134 target=20 uv_scale=1.00067 + stage0 1000/4500 0.2800 149.0 0.0757 0.0757 0.2043 0.2043 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2444 104.1 0.0706 0.0706 0.1738 0.1738 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1200/4500 0.2226 127.4 0.0682 0.0682 0.1544 0.1544 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 1300/4500 0.1999 106.0 0.0660 0.0660 0.1339 0.1339 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1400/4500 0.1851 73.0 0.0637 0.0637 0.1214 0.1214 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0081 target=20 uv_scale=1.00041 + stage0 1500/4500 0.1741 72.0 0.0612 0.0612 0.1129 0.1129 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1568 89.0 0.0592 0.0592 0.0970 0.0970 0.0000 0.0000 3.0e-04 6.0e-04 20.009 + stage0 1700/4500 0.1446 87.1 0.0575 0.0575 0.0870 0.0870 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.1350 125.3 0.0561 0.0561 0.0789 0.0789 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1309 139.2 0.0542 0.0542 0.0767 0.0767 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0055 target=20 uv_scale=1.00027 + stage0 2000/4500 0.1245 138.3 0.0525 0.0525 0.0720 0.0720 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1135 67.5 0.0512 0.0512 0.0623 0.0623 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2200/4500 0.1095 123.7 0.0501 0.0501 0.0594 0.0594 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.1058 105.6 0.0488 0.0488 0.0570 0.0570 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.1023 123.5 0.0478 0.0478 0.0545 0.0545 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 2500/4500 0.0989 122.1 0.0463 0.0463 0.0526 0.0526 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0939 126.1 0.0459 0.0459 0.0480 0.0480 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0918 120.5 0.0456 0.0456 0.0462 0.0462 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0902 107.6 0.0449 0.0449 0.0454 0.0454 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0885 104.0 0.0442 0.0442 0.0443 0.0443 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 3000/4500 0.0866 62.3 0.0434 0.0434 0.0432 0.0432 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0821 72.7 0.0433 0.0433 0.0388 0.0388 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0810 73.9 0.0425 0.0425 0.0384 0.0384 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0794 117.3 0.0418 0.0418 0.0376 0.0376 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0777 51.8 0.0410 0.0410 0.0367 0.0367 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0762 124.6 0.0402 0.0402 0.0359 0.0359 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0750 71.5 0.0408 0.0408 0.0342 0.0342 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0736 121.0 0.0399 0.0399 0.0337 0.0337 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0722 78.3 0.0390 0.0390 0.0332 0.0332 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0709 85.2 0.0383 0.0383 0.0326 0.0326 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0693 82.7 0.0376 0.0376 0.0317 0.0317 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0679 88.0 0.0379 0.0379 0.0300 0.0300 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0671 118.2 0.0373 0.0373 0.0298 0.0298 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0659 100.7 0.0366 0.0366 0.0293 0.0293 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0647 88.5 0.0358 0.0358 0.0289 0.0289 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0638 118.7 0.0355 0.0355 0.0283 0.0283 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m08.72s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0618 0.0355 0.0355 0.0264 0.0264 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0618 83.1 0.0355 0.0355 0.0264 0.0264 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0609 120.0 0.0338 0.0338 0.0271 0.0271 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0596 60.9 0.0331 0.0331 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0587 63.1 0.0327 0.0327 0.0260 0.0260 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0580 58.6 0.0323 0.0323 0.0258 0.0258 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0573 56.5 0.0319 0.0319 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0566 90.6 0.0315 0.0315 0.0251 0.0251 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0559 110.1 0.0311 0.0311 0.0248 0.0248 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0553 104.1 0.0308 0.0308 0.0245 0.0245 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0546 83.3 0.0304 0.0304 0.0243 0.0243 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0541 97.5 0.0301 0.0301 0.0240 0.0240 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 13.11s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0541 0.0300 0.0300 0.0240 0.0240 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0541 58.3 0.0300 0.0300 0.0240 0.0240 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0538 97.7 0.0299 0.0299 0.0239 0.0239 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0536 69.6 0.0298 0.0298 0.0238 0.0238 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0534 63.7 0.0297 0.0297 0.0237 0.0237 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0532 68.9 0.0296 0.0296 0.0236 0.0236 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0531 117.5 0.0295 0.0295 0.0235 0.0235 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0529 107.7 0.0294 0.0294 0.0235 0.0235 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0527 127.6 0.0294 0.0294 0.0234 0.0234 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0526 126.0 0.0293 0.0293 0.0233 0.0233 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0524 133.7 0.0292 0.0292 0.0232 0.0232 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0522 128.5 0.0291 0.0291 0.0232 0.0232 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 10.70s +[optimizer] total optimize time: 2m32.53s +[fit] peak GPU memory: 0.26 GiB +[fit2tifxyz] area_vx2=11581200 diff --git a/flat/C1/w078_spliced_p8C1/flatten_input.json b/flat/C1/w078_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..61c81dfe03e77ccda2bf7c0388c6ebf005761028 --- /dev/null +++ b/flat/C1/w078_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w078_spliced_p8C1"}]} diff --git a/flat/C1/w078_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w078_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3702ed032d36da1fa0f21e727e71c44ff3a9ef04 --- /dev/null +++ b/flat/C1/w078_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1711.655517578125, + 3202.345703125, + 10041.85546875 + ], + [ + 6522.84619140625, + 5120.689453125, + 11039.828125 + ] + ], + "area_vx2": 11581200.0, + "model_source": "/workspace/flat/C1/w078_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w078_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w078_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w079_spliced_p8C1.log b/flat/C1/w079_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..90af4784063d61cd9ddd50d48e26ca4bf8361a5b --- /dev/null +++ b/flat/C1/w079_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w079_spliced_p8C1 in 130s -> /workspace/flat/C1/w079_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w079_spliced_p8C1/flatten.log b/flat/C1/w079_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..601697fd3c6f4ab7ec50df568c0f1c87c4ce3fbb --- /dev/null +++ b/flat/C1/w079_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w079_spliced_p8C1: 66x386, 19190/25476 valid (75.3%) step_h=22.610 step_w=29.354 step_diag=26.423 step_avg=26.215 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x386 -> 1x33x193 -> 1x17x97 -> 1x9x49 -> 1x5x25 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w079_spliced_p8C1 shape=(66, 386, 3) valid=19190/25476 model_shape=66x386 source_step=20 output_step=20 measured_source_step=26.2001 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 386, 2) point_valid=19190/25476 quad_valid=18730/25025 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.1880 1.9975 1.9975 1.1905 1.1905 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.1880 0.1 1.9975 1.9975 1.1905 1.1905 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.4731 115.2 0.5397 0.5397 0.9334 0.9334 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 200/4500 0.9669 134.7 0.3128 0.3128 0.6536 0.6536 0.0000 0.0000 2.0e-04 4.0e-04 20.015 + stage0 300/4500 0.7359 132.3 0.2091 0.2091 0.5268 0.5268 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.6368 135.3 0.1558 0.1558 0.4808 0.4808 0.0000 0.0000 1.0e-04 2.0e-04 20.018 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0185 target=20 uv_scale=1.00092 + stage0 500/4500 0.5438 89.8 0.1246 0.1246 0.4192 0.4192 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.4649 118.0 0.1021 0.1021 0.3627 0.3627 0.0000 0.0000 1.0e-04 1.0e-04 20.024 + stage0 700/4500 0.4346 117.1 0.0946 0.0946 0.3400 0.3400 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 800/4500 0.3924 125.8 0.0869 0.0869 0.3056 0.3056 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 900/4500 0.3493 121.2 0.0798 0.0798 0.2696 0.2696 0.0000 0.0000 0.0000 0.0000 20.023 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0204 target=20 uv_scale=1.00102 + stage0 1000/4500 0.3057 116.2 0.0737 0.0737 0.2320 0.2320 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2547 100.5 0.0690 0.0690 0.1854 0.1854 0.0000 0.0000 1.0e-04 2.0e-04 20.019 + stage0 1200/4500 0.2286 113.7 0.0655 0.0655 0.1631 0.1631 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 1300/4500 0.2069 111.4 0.0621 0.0621 0.1448 0.1448 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1400/4500 0.1823 122.6 0.0589 0.0589 0.1234 0.1234 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0106 target=20 uv_scale=1.00053 + stage0 1500/4500 0.1663 121.4 0.0563 0.0563 0.1100 0.1100 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1397 114.2 0.0527 0.0527 0.0870 0.0870 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1700/4500 0.1300 129.4 0.0523 0.0523 0.0777 0.0777 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1800/4500 0.1223 123.6 0.0506 0.0506 0.0716 0.0716 0.0000 0.0000 0.0000 0.0000 20.009 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1149 114.3 0.0489 0.0489 0.0661 0.0661 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0074 target=20 uv_scale=1.00037 + stage0 2000/4500 0.1082 136.9 0.0473 0.0473 0.0609 0.0609 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0955 112.6 0.0456 0.0456 0.0499 0.0499 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2200/4500 0.0921 119.0 0.0443 0.0443 0.0478 0.0478 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.0873 123.5 0.0429 0.0429 0.0444 0.0444 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0865 124.7 0.0417 0.0417 0.0414 0.0414 0.0000 0.0000 0.0017 0.0034 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 2500/4500 0.0809 121.9 0.0408 0.0408 0.0401 0.0401 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0757 112.7 0.0404 0.0404 0.0353 0.0353 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0739 118.9 0.0396 0.0396 0.0344 0.0344 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0718 119.6 0.0384 0.0384 0.0334 0.0334 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0698 114.7 0.0372 0.0372 0.0325 0.0325 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 3000/4500 0.0677 119.9 0.0361 0.0361 0.0316 0.0316 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0641 102.5 0.0361 0.0361 0.0280 0.0280 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0621 112.1 0.0352 0.0352 0.0270 0.0270 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0618 131.8 0.0344 0.0344 0.0274 0.0274 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0600 122.3 0.0336 0.0336 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3500/4500 0.0587 125.0 0.0328 0.0328 0.0259 0.0259 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0578 114.3 0.0334 0.0334 0.0244 0.0244 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0568 120.6 0.0325 0.0325 0.0243 0.0243 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0554 116.3 0.0316 0.0316 0.0238 0.0238 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0542 122.7 0.0307 0.0307 0.0235 0.0235 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0035 target=20 uv_scale=1.00018 + stage0 4000/4500 0.0532 125.0 0.0300 0.0300 0.0232 0.0232 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0510 93.9 0.0300 0.0300 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0498 113.5 0.0292 0.0292 0.0206 0.0206 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0489 118.5 0.0288 0.0288 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0484 126.0 0.0284 0.0284 0.0200 0.0200 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0478 115.7 0.0279 0.0279 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m37.01s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0464 0.0280 0.0280 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0464 22.8 0.0280 0.0280 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0462 77.9 0.0270 0.0270 0.0191 0.0191 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0454 97.2 0.0266 0.0266 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0447 121.9 0.0261 0.0261 0.0186 0.0186 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0440 119.8 0.0258 0.0258 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0435 110.7 0.0254 0.0254 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0429 118.2 0.0250 0.0250 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0422 134.3 0.0246 0.0246 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0417 118.9 0.0243 0.0243 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0412 108.8 0.0240 0.0240 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0406 85.1 0.0236 0.0236 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 9.81s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0406 0.0236 0.0236 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0406 66.5 0.0236 0.0236 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0404 124.0 0.0235 0.0235 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0402 111.0 0.0234 0.0234 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0400 76.4 0.0233 0.0233 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0399 119.6 0.0232 0.0232 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0397 124.0 0.0232 0.0232 0.0166 0.0166 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0396 119.1 0.0231 0.0231 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0394 84.8 0.0230 0.0230 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0393 110.3 0.0229 0.0229 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0392 115.1 0.0228 0.0228 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0391 119.6 0.0228 0.0228 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 9.60s +[optimizer] total optimize time: 1m56.42s +[fit] peak GPU memory: 0.27 GiB +[fit2tifxyz] area_vx2=11669200 diff --git a/flat/C1/w079_spliced_p8C1/flatten_input.json b/flat/C1/w079_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..37cb4957a982673508697487d5310047380118b3 --- /dev/null +++ b/flat/C1/w079_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w079_spliced_p8C1"}]} diff --git a/flat/C1/w079_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w079_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..938c8a7929fb034f31cfba457d9bacdc8a90fc93 --- /dev/null +++ b/flat/C1/w079_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1705.312255859375, + 3182.445556640625, + 10043.73046875 + ], + [ + 6535.95458984375, + 5131.107421875, + 11038.6552734375 + ] + ], + "area_vx2": 11669200.0, + "model_source": "/workspace/flat/C1/w079_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w079_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w079_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w080_spliced_p8C1.log b/flat/C1/w080_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..e68154729e018a604e980ee8276355035b615613 --- /dev/null +++ b/flat/C1/w080_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w080_spliced_p8C1 in 131s -> /workspace/flat/C1/w080_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w080_spliced_p8C1/flatten.log b/flat/C1/w080_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..9efca0e07cea3c70b874a967767c57e3626c4a8e --- /dev/null +++ b/flat/C1/w080_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w080_spliced_p8C1: 66x391, 19442/25806 valid (75.3%) step_h=22.712 step_w=29.444 step_diag=26.483 step_avg=26.293 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x391 -> 1x33x196 -> 1x17x98 -> 1x9x49 -> 1x5x25 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w080_spliced_p8C1 shape=(66, 391, 3) valid=19442/25806 model_shape=66x391 source_step=20 output_step=20 measured_source_step=26.2801 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 391, 2) point_valid=19442/25806 quad_valid=18978/25350 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.1828 2.0018 2.0018 1.1810 1.1810 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.1828 0.1 2.0018 2.0018 1.1810 1.1810 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.4514 111.6 0.5507 0.5507 0.9006 0.9006 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 200/4500 0.9458 121.4 0.3227 0.3227 0.6231 0.6231 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 300/4500 0.7114 115.9 0.2166 0.2166 0.4946 0.4946 0.0000 0.0000 1.0e-04 2.0e-04 20.012 + stage0 400/4500 0.6035 117.2 0.1613 0.1613 0.4417 0.4417 0.0000 0.0000 2.0e-04 4.0e-04 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0191 target=20 uv_scale=1.00096 + stage0 500/4500 0.5450 117.0 0.1293 0.1293 0.4156 0.4156 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.4238 119.0 0.0993 0.0993 0.3245 0.3245 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 700/4500 0.3783 116.8 0.0905 0.0905 0.2877 0.2877 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 800/4500 0.3210 122.8 0.0829 0.0829 0.2380 0.2380 0.0000 0.0000 1.0e-04 2.0e-04 20.018 + stage0 900/4500 0.2795 122.0 0.0762 0.0762 0.2033 0.2033 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.013 target=20 uv_scale=1.00065 + stage0 1000/4500 0.2468 115.0 0.0715 0.0715 0.1753 0.1753 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2134 104.2 0.0657 0.0657 0.1477 0.1477 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1200/4500 0.1945 124.5 0.0632 0.0632 0.1313 0.1313 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 1300/4500 0.1760 125.3 0.0606 0.0606 0.1154 0.1154 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1400/4500 0.1639 116.5 0.0579 0.0579 0.1060 0.1060 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0091 target=20 uv_scale=1.00045 + stage0 1500/4500 0.1513 135.7 0.0554 0.0554 0.0958 0.0958 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1282 122.5 0.0517 0.0517 0.0762 0.0762 0.0000 0.0000 2.0e-04 3.0e-04 20.009 + stage0 1700/4500 0.1227 125.0 0.0501 0.0501 0.0726 0.0726 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1800/4500 0.1145 118.7 0.0481 0.0481 0.0665 0.0665 0.0000 0.0000 0.0000 0.0000 20.009 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1101 124.6 0.0462 0.0462 0.0639 0.0639 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0071 target=20 uv_scale=1.00036 + stage0 2000/4500 0.1020 126.6 0.0444 0.0444 0.0575 0.0575 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0888 103.1 0.0413 0.0413 0.0475 0.0475 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2200/4500 0.0847 127.3 0.0405 0.0405 0.0442 0.0442 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2300/4500 0.0813 128.0 0.0392 0.0392 0.0421 0.0421 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2400/4500 0.0767 109.1 0.0377 0.0377 0.0390 0.0390 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0059 target=20 uv_scale=1.0003 + stage0 2500/4500 0.0746 112.2 0.0367 0.0367 0.0379 0.0379 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0684 113.3 0.0354 0.0354 0.0330 0.0330 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2700/4500 0.0663 114.0 0.0341 0.0341 0.0322 0.0322 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2800/4500 0.0640 112.0 0.0329 0.0329 0.0311 0.0311 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2900/4500 0.0614 118.2 0.0318 0.0318 0.0296 0.0296 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 3000/4500 0.0588 115.0 0.0306 0.0306 0.0281 0.0281 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0563 102.1 0.0307 0.0307 0.0256 0.0256 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0549 118.8 0.0298 0.0298 0.0251 0.0251 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0534 112.9 0.0290 0.0290 0.0243 0.0243 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0519 118.2 0.0282 0.0282 0.0237 0.0237 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 3500/4500 0.0503 110.0 0.0273 0.0273 0.0230 0.0230 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0495 102.7 0.0277 0.0277 0.0218 0.0218 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0476 110.5 0.0268 0.0268 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0463 118.2 0.0258 0.0258 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0452 116.7 0.0249 0.0249 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 4000/4500 0.0440 74.2 0.0240 0.0240 0.0200 0.0200 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0428 109.4 0.0239 0.0239 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0423 108.6 0.0234 0.0234 0.0190 0.0190 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0415 118.4 0.0227 0.0227 0.0188 0.0188 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0408 118.8 0.0221 0.0221 0.0187 0.0187 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4500/4500 0.0401 117.3 0.0215 0.0215 0.0186 0.0186 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m37.72s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0385 0.0216 0.0216 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0385 65.5 0.0216 0.0216 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0393 128.7 0.0208 0.0208 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 200/1000 0.0386 105.9 0.0205 0.0205 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0381 109.7 0.0201 0.0201 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0377 92.3 0.0198 0.0198 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0373 103.7 0.0196 0.0196 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0369 122.3 0.0193 0.0193 0.0176 0.0176 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.0365 86.1 0.0191 0.0191 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 800/1000 0.0362 93.7 0.0189 0.0189 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0359 126.5 0.0187 0.0187 0.0172 0.0172 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0356 125.1 0.0185 0.0185 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 9.65s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0356 0.0185 0.0185 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.0356 19.5 0.0185 0.0185 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.0355 118.5 0.0184 0.0184 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0354 86.4 0.0184 0.0184 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0354 118.4 0.0183 0.0183 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0353 118.3 0.0183 0.0183 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0353 111.2 0.0182 0.0182 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0352 127.5 0.0182 0.0182 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0352 118.5 0.0181 0.0181 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0351 126.4 0.0181 0.0181 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0350 124.1 0.0181 0.0181 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0350 123.7 0.0180 0.0180 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 8.97s +[optimizer] total optimize time: 1m56.35s +[fit] peak GPU memory: 0.28 GiB +[fit2tifxyz] area_vx2=11882400 diff --git a/flat/C1/w080_spliced_p8C1/flatten_input.json b/flat/C1/w080_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..d4d707fec1efb9d5f16c1c5bebc6167dde601f01 --- /dev/null +++ b/flat/C1/w080_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w080_spliced_p8C1"}]} diff --git a/flat/C1/w080_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w080_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..adde44a8c4f53914722f418316c2631355e0699a --- /dev/null +++ b/flat/C1/w080_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1680.961181640625, + 3169.450439453125, + 10040.1748046875 + ], + [ + 6581.23046875, + 5145.095703125, + 11040.1552734375 + ] + ], + "area_vx2": 11882400.0, + "model_source": "/workspace/flat/C1/w080_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w080_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w080_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w081_spliced_p8C1.log b/flat/C1/w081_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..adad5177b8547996b724058ae9ee0f2e30a88c75 --- /dev/null +++ b/flat/C1/w081_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w081_spliced_p8C1 in 168s -> /workspace/flat/C1/w081_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w081_spliced_p8C1/flatten.log b/flat/C1/w081_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..59312785a16809e4d76906e6a59247ce8eb30583 --- /dev/null +++ b/flat/C1/w081_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w081_spliced_p8C1: 66x396, 19691/26136 valid (75.3%) step_h=22.823 step_w=29.468 step_diag=26.513 step_avg=26.342 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x396 -> 1x33x198 -> 1x17x99 -> 1x9x50 -> 1x5x25 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w081_spliced_p8C1 shape=(66, 396, 3) valid=19691/26136 model_shape=66x396 source_step=20 output_step=20 measured_source_step=26.3257 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 396, 2) point_valid=19691/26136 quad_valid=19218/25675 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.1755 1.9947 1.9947 1.1808 1.1808 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.1755 0.1 1.9947 1.9947 1.1808 1.1808 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.5144 96.2 0.5405 0.5405 0.9731 0.9731 0.0000 0.0000 4.0e-04 8.0e-04 20.023 + stage0 200/4500 0.9429 110.2 0.3160 0.3160 0.6269 0.6269 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 300/4500 0.7073 99.3 0.2102 0.2102 0.4971 0.4971 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.5934 119.5 0.1543 0.1543 0.4391 0.4391 0.0000 0.0000 0.0000 1.0e-04 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0169 target=20 uv_scale=1.00084 + stage0 500/4500 0.4991 97.0 0.1223 0.1223 0.3768 0.3768 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.4323 88.9 0.0992 0.0992 0.3331 0.3331 0.0000 0.0000 0.0000 0.0000 20.024 + stage0 700/4500 0.3877 88.5 0.0907 0.0907 0.2969 0.2969 0.0000 0.0000 0.0000 0.0000 20.024 + stage0 800/4500 0.3457 135.0 0.0828 0.0828 0.2628 0.2628 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 900/4500 0.2978 130.9 0.0763 0.0763 0.2215 0.2215 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.015 target=20 uv_scale=1.00075 + stage0 1000/4500 0.2581 60.2 0.0712 0.0712 0.1869 0.1869 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.2137 50.4 0.0646 0.0646 0.1491 0.1491 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 1200/4500 0.1973 60.0 0.0620 0.0620 0.1353 0.1353 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1300/4500 0.1806 61.2 0.0591 0.0591 0.1215 0.1215 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1400/4500 0.1673 93.9 0.0565 0.0565 0.1108 0.1108 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0087 target=20 uv_scale=1.00044 + stage0 1500/4500 0.1570 100.4 0.0543 0.0543 0.1028 0.1028 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1377 93.7 0.0524 0.0524 0.0854 0.0854 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1700/4500 0.1360 91.8 0.0510 0.0510 0.0821 0.0821 0.0000 0.0000 0.0015 0.0030 20.009 + stage0 1800/4500 0.1269 90.7 0.0498 0.0498 0.0770 0.0770 0.0000 0.0000 0.0000 0.0000 20.008 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.1216 107.9 0.0483 0.0483 0.0733 0.0733 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0065 target=20 uv_scale=1.00033 + stage0 2000/4500 0.1165 74.3 0.0469 0.0469 0.0695 0.0695 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.1059 55.4 0.0448 0.0448 0.0610 0.0610 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2200/4500 0.1010 74.2 0.0431 0.0431 0.0578 0.0578 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.0971 86.2 0.0419 0.0419 0.0552 0.0552 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2400/4500 0.0935 111.1 0.0412 0.0412 0.0523 0.0523 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 2500/4500 0.0899 106.4 0.0403 0.0403 0.0496 0.0496 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0808 98.0 0.0383 0.0383 0.0425 0.0425 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2700/4500 0.0772 109.3 0.0372 0.0372 0.0400 0.0400 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2800/4500 0.0738 117.9 0.0364 0.0364 0.0375 0.0375 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0714 119.4 0.0353 0.0353 0.0361 0.0361 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 3000/4500 0.0681 127.3 0.0346 0.0346 0.0334 0.0334 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0643 99.8 0.0331 0.0331 0.0313 0.0313 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0627 118.9 0.0318 0.0318 0.0308 0.0308 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0610 121.5 0.0311 0.0311 0.0300 0.0300 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0595 107.9 0.0301 0.0301 0.0294 0.0294 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 3500/4500 0.0580 87.8 0.0292 0.0292 0.0288 0.0288 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0563 107.9 0.0290 0.0290 0.0273 0.0273 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0553 115.0 0.0282 0.0282 0.0270 0.0270 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0536 127.5 0.0275 0.0275 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0524 120.6 0.0268 0.0268 0.0256 0.0256 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 4000/4500 0.0511 114.9 0.0260 0.0260 0.0251 0.0251 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0505 103.3 0.0261 0.0261 0.0244 0.0244 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0495 135.0 0.0254 0.0254 0.0241 0.0241 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0487 139.6 0.0248 0.0248 0.0239 0.0239 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0476 135.5 0.0242 0.0242 0.0235 0.0235 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 4500/4500 0.0469 109.2 0.0236 0.0236 0.0232 0.0232 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m57.52s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0453 0.0237 0.0237 0.0216 0.0216 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0453 80.4 0.0237 0.0237 0.0216 0.0216 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0456 54.5 0.0230 0.0230 0.0225 0.0225 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0456 58.6 0.0227 0.0227 0.0229 0.0229 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0452 81.9 0.0224 0.0224 0.0228 0.0228 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0448 113.4 0.0221 0.0221 0.0227 0.0227 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0444 97.2 0.0219 0.0219 0.0226 0.0226 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0441 106.8 0.0216 0.0216 0.0225 0.0225 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0437 92.7 0.0214 0.0214 0.0223 0.0223 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0434 113.5 0.0212 0.0212 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0432 95.7 0.0209 0.0209 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0429 68.9 0.0208 0.0208 0.0221 0.0221 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 12.57s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0428 0.0208 0.0208 0.0221 0.0221 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0428 36.2 0.0208 0.0208 0.0221 0.0221 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0428 72.2 0.0207 0.0207 0.0221 0.0221 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0427 62.2 0.0207 0.0207 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0426 82.2 0.0206 0.0206 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0426 43.7 0.0206 0.0206 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0425 56.9 0.0205 0.0205 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0424 105.2 0.0205 0.0205 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0423 85.2 0.0205 0.0205 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0423 82.4 0.0204 0.0204 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0422 108.9 0.0204 0.0204 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0422 114.3 0.0203 0.0203 0.0218 0.0218 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 13.78s +[optimizer] total optimize time: 2m23.88s +[fit] peak GPU memory: 0.28 GiB +[fit2tifxyz] area_vx2=11994000 diff --git a/flat/C1/w081_spliced_p8C1/flatten_input.json b/flat/C1/w081_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..445670bf6179b2b58bc321d0103ba3c742ed37db --- /dev/null +++ b/flat/C1/w081_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w081_spliced_p8C1"}]} diff --git a/flat/C1/w081_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w081_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..9e78dc6ae54e149318a9458c80b0ca6f118b46ef --- /dev/null +++ b/flat/C1/w081_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1669.02490234375, + 3152.00439453125, + 10041.294921875 + ], + [ + 6602.021484375, + 5165.826171875, + 11039.8505859375 + ] + ], + "area_vx2": 11994000.0, + "model_source": "/workspace/flat/C1/w081_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w081_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w081_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w082_spliced_p8C1.log b/flat/C1/w082_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..e00ea3db33f5b3f8aa2cde745aa3f4cbc1e8fd32 --- /dev/null +++ b/flat/C1/w082_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w082_spliced_p8C1 in 89s -> /workspace/flat/C1/w082_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w083_spliced_p8C1.log b/flat/C1/w083_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..d2b85be9cbc1a690cc7dc87290330d4dd41e4014 --- /dev/null +++ b/flat/C1/w083_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w083_spliced_p8C1 in 91s -> /workspace/flat/C1/w083_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w084_spliced_p8C1.log b/flat/C1/w084_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..1a61b91fc77ea270005efd20994ae00eee13a916 --- /dev/null +++ b/flat/C1/w084_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w084_spliced_p8C1 in 168s -> /workspace/flat/C1/w084_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w085_spliced_p8C1.log b/flat/C1/w085_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..0622281cbc6b73fc125f12e3d1648ed9b7de16f5 --- /dev/null +++ b/flat/C1/w085_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w085_spliced_p8C1 in 94s -> /workspace/flat/C1/w085_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w086_spliced_p8C1.log b/flat/C1/w086_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..8518fe8298dbb2f32fec60050eb438abf783e67a --- /dev/null +++ b/flat/C1/w086_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w086_spliced_p8C1 in 116s -> /workspace/flat/C1/w086_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w086_spliced_p8C1/flatten.log b/flat/C1/w086_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..713d963f5b2d428ebf3a6342167c5a95d1824396 --- /dev/null +++ b/flat/C1/w086_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w086_spliced_p8C1: 66x420, 20922/27720 valid (75.5%) step_h=23.204 step_w=29.648 step_diag=26.627 step_avg=26.539 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x420 -> 1x33x210 -> 1x17x105 -> 1x9x53 -> 1x5x27 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w086_spliced_p8C1 shape=(66, 420, 3) valid=20922/27720 model_shape=66x420 source_step=20 output_step=20 measured_source_step=26.5277 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 420, 2) point_valid=20922/27720 quad_valid=20419/27235 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.2662 2.0208 2.0208 1.2455 1.2455 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.2662 0.1 2.0208 2.0208 1.2455 1.2455 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.6247 127.4 0.5649 0.5649 1.0587 1.0587 0.0000 0.0000 6.0e-04 0.0011 20.025 + stage0 200/4500 1.1542 120.1 0.3542 0.3542 0.8000 0.8000 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 300/4500 0.9295 114.0 0.2520 0.2520 0.6775 0.6775 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 400/4500 0.7240 103.0 0.1988 0.1988 0.5251 0.5251 0.0000 0.0000 0.0000 1.0e-04 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0223 target=20 uv_scale=1.00111 + stage0 500/4500 0.6699 121.1 0.1667 0.1667 0.5032 0.5032 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.5852 125.9 0.1412 0.1412 0.4439 0.4439 0.0000 0.0000 0.0000 1.0e-04 20.025 + stage0 700/4500 0.5349 125.6 0.1319 0.1319 0.4029 0.4029 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 800/4500 0.5130 138.9 0.1255 0.1255 0.3875 0.3875 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 900/4500 0.4461 115.4 0.1197 0.1197 0.3264 0.3264 0.0000 0.0000 0.0000 1.0e-04 20.021 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0191 target=20 uv_scale=1.00095 + stage0 1000/4500 0.4161 100.8 0.1141 0.1141 0.3020 0.3020 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.3531 111.2 0.1100 0.1100 0.2431 0.2431 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1200/4500 0.3451 137.3 0.1070 0.1070 0.2380 0.2380 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1300/4500 0.3299 116.4 0.1042 0.1042 0.2257 0.2257 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1400/4500 0.3290 129.6 0.1020 0.1020 0.2268 0.2268 0.0000 0.0000 1.0e-04 2.0e-04 20.017 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0154 target=20 uv_scale=1.00077 + stage0 1500/4500 0.3114 135.6 0.0996 0.0996 0.2118 0.2118 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.2687 134.1 0.0984 0.0984 0.1702 0.1702 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1700/4500 0.2675 117.0 0.0968 0.0968 0.1706 0.1706 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1800/4500 0.2627 128.0 0.0950 0.0950 0.1676 0.1676 0.0000 0.0000 0.0000 0.0000 20.011 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.2568 133.8 0.0934 0.0934 0.1635 0.1635 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0101 target=20 uv_scale=1.00051 + stage0 2000/4500 0.2499 134.6 0.0916 0.0916 0.1583 0.1583 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.2355 110.4 0.0933 0.0933 0.1422 0.1422 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2200/4500 0.2328 164.3 0.0918 0.0918 0.1409 0.1409 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2300/4500 0.2313 152.6 0.0903 0.0903 0.1410 0.1410 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2400/4500 0.2268 138.3 0.0889 0.0889 0.1379 0.1379 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0094 target=20 uv_scale=1.00047 + stage0 2500/4500 0.2240 112.9 0.0876 0.0876 0.1363 0.1363 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 2600/4500 0.2140 118.2 0.0888 0.0888 0.1252 0.1252 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2700/4500 0.2126 123.0 0.0876 0.0876 0.1250 0.1250 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2800/4500 0.2101 127.0 0.0862 0.0862 0.1239 0.1239 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2900/4500 0.2069 122.4 0.0850 0.0850 0.1219 0.1219 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0085 target=20 uv_scale=1.00042 + stage0 3000/4500 0.2019 116.6 0.0838 0.0838 0.1182 0.1182 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.1943 112.9 0.0858 0.0858 0.1085 0.1085 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3200/4500 0.1924 134.9 0.0842 0.0842 0.1082 0.1082 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3300/4500 0.1912 120.9 0.0828 0.0828 0.1084 0.1084 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 3400/4500 0.1895 107.8 0.0814 0.0814 0.1081 0.1081 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.008 target=20 uv_scale=1.0004 + stage0 3500/4500 0.1857 119.0 0.0803 0.0803 0.1054 0.1054 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.1799 132.1 0.0826 0.0826 0.0973 0.0973 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.1807 129.3 0.0811 0.0811 0.0996 0.0996 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3800/4500 0.1788 118.3 0.0797 0.0797 0.0990 0.0990 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.1778 125.5 0.0785 0.0785 0.0993 0.0993 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0077 target=20 uv_scale=1.00039 + stage0 4000/4500 0.1755 129.5 0.0772 0.0772 0.0982 0.0982 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 4100/4500 0.1720 112.3 0.0792 0.0792 0.0928 0.0928 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4200/4500 0.1724 153.7 0.0782 0.0782 0.0942 0.0942 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 4300/4500 0.1703 136.2 0.0770 0.0770 0.0933 0.0933 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 4400/4500 0.1688 128.1 0.0763 0.0763 0.0925 0.0925 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0072 target=20 uv_scale=1.00036 + stage0 4500/4500 0.1682 118.2 0.0755 0.0755 0.0928 0.0928 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m25.91s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1571 0.0755 0.0755 0.0816 0.0816 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1571 96.2 0.0755 0.0755 0.0816 0.0816 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.1663 129.2 0.0743 0.0743 0.0921 0.0921 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 200/1000 0.1655 136.7 0.0738 0.0738 0.0917 0.0917 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 300/1000 0.1642 124.2 0.0733 0.0733 0.0909 0.0909 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 400/1000 0.1629 127.4 0.0728 0.0728 0.0901 0.0901 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 500/1000 0.1633 135.1 0.0723 0.0723 0.0910 0.0910 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 600/1000 0.1622 124.9 0.0719 0.0719 0.0904 0.0904 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 700/1000 0.1613 132.5 0.0714 0.0714 0.0899 0.0899 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 800/1000 0.1604 108.7 0.0710 0.0710 0.0894 0.0894 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 900/1000 0.1588 123.4 0.0705 0.0705 0.0882 0.0882 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 1000/1000 0.1592 125.6 0.0702 0.0702 0.0890 0.0890 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage1 'flatten' complete in 8.42s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.1591 0.0702 0.0702 0.0889 0.0889 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 1/1000 0.1591 82.8 0.0702 0.0702 0.0889 0.0889 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 100/1000 0.1588 134.2 0.0700 0.0700 0.0888 0.0888 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 200/1000 0.1586 130.6 0.0699 0.0699 0.0887 0.0887 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 300/1000 0.1583 117.1 0.0698 0.0698 0.0885 0.0885 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 400/1000 0.1580 123.3 0.0696 0.0696 0.0883 0.0883 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 500/1000 0.1578 124.0 0.0695 0.0695 0.0882 0.0882 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 600/1000 0.1575 128.0 0.0694 0.0694 0.0881 0.0881 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 700/1000 0.1573 96.5 0.0693 0.0693 0.0879 0.0879 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 800/1000 0.1570 128.3 0.0692 0.0692 0.0877 0.0877 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 900/1000 0.1568 137.4 0.0691 0.0691 0.0877 0.0877 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 1000/1000 0.1566 136.4 0.0690 0.0690 0.0875 0.0875 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage2 'flatten' complete in 8.40s +[optimizer] total optimize time: 1m42.74s +[fit] peak GPU memory: 0.32 GiB +[fit2tifxyz] area_vx2=13218400 diff --git a/flat/C1/w086_spliced_p8C1/flatten_input.json b/flat/C1/w086_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..3b11a58d3ca8e5c04a81c154dbe0b21af4182b8a --- /dev/null +++ b/flat/C1/w086_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w086_spliced_p8C1"}]} diff --git a/flat/C1/w086_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w086_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..9d199cd648838c13aaef7e30c3b99a51630fc320 --- /dev/null +++ b/flat/C1/w086_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1632.1890869140625, + 3069.4697265625, + 10041.818359375 + ], + [ + 6705.8984375, + 5257.107421875, + 11038.1376953125 + ] + ], + "area_vx2": 13218400.0, + "model_source": "/workspace/flat/C1/w086_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w086_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w086_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w087_spliced_p8C1.log b/flat/C1/w087_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..8c979a64907827931f46441f2f42e6b27c57332d --- /dev/null +++ b/flat/C1/w087_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w087_spliced_p8C1 in 125s -> /workspace/flat/C1/w087_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w087_spliced_p8C1/flatten.log b/flat/C1/w087_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..7c045b733a24859845960a82356e1653302d064a --- /dev/null +++ b/flat/C1/w087_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w087_spliced_p8C1: 66x425, 21170/28050 valid (75.5%) step_h=23.357 step_w=29.738 step_diag=26.715 step_avg=26.644 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x425 -> 1x33x213 -> 1x17x107 -> 1x9x54 -> 1x5x27 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w087_spliced_p8C1 shape=(66, 425, 3) valid=21170/28050 model_shape=66x425 source_step=20 output_step=20 measured_source_step=26.6329 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 425, 2) point_valid=21170/28050 quad_valid=20658/27560 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.3828 2.0650 2.0650 1.3178 1.3178 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.3828 0.1 2.0650 2.0650 1.3178 1.3178 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.6709 121.9 0.5961 0.5961 1.0748 1.0748 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 200/4500 1.2342 126.4 0.3752 0.3752 0.8589 0.8589 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 300/4500 0.9967 131.4 0.2744 0.2744 0.7223 0.7223 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 400/4500 0.7615 125.7 0.2164 0.2164 0.5451 0.5451 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0174 target=20 uv_scale=1.00087 + stage0 500/4500 0.7225 126.6 0.1832 0.1832 0.5393 0.5393 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.6538 125.0 0.1516 0.1516 0.5022 0.5022 0.0000 0.0000 0.0000 0.0000 20.024 + stage0 700/4500 0.6209 126.2 0.1421 0.1421 0.4787 0.4787 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 800/4500 0.5642 129.1 0.1335 0.1335 0.4308 0.4308 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 900/4500 0.5115 122.5 0.1263 0.1263 0.3852 0.3852 0.0000 0.0000 0.0000 0.0000 20.021 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0178 target=20 uv_scale=1.00089 + stage0 1000/4500 0.4685 125.8 0.1202 0.1202 0.3483 0.3483 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.4305 112.9 0.1179 0.1179 0.3126 0.3126 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 1200/4500 0.3824 123.8 0.1156 0.1156 0.2668 0.2668 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1300/4500 0.3966 123.4 0.1128 0.1128 0.2837 0.2837 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1400/4500 0.3848 132.0 0.1105 0.1105 0.2743 0.2743 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0166 target=20 uv_scale=1.00083 + stage0 1500/4500 0.4001 129.1 0.1081 0.1081 0.2919 0.2919 0.0000 0.0000 1.0e-04 2.0e-04 20.000 + stage0 1600/4500 0.3394 124.8 0.1089 0.1089 0.2305 0.2305 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1700/4500 0.3360 111.1 0.1076 0.1076 0.2283 0.2283 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1800/4500 0.3301 135.0 0.1062 0.1062 0.2239 0.2239 0.0000 0.0000 0.0000 0.0000 20.013 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.3268 135.5 0.1048 0.1048 0.2218 0.2218 0.0000 0.0000 1.0e-04 2.0e-04 20.013 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.011 target=20 uv_scale=1.00055 + stage0 2000/4500 0.3158 133.8 0.1036 0.1036 0.2123 0.2123 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.2817 117.3 0.1038 0.1038 0.1779 0.1779 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2200/4500 0.2913 130.7 0.1024 0.1024 0.1890 0.1890 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2300/4500 0.2872 122.9 0.1010 0.1010 0.1861 0.1861 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 2400/4500 0.2786 137.6 0.0990 0.0990 0.1796 0.1796 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0092 target=20 uv_scale=1.00046 + stage0 2500/4500 0.2683 128.0 0.0984 0.0984 0.1699 0.1699 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.2533 126.6 0.0990 0.0990 0.1543 0.1543 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2700/4500 0.2515 131.8 0.0975 0.0975 0.1540 0.1540 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2800/4500 0.2495 135.0 0.0965 0.0965 0.1530 0.1530 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2900/4500 0.2487 133.4 0.0951 0.0951 0.1536 0.1536 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0094 target=20 uv_scale=1.00047 + stage0 3000/4500 0.2441 135.9 0.0939 0.0939 0.1502 0.1502 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.2334 105.9 0.0952 0.0952 0.1382 0.1382 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3200/4500 0.2375 123.0 0.0938 0.0938 0.1437 0.1437 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 3300/4500 0.2317 120.0 0.0926 0.0926 0.1391 0.1391 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3400/4500 0.2330 119.2 0.0918 0.0918 0.1412 0.1412 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0105 target=20 uv_scale=1.00053 + stage0 3500/4500 0.2349 137.6 0.0908 0.0908 0.1441 0.1441 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.2069 125.0 0.0922 0.0922 0.1147 0.1147 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3700/4500 0.2186 142.9 0.0904 0.0904 0.1277 0.1277 0.0000 0.0000 2.0e-04 5.0e-04 20.007 + stage0 3800/4500 0.2266 123.7 0.0894 0.0894 0.1372 0.1372 0.0000 0.0000 0.0000 0.0000 20.011 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.2156 96.7 0.0879 0.0879 0.1277 0.1277 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0091 target=20 uv_scale=1.00046 + stage0 4000/4500 0.2186 130.7 0.0866 0.0866 0.1320 0.1320 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.2084 99.0 0.0895 0.0895 0.1189 0.1189 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4200/4500 0.2099 153.2 0.0885 0.0885 0.1214 0.1214 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 4300/4500 0.2096 78.2 0.0874 0.0874 0.1222 0.1222 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 4400/4500 0.2112 79.0 0.0868 0.0868 0.1243 0.1243 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0075 target=20 uv_scale=1.00038 + stage0 4500/4500 0.2072 131.4 0.0863 0.0863 0.1209 0.1209 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m31.17s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.1946 0.0864 0.0864 0.1082 0.1082 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.1946 83.0 0.0864 0.0864 0.1082 0.1082 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.2122 123.1 0.0853 0.0853 0.1269 0.1269 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 200/1000 0.2123 132.3 0.0849 0.0849 0.1273 0.1273 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 300/1000 0.2110 129.0 0.0846 0.0846 0.1264 0.1264 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 400/1000 0.2113 126.2 0.0843 0.0843 0.1270 0.1270 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 500/1000 0.2072 130.3 0.0840 0.0840 0.1232 0.1232 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 600/1000 0.2100 128.7 0.0837 0.0837 0.1263 0.1263 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 700/1000 0.2071 90.9 0.0835 0.0835 0.1236 0.1236 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 800/1000 0.2069 99.0 0.0832 0.0832 0.1238 0.1238 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 900/1000 0.2081 103.8 0.0830 0.0830 0.1251 0.1251 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 1000/1000 0.2044 141.1 0.0827 0.0827 0.1216 0.1216 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage1 'flatten' complete in 8.91s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.2053 0.0827 0.0827 0.1226 0.1226 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 1/1000 0.2053 90.1 0.0827 0.0827 0.1226 0.1226 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 100/1000 0.2070 55.3 0.0826 0.0826 0.1244 0.1244 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 200/1000 0.2066 109.1 0.0826 0.0826 0.1241 0.1241 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 300/1000 0.2065 136.3 0.0825 0.0825 0.1240 0.1240 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 400/1000 0.2064 148.4 0.0824 0.0824 0.1240 0.1240 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 500/1000 0.2059 120.6 0.0823 0.0823 0.1236 0.1236 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 600/1000 0.2060 105.9 0.0823 0.0823 0.1238 0.1238 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 700/1000 0.2055 87.9 0.0822 0.0822 0.1233 0.1233 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 800/1000 0.2056 118.5 0.0821 0.0821 0.1235 0.1235 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 900/1000 0.2052 112.6 0.0821 0.0821 0.1231 0.1231 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 1000/1000 0.2054 117.2 0.0820 0.0820 0.1234 0.1234 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage2 'flatten' complete in 10.09s +[optimizer] total optimize time: 1m50.17s +[fit] peak GPU memory: 0.32 GiB +[fit2tifxyz] area_vx2=13601200 diff --git a/flat/C1/w087_spliced_p8C1/flatten_input.json b/flat/C1/w087_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..171ff16830b967ed75232efe3d3695dd1c4c4111 --- /dev/null +++ b/flat/C1/w087_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w087_spliced_p8C1"}]} diff --git a/flat/C1/w087_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w087_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e62ad28fb4f9a2cb6d6167ffd53d40db422cd1c0 --- /dev/null +++ b/flat/C1/w087_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1619.2138671875, + 3057.791748046875, + 10041.2255859375 + ], + [ + 6729.11181640625, + 5284.9970703125, + 11039.0595703125 + ] + ], + "area_vx2": 13601200.0, + "model_source": "/workspace/flat/C1/w087_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w087_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w087_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w088_spliced_p8C1.log b/flat/C1/w088_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..c7b37c70a60bc989bee6257db4f1d3bccd256ebe --- /dev/null +++ b/flat/C1/w088_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w088_spliced_p8C1 in 403s -> /workspace/flat/C1/w088_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w088_spliced_p8C1/flatten.log b/flat/C1/w088_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..3d620f440bf88d467ecd74e6e244cb51ec9db4ac --- /dev/null +++ b/flat/C1/w088_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w088_spliced_p8C1: 66x430, 21420/28380 valid (75.5%) step_h=23.508 step_w=29.932 step_diag=26.855 step_avg=26.800 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x430 -> 1x33x215 -> 1x17x108 -> 1x9x54 -> 1x5x27 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w088_spliced_p8C1 shape=(66, 430, 3) valid=21420/28380 model_shape=66x430 source_step=20 output_step=20 measured_source_step=26.7906 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 430, 2) point_valid=21420/28380 quad_valid=20906/27885 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.6325 2.1657 2.1657 1.4668 1.4668 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.6325 0.3 2.1657 2.1657 1.4668 1.4668 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.7485 61.1 0.6338 0.6338 1.1147 1.1147 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 200/4500 1.4166 41.8 0.3984 0.3984 1.0182 1.0182 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 300/4500 1.0168 30.3 0.2916 0.2916 0.7251 0.7251 0.0000 0.0000 0.0000 1.0e-04 20.010 + stage0 400/4500 0.9905 32.3 0.2325 0.2325 0.7580 0.7580 0.0000 0.0000 0.0000 0.0000 20.021 +[optimizer] stage0: flatten renorm step=500 avg_step=20.019 target=20 uv_scale=1.00095 + stage0 500/4500 0.8611 43.4 0.1976 0.1976 0.6635 0.6635 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.7667 62.5 0.1708 0.1708 0.5959 0.5959 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 700/4500 0.7255 30.4 0.1607 0.1607 0.5648 0.5648 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 800/4500 0.6795 27.1 0.1544 0.1544 0.5249 0.5249 0.0000 0.0000 1.0e-04 2.0e-04 20.022 + stage0 900/4500 0.6277 45.0 0.1494 0.1494 0.4784 0.4784 0.0000 0.0000 0.0000 0.0000 20.020 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0181 target=20 uv_scale=1.00091 + stage0 1000/4500 0.5915 78.9 0.1443 0.1443 0.4472 0.4472 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.5278 36.8 0.1426 0.1426 0.3852 0.3852 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1200/4500 0.5037 28.7 0.1402 0.1402 0.3635 0.3635 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1300/4500 0.4954 32.0 0.1375 0.1375 0.3578 0.3578 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1400/4500 0.4809 22.3 0.1351 0.1351 0.3457 0.3457 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0144 target=20 uv_scale=1.00072 + stage0 1500/4500 0.4699 59.0 0.1332 0.1332 0.3362 0.3362 0.0000 0.0000 3.0e-04 5.0e-04 20.000 + stage0 1600/4500 0.4388 55.2 0.1339 0.1339 0.3049 0.3049 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1700/4500 0.4362 22.3 0.1323 0.1323 0.3039 0.3039 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 1800/4500 0.4330 18.5 0.1306 0.1306 0.3024 0.3024 0.0000 0.0000 0.0000 0.0000 20.014 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.4243 49.5 0.1286 0.1286 0.2956 0.2956 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0141 target=20 uv_scale=1.00071 + stage0 2000/4500 0.4206 40.1 0.1271 0.1271 0.2935 0.2935 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.3980 17.2 0.1293 0.1293 0.2687 0.2687 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 2200/4500 0.3907 20.1 0.1278 0.1278 0.2629 0.2629 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 2300/4500 0.3838 33.3 0.1261 0.1261 0.2577 0.2577 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2400/4500 0.3870 43.3 0.1247 0.1247 0.2624 0.2624 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0117 target=20 uv_scale=1.00059 + stage0 2500/4500 0.3790 34.5 0.1229 0.1229 0.2561 0.2561 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.3521 27.0 0.1252 0.1252 0.2268 0.2268 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2700/4500 0.3516 35.8 0.1242 0.1242 0.2275 0.2275 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2800/4500 0.3511 49.9 0.1229 0.1229 0.2281 0.2281 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2900/4500 0.3463 38.6 0.1219 0.1219 0.2244 0.2244 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0106 target=20 uv_scale=1.00053 + stage0 3000/4500 0.3521 23.7 0.1209 0.1209 0.2312 0.2312 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.3342 19.9 0.1238 0.1238 0.2104 0.2104 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3200/4500 0.3333 45.7 0.1227 0.1227 0.2106 0.2106 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 3300/4500 0.3339 59.2 0.1217 0.1217 0.2121 0.2121 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 3400/4500 0.3339 22.2 0.1208 0.1208 0.2131 0.2131 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0098 target=20 uv_scale=1.00049 + stage0 3500/4500 0.3346 21.7 0.1200 0.1200 0.2146 0.2146 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.3308 34.2 0.1234 0.1234 0.2074 0.2074 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3700/4500 0.3299 34.6 0.1220 0.1220 0.2079 0.2079 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 3800/4500 0.3250 21.4 0.1209 0.1209 0.2041 0.2041 0.0000 0.0000 0.0000 0.0000 20.009 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.3209 30.9 0.1197 0.1197 0.2011 0.2011 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0104 target=20 uv_scale=1.00052 + stage0 4000/4500 0.3226 50.1 0.1184 0.1184 0.2042 0.2042 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.3077 32.3 0.1214 0.1214 0.1863 0.1863 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4200/4500 0.3115 25.8 0.1202 0.1202 0.1913 0.1913 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 4300/4500 0.3140 26.9 0.1194 0.1194 0.1946 0.1946 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 4400/4500 0.3088 43.7 0.1184 0.1184 0.1900 0.1900 0.0000 0.0000 2.0e-04 4.0e-04 20.008 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0078 target=20 uv_scale=1.00039 + stage0 4500/4500 0.3068 65.8 0.1179 0.1179 0.1889 0.1889 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 4m07.11s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.2840 0.1180 0.1180 0.1660 0.1660 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.2840 11.7 0.1180 0.1180 0.1660 0.1660 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.3029 24.7 0.1160 0.1160 0.1869 0.1869 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 200/1000 0.3095 25.0 0.1158 0.1158 0.1937 0.1937 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 300/1000 0.3079 33.4 0.1155 0.1155 0.1925 0.1925 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 400/1000 0.3084 45.2 0.1150 0.1150 0.1933 0.1933 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 500/1000 0.3055 33.4 0.1147 0.1147 0.1908 0.1908 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 600/1000 0.3054 35.6 0.1142 0.1142 0.1912 0.1912 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 700/1000 0.3055 41.6 0.1139 0.1139 0.1916 0.1916 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 800/1000 0.3053 38.7 0.1135 0.1135 0.1917 0.1917 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 900/1000 0.3047 34.2 0.1132 0.1132 0.1915 0.1915 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 1000/1000 0.3035 15.2 0.1129 0.1129 0.1906 0.1906 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage1 'flatten' complete in 36.60s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.3023 0.1129 0.1129 0.1894 0.1894 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 1/1000 0.3023 11.4 0.1129 0.1129 0.1894 0.1894 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 100/1000 0.3027 51.3 0.1128 0.1128 0.1899 0.1899 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 200/1000 0.3033 50.4 0.1127 0.1127 0.1906 0.1906 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 300/1000 0.3034 29.5 0.1126 0.1126 0.1908 0.1908 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 400/1000 0.3033 14.9 0.1126 0.1126 0.1908 0.1908 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 500/1000 0.3034 21.8 0.1125 0.1125 0.1909 0.1909 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 600/1000 0.3030 55.5 0.1124 0.1124 0.1906 0.1906 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 700/1000 0.3031 35.7 0.1123 0.1123 0.1908 0.1908 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 800/1000 0.3028 17.5 0.1122 0.1122 0.1906 0.1906 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 900/1000 0.3028 18.5 0.1122 0.1122 0.1907 0.1907 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 1000/1000 0.3027 40.2 0.1121 0.1121 0.1906 0.1906 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage2 'flatten' complete in 38.58s +[optimizer] total optimize time: 5m22.29s +[fit] peak GPU memory: 0.32 GiB +[fit2tifxyz] area_vx2=13917600 diff --git a/flat/C1/w089_spliced_p8C1.log b/flat/C1/w089_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..87113874a818f2d320b8512609042af9fdd3b226 --- /dev/null +++ b/flat/C1/w089_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w089_spliced_p8C1 in 101s -> /workspace/flat/C1/w089_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w089_spliced_p8C1/flatten.log b/flat/C1/w089_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..08fb6bcc60211dbc2ee390851f52d84a76c7a866 --- /dev/null +++ b/flat/C1/w089_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w089_spliced_p8C1: 66x435, 21703/28710 valid (75.6%) step_h=23.523 step_w=30.041 step_diag=26.914 step_avg=26.861 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x435 -> 1x33x218 -> 1x17x109 -> 1x9x55 -> 1x5x28 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w089_spliced_p8C1 shape=(66, 435, 3) valid=21703/28710 model_shape=66x435 source_step=20 output_step=20 measured_source_step=26.854 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 435, 2) point_valid=21703/28710 quad_valid=21180/28210 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.7570 2.2259 2.2259 1.5310 1.5310 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.7570 0.1 2.2259 2.2259 1.5310 1.5310 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.9687 114.8 0.6377 0.6377 1.3309 1.3309 0.0000 0.0000 1.0e-04 1.0e-04 20.021 + stage0 200/4500 1.4732 131.1 0.4020 0.4020 1.0712 1.0712 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 300/4500 1.0984 162.8 0.2947 0.2947 0.8037 0.8037 0.0000 0.0000 1.0e-04 1.0e-04 20.012 + stage0 400/4500 1.0322 190.5 0.2350 0.2350 0.7973 0.7973 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0178 target=20 uv_scale=1.00089 + stage0 500/4500 0.9003 160.2 0.2019 0.2019 0.6984 0.6984 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.8540 143.3 0.1746 0.1746 0.6794 0.6794 0.0000 0.0000 0.0000 0.0000 20.024 + stage0 700/4500 0.8039 122.8 0.1663 0.1663 0.6375 0.6375 0.0000 0.0000 0.0000 1.0e-04 20.026 + stage0 800/4500 0.7420 114.2 0.1590 0.1590 0.5830 0.5830 0.0000 0.0000 0.0000 0.0000 20.024 + stage0 900/4500 0.6558 104.1 0.1532 0.1532 0.5024 0.5024 0.0000 0.0000 1.0e-04 2.0e-04 20.019 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0168 target=20 uv_scale=1.00084 + stage0 1000/4500 0.5989 74.2 0.1485 0.1485 0.4504 0.4504 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.5462 134.0 0.1461 0.1461 0.4001 0.4001 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1200/4500 0.5408 153.4 0.1440 0.1440 0.3968 0.3968 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1300/4500 0.5281 169.6 0.1420 0.1420 0.3861 0.3861 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1400/4500 0.5103 119.0 0.1397 0.1397 0.3706 0.3706 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0145 target=20 uv_scale=1.00072 + stage0 1500/4500 0.4970 200.3 0.1380 0.1380 0.3589 0.3589 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.4444 131.5 0.1386 0.1386 0.3034 0.3034 0.0000 0.0000 0.0012 0.0024 20.009 + stage0 1700/4500 0.4422 206.1 0.1373 0.1373 0.3049 0.3049 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1800/4500 0.4409 138.9 0.1364 0.1364 0.3045 0.3045 0.0000 0.0000 0.0000 0.0000 20.011 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.4379 182.6 0.1352 0.1352 0.3027 0.3027 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0095 target=20 uv_scale=1.00048 + stage0 2000/4500 0.4146 170.1 0.1341 0.1341 0.2805 0.2805 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.3985 166.5 0.1352 0.1352 0.2633 0.2633 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2200/4500 0.4082 168.3 0.1343 0.1343 0.2740 0.2740 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2300/4500 0.4069 178.9 0.1331 0.1331 0.2739 0.2739 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 2400/4500 0.4070 155.3 0.1320 0.1320 0.2749 0.2749 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0123 target=20 uv_scale=1.00062 + stage0 2500/4500 0.3927 143.7 0.1306 0.1306 0.2621 0.2621 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.3606 131.8 0.1305 0.1305 0.2301 0.2301 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2700/4500 0.3671 154.6 0.1298 0.1298 0.2373 0.2373 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2800/4500 0.3667 130.0 0.1290 0.1290 0.2376 0.2376 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2900/4500 0.3430 141.6 0.1279 0.1279 0.2147 0.2147 0.0000 0.0000 2.0e-04 4.0e-04 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0075 target=20 uv_scale=1.00038 + stage0 3000/4500 0.3509 140.3 0.1268 0.1268 0.2241 0.2241 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.3413 125.3 0.1279 0.1279 0.2134 0.2134 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3200/4500 0.3411 157.7 0.1260 0.1260 0.2151 0.2151 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 3300/4500 0.3410 243.4 0.1246 0.1246 0.2164 0.2164 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3400/4500 0.3369 233.5 0.1238 0.1238 0.2131 0.2131 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0067 target=20 uv_scale=1.00033 + stage0 3500/4500 0.3286 245.8 0.1232 0.1232 0.2054 0.2054 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.3234 255.5 0.1251 0.1251 0.1983 0.1983 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3700/4500 0.3306 198.3 0.1246 0.1246 0.2060 0.2060 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3800/4500 0.3249 251.7 0.1236 0.1236 0.2013 0.2013 0.0000 0.0000 0.0000 0.0000 20.008 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.3256 297.6 0.1229 0.1229 0.2027 0.2027 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0064 target=20 uv_scale=1.00032 + stage0 4000/4500 0.3128 299.6 0.1216 0.1216 0.1912 0.1912 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.3049 203.3 0.1243 0.1243 0.1806 0.1806 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.3056 258.2 0.1235 0.1235 0.1820 0.1820 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4300/4500 0.3055 265.4 0.1222 0.1222 0.1833 0.1833 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4400/4500 0.3071 271.4 0.1212 0.1212 0.1859 0.1859 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0081 target=20 uv_scale=1.0004 + stage0 4500/4500 0.3067 281.3 0.1208 0.1208 0.1859 0.1859 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m16.66s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.2829 0.1209 0.1209 0.1621 0.1621 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.2829 119.8 0.1209 0.1209 0.1621 0.1621 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.3034 289.2 0.1189 0.1189 0.1845 0.1845 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 200/1000 0.3029 65.2 0.1183 0.1183 0.1846 0.1846 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 300/1000 0.3026 246.2 0.1178 0.1178 0.1847 0.1847 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 400/1000 0.3004 272.2 0.1173 0.1173 0.1830 0.1830 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 500/1000 0.2989 324.9 0.1169 0.1169 0.1820 0.1820 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 600/1000 0.2969 320.6 0.1164 0.1164 0.1805 0.1805 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 700/1000 0.2946 319.2 0.1161 0.1161 0.1785 0.1785 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 800/1000 0.2947 323.2 0.1156 0.1156 0.1791 0.1791 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 900/1000 0.2938 271.5 0.1152 0.1152 0.1786 0.1786 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 1000/1000 0.2916 260.7 0.1148 0.1148 0.1768 0.1768 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage1 'flatten' complete in 4.90s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.2907 0.1148 0.1148 0.1759 0.1759 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 1/1000 0.2907 136.5 0.1148 0.1148 0.1759 0.1759 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 100/1000 0.2907 270.0 0.1146 0.1146 0.1761 0.1761 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 200/1000 0.2900 259.6 0.1145 0.1145 0.1755 0.1755 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 300/1000 0.2893 288.2 0.1144 0.1144 0.1749 0.1749 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 400/1000 0.2890 274.0 0.1143 0.1143 0.1748 0.1748 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 500/1000 0.2889 277.5 0.1142 0.1142 0.1747 0.1747 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 600/1000 0.2886 278.7 0.1141 0.1141 0.1746 0.1746 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 700/1000 0.2884 302.5 0.1140 0.1140 0.1744 0.1744 0.0000 0.0000 0.0000 0.0000 20.008 + stage2 800/1000 0.2883 128.0 0.1139 0.1139 0.1745 0.1745 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 900/1000 0.2880 132.5 0.1138 0.1138 0.1742 0.1742 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 1000/1000 0.2873 322.0 0.1137 0.1137 0.1737 0.1737 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage2 'flatten' complete in 4.59s +[optimizer] total optimize time: 1m26.15s +[fit] peak GPU memory: 0.32 GiB +[fit2tifxyz] area_vx2=14141600 diff --git a/flat/C1/w089_spliced_p8C1/flatten_input.json b/flat/C1/w089_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..58c9a7b7c0d915af25168f6c274b8eccc42ced0f --- /dev/null +++ b/flat/C1/w089_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w089_spliced_p8C1"}]} diff --git a/flat/C1/w089_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w089_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..09bacaaded73b1c4ee03d1c2a45a176c1a3c8d20 --- /dev/null +++ b/flat/C1/w089_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1590.7303466796875, + 3025.15673828125, + 10039.0546875 + ], + [ + 6782.1513671875, + 5326.0146484375, + 11039.8515625 + ] + ], + "area_vx2": 14141600.0, + "model_source": "/workspace/flat/C1/w089_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w089_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w089_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w090_spliced_p8C1.log b/flat/C1/w090_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..5e52cc65a81dbc8b2e69f9d4a404f656d48a3b8e --- /dev/null +++ b/flat/C1/w090_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w090_spliced_p8C1 in 131s -> /workspace/flat/C1/w090_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w091_spliced_p8C1.log b/flat/C1/w091_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..a005f5310c934cea0b32dc8735e9792d3291326b --- /dev/null +++ b/flat/C1/w091_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w091_spliced_p8C1 in 129s -> /workspace/flat/C1/w091_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w092_spliced_p8C1.log b/flat/C1/w092_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..370182af062b7118064acbad1c6f3e549be1ac1f --- /dev/null +++ b/flat/C1/w092_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w092_spliced_p8C1 in 99s -> /workspace/flat/C1/w092_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w092_spliced_p8C1/flatten.log b/flat/C1/w092_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..9a5892fdb72cebc5ba85a14de083dd3e5396d556 --- /dev/null +++ b/flat/C1/w092_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w092_spliced_p8C1: 66x449, 22453/29634 valid (75.8%) step_h=23.967 step_w=30.367 step_diag=27.212 step_avg=27.203 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x449 -> 1x33x225 -> 1x17x113 -> 1x9x57 -> 1x5x29 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w092_spliced_p8C1 shape=(66, 449, 3) valid=22453/29634 model_shape=66x449 source_step=20 output_step=20 measured_source_step=27.1873 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 449, 2) point_valid=22453/29634 quad_valid=21918/29120 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 4.3063 2.4296 2.4296 1.8767 1.8767 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 4.3063 0.1 2.4296 2.4296 1.8767 1.8767 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 2.3231 189.9 0.6880 0.6880 1.6347 1.6347 0.0000 0.0000 2.0e-04 3.0e-04 20.018 + stage0 200/4500 1.6598 193.9 0.4390 0.4390 1.2208 1.2208 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 300/4500 1.4666 177.2 0.3320 0.3320 1.1346 1.1346 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 400/4500 1.1995 147.4 0.2730 0.2730 0.9260 0.9260 0.0000 0.0000 2.0e-04 5.0e-04 20.011 +[optimizer] stage0: flatten renorm step=500 avg_step=20.025 target=20 uv_scale=1.00125 + stage0 500/4500 1.2628 143.4 0.2395 0.2395 1.0232 1.0232 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 600/4500 1.0644 102.8 0.2128 0.2128 0.8517 0.8517 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 700/4500 1.0259 119.7 0.2061 0.2061 0.8198 0.8198 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 800/4500 0.9879 73.0 0.2024 0.2024 0.7855 0.7855 0.0000 0.0000 0.0000 0.0000 20.024 + stage0 900/4500 0.9549 149.8 0.1977 0.1977 0.7572 0.7572 0.0000 0.0000 0.0000 0.0000 20.024 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0175 target=20 uv_scale=1.00088 + stage0 1000/4500 0.8628 156.8 0.1937 0.1937 0.6692 0.6692 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.7898 137.5 0.1888 0.1888 0.6010 0.6010 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 1200/4500 0.7967 120.0 0.1857 0.1857 0.6110 0.6110 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 1300/4500 0.7295 170.1 0.1829 0.1829 0.5466 0.5466 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1400/4500 0.7369 134.5 0.1803 0.1803 0.5566 0.5566 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0188 target=20 uv_scale=1.00094 + stage0 1500/4500 0.7193 162.6 0.1789 0.1789 0.5404 0.5404 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.6722 124.3 0.1771 0.1771 0.4948 0.4948 0.0000 0.0000 1.0e-04 3.0e-04 20.015 + stage0 1700/4500 0.6807 197.0 0.1759 0.1759 0.5048 0.5048 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 1800/4500 0.6412 175.9 0.1745 0.1745 0.4665 0.4665 0.0000 0.0000 1.0e-04 3.0e-04 20.014 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.6842 183.4 0.1742 0.1742 0.5100 0.5100 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0159 target=20 uv_scale=1.0008 + stage0 2000/4500 0.6514 164.2 0.1719 0.1719 0.4795 0.4795 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.5858 159.7 0.1713 0.1713 0.4145 0.4145 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2200/4500 0.6073 167.8 0.1697 0.1697 0.4374 0.4374 0.0000 0.0000 1.0e-04 3.0e-04 20.014 + stage0 2300/4500 0.5871 144.7 0.1686 0.1686 0.4185 0.4185 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 2400/4500 0.5961 135.9 0.1675 0.1675 0.4286 0.4286 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0146 target=20 uv_scale=1.00073 + stage0 2500/4500 0.5937 139.8 0.1668 0.1668 0.4270 0.4270 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.5412 135.7 0.1683 0.1683 0.3729 0.3729 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2700/4500 0.5521 142.8 0.1675 0.1675 0.3846 0.3846 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2800/4500 0.5622 151.3 0.1672 0.1672 0.3950 0.3950 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 2900/4500 0.5736 139.2 0.1672 0.1672 0.4064 0.4064 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.016 target=20 uv_scale=1.0008 + stage0 3000/4500 0.5728 172.0 0.1667 0.1667 0.4061 0.4061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.5175 190.9 0.1677 0.1677 0.3498 0.3498 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3200/4500 0.5259 226.1 0.1666 0.1666 0.3593 0.3593 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 3300/4500 0.5239 240.0 0.1655 0.1655 0.3584 0.3584 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 3400/4500 0.5331 227.2 0.1655 0.1655 0.3675 0.3675 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0098 target=20 uv_scale=1.00049 + stage0 3500/4500 0.5080 196.0 0.1643 0.1643 0.3436 0.3436 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.5072 268.3 0.1678 0.1678 0.3394 0.3394 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 3700/4500 0.5054 268.8 0.1668 0.1668 0.3386 0.3386 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 3800/4500 0.5162 284.4 0.1668 0.1668 0.3493 0.3493 0.0000 0.0000 0.0000 0.0000 20.012 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.5049 270.5 0.1658 0.1658 0.3391 0.3391 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0114 target=20 uv_scale=1.00057 + stage0 4000/4500 0.5000 271.4 0.1649 0.1649 0.3350 0.3350 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.4877 242.0 0.1685 0.1685 0.3190 0.3190 0.0000 0.0000 1.0e-04 2.0e-04 20.008 + stage0 4200/4500 0.4906 292.6 0.1673 0.1673 0.3233 0.3233 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 4300/4500 0.4976 284.8 0.1663 0.1663 0.3313 0.3313 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 4400/4500 0.4983 259.7 0.1671 0.1671 0.3312 0.3312 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0184 target=20 uv_scale=1.00092 + stage0 4500/4500 0.5230 139.4 0.1669 0.1669 0.3561 0.3561 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m15.28s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.4419 0.1673 0.1673 0.2746 0.2746 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.4419 122.2 0.1673 0.1673 0.2746 0.2746 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.5183 319.2 0.1661 0.1661 0.3521 0.3521 0.0000 0.0000 0.0000 0.0000 20.016 + stage1 200/1000 0.5006 306.8 0.1657 0.1657 0.3349 0.3349 0.0000 0.0000 0.0000 0.0000 20.014 + stage1 300/1000 0.4962 262.3 0.1653 0.1653 0.3309 0.3309 0.0000 0.0000 0.0000 0.0000 20.014 + stage1 400/1000 0.4992 260.4 0.1651 0.1651 0.3340 0.3340 0.0000 0.0000 0.0000 0.0000 20.014 + stage1 500/1000 0.5020 268.3 0.1651 0.1651 0.3369 0.3369 0.0000 0.0000 0.0000 0.0000 20.015 + stage1 600/1000 0.4991 289.0 0.1650 0.1650 0.3339 0.3339 0.0000 0.0000 1.0e-04 1.0e-04 20.015 + stage1 700/1000 0.5038 249.3 0.1651 0.1651 0.3387 0.3387 0.0000 0.0000 0.0000 0.0000 20.016 + stage1 800/1000 0.5012 269.6 0.1651 0.1651 0.3362 0.3362 0.0000 0.0000 0.0000 0.0000 20.016 + stage1 900/1000 0.5021 324.7 0.1649 0.1649 0.3371 0.3371 0.0000 0.0000 0.0000 0.0000 20.016 + stage1 1000/1000 0.4984 274.3 0.1647 0.1647 0.3338 0.3338 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage1 'flatten' complete in 3.83s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.5027 0.1647 0.1647 0.3380 0.3380 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 1/1000 0.5027 127.3 0.1647 0.1647 0.3380 0.3380 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 100/1000 0.4989 280.7 0.1646 0.1646 0.3343 0.3343 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 200/1000 0.4981 281.7 0.1645 0.1645 0.3336 0.3336 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 300/1000 0.4967 262.5 0.1644 0.1644 0.3322 0.3322 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 400/1000 0.4976 254.2 0.1644 0.1644 0.3332 0.3332 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 500/1000 0.4967 193.3 0.1644 0.1644 0.3323 0.3323 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 600/1000 0.4962 110.1 0.1643 0.1643 0.3319 0.3319 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 700/1000 0.4967 178.4 0.1643 0.1643 0.3324 0.3324 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 800/1000 0.4971 259.5 0.1643 0.1643 0.3329 0.3329 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 900/1000 0.4952 330.3 0.1642 0.1642 0.3310 0.3310 0.0000 0.0000 0.0000 0.0000 20.016 + stage2 1000/1000 0.4933 172.0 0.1641 0.1641 0.3291 0.3291 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage2 'flatten' complete in 5.04s +[optimizer] total optimize time: 1m24.14s +[fit] peak GPU memory: 0.32 GiB +[fit2tifxyz] area_vx2=15334000 diff --git a/flat/C1/w092_spliced_p8C1/flatten_input.json b/flat/C1/w092_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..0c066f80217c010599c72bcf73b6477caef1bd4b --- /dev/null +++ b/flat/C1/w092_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w092_spliced_p8C1"}]} diff --git a/flat/C1/w092_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w092_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..4d4cc4a0d3caa0d34399f937f36c5104a270a4c0 --- /dev/null +++ b/flat/C1/w092_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1546.49951171875, + 2957.017578125, + 10037.318359375 + ], + [ + 6791.787109375, + 5374.69873046875, + 11040.5703125 + ] + ], + "area_vx2": 15334000.0, + "model_source": "/workspace/flat/C1/w092_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w092_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w092_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w093_spliced_p8C1.log b/flat/C1/w093_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..8ac84926be8ab82a524b558662c9006465b047b9 --- /dev/null +++ b/flat/C1/w093_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w093_spliced_p8C1 in 156s -> /workspace/flat/C1/w093_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w093_spliced_p8C1/flatten.log b/flat/C1/w093_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..f0e9d42434d4ebd5e46a643aa3e0dfaa822d5ace --- /dev/null +++ b/flat/C1/w093_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w093_spliced_p8C1: 66x454, 22731/29964 valid (75.9%) step_h=24.238 step_w=30.780 step_diag=27.412 step_avg=27.474 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x454 -> 1x33x227 -> 1x17x114 -> 1x9x57 -> 1x5x29 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w093_spliced_p8C1 shape=(66, 454, 3) valid=22731/29964 model_shape=66x454 source_step=20 output_step=20 measured_source_step=27.4595 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 454, 2) point_valid=22731/29964 quad_valid=22193/29445 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 4.8371 2.6414 2.6414 2.1957 2.1957 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 4.8371 0.1 2.6414 2.6414 2.1957 2.1957 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 2.7307 107.6 0.7738 0.7738 1.9560 1.9560 0.0000 0.0000 5.0e-04 0.0010 20.017 + stage0 200/4500 2.0490 118.7 0.4959 0.4959 1.5529 1.5529 0.0000 0.0000 1.0e-04 1.0e-04 20.012 + stage0 300/4500 1.6858 116.0 0.3716 0.3716 1.3140 1.3140 0.0000 0.0000 1.0e-04 2.0e-04 20.010 + stage0 400/4500 1.4921 113.1 0.3029 0.3029 1.1892 1.1892 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0162 target=20 uv_scale=1.00081 + stage0 500/4500 1.4484 107.4 0.2641 0.2641 1.1843 1.1843 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 1.3955 110.5 0.2434 0.2434 1.1521 1.1521 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 700/4500 1.3850 117.1 0.2378 0.2378 1.1472 1.1472 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 800/4500 1.3378 116.5 0.2335 0.2335 1.1042 1.1042 0.0000 0.0000 0.0000 0.0000 20.027 + stage0 900/4500 1.2600 129.0 0.2282 0.2282 1.0307 1.0307 0.0000 0.0000 6.0e-04 0.0011 20.025 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0265 target=20 uv_scale=1.00133 + stage0 1000/4500 1.2239 130.6 0.2253 0.2253 0.9984 0.9984 0.0000 0.0000 1.0e-04 2.0e-04 20.000 + stage0 1100/4500 1.0603 102.2 0.2210 0.2210 0.8394 0.8394 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 1200/4500 1.0142 127.1 0.2195 0.2195 0.7946 0.7946 0.0000 0.0000 0.0000 1.0e-04 20.017 + stage0 1300/4500 1.0405 130.7 0.2169 0.2169 0.8236 0.8236 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 1400/4500 1.0060 108.7 0.2147 0.2147 0.7912 0.7912 0.0000 0.0000 1.0e-04 1.0e-04 20.020 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0207 target=20 uv_scale=1.00104 + stage0 1500/4500 0.9907 119.8 0.2129 0.2129 0.7779 0.7779 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.8663 113.7 0.2110 0.2110 0.6553 0.6553 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1700/4500 0.8988 120.1 0.2115 0.2115 0.6874 0.6874 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 1800/4500 0.8904 112.5 0.2103 0.2103 0.6799 0.6799 0.0000 0.0000 1.0e-04 2.0e-04 20.018 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.8664 121.6 0.2097 0.2097 0.6567 0.6567 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0161 target=20 uv_scale=1.00081 + stage0 2000/4500 0.8391 115.3 0.2072 0.2072 0.6319 0.6319 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.7529 97.4 0.2093 0.2093 0.5436 0.5436 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2200/4500 0.7677 115.9 0.2086 0.2086 0.5591 0.5591 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 2300/4500 0.7702 126.4 0.2066 0.2066 0.5636 0.5636 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 2400/4500 0.7626 125.5 0.2050 0.2050 0.5577 0.5577 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0134 target=20 uv_scale=1.00067 + stage0 2500/4500 0.7682 115.8 0.2037 0.2037 0.5645 0.5645 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.7167 105.3 0.2049 0.2049 0.5118 0.5118 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2700/4500 0.7204 126.9 0.2056 0.2056 0.5144 0.5144 0.0000 0.0000 2.0e-04 4.0e-04 20.012 + stage0 2800/4500 0.7302 112.5 0.2053 0.2053 0.5249 0.5249 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 2900/4500 0.7753 113.6 0.2064 0.2064 0.5689 0.5689 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0177 target=20 uv_scale=1.00088 + stage0 3000/4500 0.7551 109.9 0.2059 0.2059 0.5493 0.5493 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.6419 102.2 0.2064 0.2064 0.4355 0.4355 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.6816 124.3 0.2061 0.2061 0.4756 0.4756 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 3300/4500 0.7021 56.9 0.2057 0.2057 0.4964 0.4964 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 3400/4500 0.7051 60.3 0.2048 0.2048 0.5003 0.5003 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0138 target=20 uv_scale=1.00069 + stage0 3500/4500 0.6933 49.3 0.2045 0.2045 0.4887 0.4887 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.6941 47.4 0.2081 0.2081 0.4860 0.4860 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 3700/4500 0.6986 50.5 0.2078 0.2078 0.4908 0.4908 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 3800/4500 0.7139 55.7 0.2076 0.2076 0.5063 0.5063 0.0000 0.0000 0.0000 0.0000 20.017 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.6824 65.9 0.2057 0.2057 0.4767 0.4767 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.026 target=20 uv_scale=1.0013 + stage0 4000/4500 0.7702 80.9 0.2055 0.2055 0.5647 0.5647 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.6397 61.5 0.2074 0.2074 0.4323 0.4323 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 4200/4500 0.6892 106.1 0.2083 0.2083 0.4809 0.4809 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 4300/4500 0.6605 71.9 0.2074 0.2074 0.4531 0.4531 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 4400/4500 0.6766 87.5 0.2075 0.2075 0.4690 0.4690 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0163 target=20 uv_scale=1.00081 + stage0 4500/4500 0.6724 104.5 0.2074 0.2074 0.4650 0.4650 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m48.81s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.5734 0.2079 0.2079 0.3655 0.3655 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.5734 37.4 0.2079 0.2079 0.3655 0.3655 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.7193 76.1 0.2073 0.2073 0.5115 0.5115 0.0000 0.0000 3.0e-04 6.0e-04 20.022 + stage1 200/1000 0.7407 101.6 0.2094 0.2094 0.5313 0.5313 0.0000 0.0000 0.0000 0.0000 20.024 + stage1 300/1000 0.7455 64.7 0.2093 0.2093 0.5362 0.5362 0.0000 0.0000 0.0000 0.0000 20.025 + stage1 400/1000 0.7305 19.7 0.2092 0.2092 0.5213 0.5213 0.0000 0.0000 0.0000 0.0000 20.024 + stage1 500/1000 0.7040 22.5 0.2088 0.2088 0.4952 0.4952 0.0000 0.0000 0.0000 0.0000 20.021 + stage1 600/1000 0.7080 49.7 0.2084 0.2084 0.4996 0.4996 0.0000 0.0000 0.0000 0.0000 20.022 + stage1 700/1000 0.7043 53.1 0.2081 0.2081 0.4962 0.4962 0.0000 0.0000 0.0000 0.0000 20.022 + stage1 800/1000 0.6915 53.7 0.2075 0.2075 0.4839 0.4839 0.0000 0.0000 0.0000 0.0000 20.021 + stage1 900/1000 0.7062 57.9 0.2075 0.2075 0.4987 0.4987 0.0000 0.0000 0.0000 0.0000 20.023 + stage1 1000/1000 0.6604 49.3 0.2072 0.2072 0.4532 0.4532 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage1 'flatten' complete in 23.67s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.6654 0.2071 0.2071 0.4583 0.4583 0.0000 0.0000 0.0000 0.0000 20.018 + stage2 1/1000 0.6654 12.2 0.2071 0.2071 0.4583 0.4583 0.0000 0.0000 0.0000 0.0000 20.018 + stage2 100/1000 0.6868 68.8 0.2070 0.2070 0.4798 0.4798 0.0000 0.0000 0.0000 0.0000 20.021 + stage2 200/1000 0.6849 104.1 0.2069 0.2069 0.4780 0.4780 0.0000 0.0000 0.0000 0.0000 20.021 + stage2 300/1000 0.6819 134.4 0.2069 0.2069 0.4750 0.4750 0.0000 0.0000 0.0000 0.0000 20.020 + stage2 400/1000 0.6839 128.4 0.2068 0.2068 0.4771 0.4771 0.0000 0.0000 0.0000 0.0000 20.021 + stage2 500/1000 0.6871 114.6 0.2068 0.2068 0.4803 0.4803 0.0000 0.0000 0.0000 0.0000 20.021 + stage2 600/1000 0.6804 128.0 0.2067 0.2067 0.4738 0.4738 0.0000 0.0000 0.0000 0.0000 20.020 + stage2 700/1000 0.6803 106.4 0.2066 0.2066 0.4736 0.4736 0.0000 0.0000 0.0000 0.0000 20.020 + stage2 800/1000 0.6829 121.0 0.2066 0.2066 0.4763 0.4763 0.0000 0.0000 0.0000 0.0000 20.021 + stage2 900/1000 0.6806 120.3 0.2065 0.2065 0.4741 0.4741 0.0000 0.0000 0.0000 0.0000 20.020 + stage2 1000/1000 0.6790 123.1 0.2064 0.2064 0.4725 0.4725 0.0000 0.0000 0.0000 0.0000 20.020 +[optimizer] stage2 'flatten' complete in 9.71s +[optimizer] total optimize time: 2m22.23s +[fit] peak GPU memory: 0.32 GiB +[fit2tifxyz] area_vx2=16153600 diff --git a/flat/C1/w093_spliced_p8C1/flatten_input.json b/flat/C1/w093_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..839897797b2b1e143b946fde67cae80b284b281c --- /dev/null +++ b/flat/C1/w093_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w093_spliced_p8C1"}]} diff --git a/flat/C1/w093_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w093_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..5d46359b4456811cd792a8d809be53f999562dff --- /dev/null +++ b/flat/C1/w093_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1529.65380859375, + 2945.764892578125, + 10040.30859375 + ], + [ + 6797.76904296875, + 5382.86279296875, + 11041.5625 + ] + ], + "area_vx2": 16153600.0, + "model_source": "/workspace/flat/C1/w093_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w093_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w093_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w094_spliced_p8C1.log b/flat/C1/w094_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..aa43596a51284565645323d39d0e67a9f2e68d66 --- /dev/null +++ b/flat/C1/w094_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w094_spliced_p8C1 in 120s -> /workspace/flat/C1/w094_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w094_spliced_p8C1/flatten.log b/flat/C1/w094_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..5e6bd7591f1b0e3369dcae5c26a10217a8134bdd --- /dev/null +++ b/flat/C1/w094_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w094_spliced_p8C1: 66x459, 23013/30294 valid (76.0%) step_h=24.094 step_w=30.740 step_diag=27.359 step_avg=27.402 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x459 -> 1x33x230 -> 1x17x115 -> 1x9x58 -> 1x5x29 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w094_spliced_p8C1 shape=(66, 459, 3) valid=23013/30294 model_shape=66x459 source_step=20 output_step=20 measured_source_step=27.3962 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 459, 2) point_valid=23013/30294 quad_valid=22468/29770 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 5.0571 2.7333 2.7333 2.3238 2.3238 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 5.0571 0.1 2.7333 2.7333 2.3238 2.3238 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 2.7816 186.9 0.7907 0.7907 1.9909 1.9909 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 200/4500 2.4650 155.5 0.5093 0.5093 1.9556 1.9556 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 300/4500 1.7990 171.8 0.3865 0.3865 1.4125 1.4125 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 400/4500 1.6442 186.5 0.3193 0.3193 1.3247 1.3247 0.0000 0.0000 1.0e-04 1.0e-04 20.013 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0151 target=20 uv_scale=1.00076 + stage0 500/4500 1.5110 186.1 0.2792 0.2792 1.2318 1.2318 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 600/4500 1.4972 167.9 0.2555 0.2555 1.2417 1.2417 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 700/4500 1.4539 190.0 0.2503 0.2503 1.2035 1.2035 0.0000 0.0000 0.0000 0.0000 20.025 + stage0 800/4500 1.3983 187.4 0.2447 0.2447 1.1535 1.1535 0.0000 0.0000 0.0000 0.0000 20.026 + stage0 900/4500 1.2832 165.3 0.2410 0.2410 1.0422 1.0422 0.0000 0.0000 0.0000 0.0000 20.022 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0207 target=20 uv_scale=1.00104 + stage0 1000/4500 1.2426 186.9 0.2387 0.2387 1.0039 1.0039 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 1.0801 159.5 0.2358 0.2358 0.8443 0.8443 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1200/4500 1.0956 191.6 0.2350 0.2350 0.8607 0.8607 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 1300/4500 1.0747 205.9 0.2321 0.2321 0.8426 0.8426 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 1400/4500 1.0321 201.4 0.2304 0.2304 0.8017 0.8017 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0178 target=20 uv_scale=1.00089 + stage0 1500/4500 1.0065 162.6 0.2285 0.2285 0.7780 0.7780 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 1600/4500 0.9273 179.7 0.2288 0.2288 0.6984 0.6984 0.0000 0.0000 0.0000 1.0e-04 20.015 + stage0 1700/4500 0.9197 205.5 0.2269 0.2269 0.6928 0.6928 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1800/4500 0.9055 199.4 0.2253 0.2253 0.6802 0.6802 0.0000 0.0000 0.0000 0.0000 20.015 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.8925 181.8 0.2238 0.2238 0.6687 0.6687 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0139 target=20 uv_scale=1.00069 + stage0 2000/4500 0.8641 196.8 0.2226 0.2226 0.6415 0.6415 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.8101 159.8 0.2246 0.2246 0.5855 0.5855 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2200/4500 0.8064 183.9 0.2230 0.2230 0.5834 0.5834 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 2300/4500 0.8002 202.6 0.2213 0.2213 0.5790 0.5790 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 2400/4500 0.8021 187.8 0.2205 0.2205 0.5816 0.5816 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0121 target=20 uv_scale=1.00061 + stage0 2500/4500 0.7848 188.4 0.2191 0.2191 0.5656 0.5656 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.7538 188.7 0.2219 0.2219 0.5319 0.5319 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 2700/4500 0.7583 185.6 0.2207 0.2207 0.5369 0.5369 0.0000 0.0000 4.0e-04 7.0e-04 20.011 + stage0 2800/4500 0.7518 195.3 0.2191 0.2191 0.5327 0.5327 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2900/4500 0.7464 185.0 0.2179 0.2179 0.5285 0.5285 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0106 target=20 uv_scale=1.00053 + stage0 3000/4500 0.7293 158.6 0.2163 0.2163 0.5130 0.5130 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.7003 148.1 0.2196 0.2196 0.4806 0.4806 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 3200/4500 0.7023 163.2 0.2183 0.2183 0.4839 0.4839 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3300/4500 0.6967 183.9 0.2167 0.2167 0.4799 0.4799 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3400/4500 0.6979 137.9 0.2154 0.2154 0.4825 0.4825 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0089 target=20 uv_scale=1.00045 + stage0 3500/4500 0.6954 162.2 0.2150 0.2150 0.4804 0.4804 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.6842 137.3 0.2187 0.2187 0.4655 0.4655 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3700/4500 0.6892 110.6 0.2171 0.2171 0.4721 0.4721 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 3800/4500 0.6672 72.2 0.2152 0.2152 0.4521 0.4521 0.0000 0.0000 0.0000 0.0000 20.008 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.6621 160.8 0.2148 0.2148 0.4472 0.4472 0.0000 0.0000 0.0000 1.0e-04 20.008 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0078 target=20 uv_scale=1.00039 + stage0 4000/4500 0.6589 110.8 0.2134 0.2134 0.4454 0.4454 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.6488 72.0 0.2178 0.2178 0.4308 0.4308 0.0000 0.0000 1.0e-04 2.0e-04 20.007 + stage0 4200/4500 0.6475 65.1 0.2162 0.2162 0.4313 0.4313 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 4300/4500 0.6439 141.8 0.2148 0.2148 0.4291 0.4291 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 4400/4500 0.6452 113.2 0.2155 0.2155 0.4297 0.4297 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0091 target=20 uv_scale=1.00045 + stage0 4500/4500 0.6487 91.2 0.2147 0.2147 0.4338 0.4338 0.0000 0.0000 0.0000 1.0e-04 20.000 +[optimizer] stage0 'flatten' complete in 1m12.77s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.5864 0.2149 0.2149 0.3715 0.3715 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.5864 66.6 0.2149 0.2149 0.3715 0.3715 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.6389 178.0 0.2122 0.2122 0.4266 0.4266 0.0000 0.0000 0.0000 1.0e-04 20.009 + stage1 200/1000 0.6356 140.1 0.2119 0.2119 0.4237 0.4237 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 300/1000 0.6371 41.2 0.2116 0.2116 0.4254 0.4254 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 400/1000 0.6316 32.2 0.2111 0.2111 0.4205 0.4205 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 500/1000 0.6276 45.8 0.2106 0.2106 0.4170 0.4170 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 600/1000 0.6256 60.3 0.2102 0.2102 0.4154 0.4154 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 700/1000 0.6230 76.7 0.2098 0.2098 0.4131 0.4131 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 800/1000 0.6218 101.3 0.2095 0.2095 0.4123 0.4123 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 900/1000 0.6179 57.4 0.2092 0.2092 0.4087 0.4087 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 1000/1000 0.6157 76.9 0.2089 0.2089 0.4067 0.4067 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage1 'flatten' complete in 16.52s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.6156 0.2089 0.2089 0.4066 0.4066 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 1/1000 0.6156 18.5 0.2089 0.2089 0.4066 0.4066 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 100/1000 0.6162 51.4 0.2087 0.2087 0.4074 0.4074 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 200/1000 0.6162 58.9 0.2086 0.2086 0.4076 0.4076 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 300/1000 0.6153 58.8 0.2085 0.2085 0.4067 0.4067 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 400/1000 0.6146 66.5 0.2085 0.2085 0.4061 0.4061 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 500/1000 0.6140 78.0 0.2084 0.2084 0.4056 0.4056 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 600/1000 0.6137 67.2 0.2083 0.2083 0.4055 0.4055 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 700/1000 0.6122 75.9 0.2082 0.2082 0.4040 0.4040 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 800/1000 0.6119 28.4 0.2081 0.2081 0.4038 0.4038 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 900/1000 0.6117 31.2 0.2080 0.2080 0.4038 0.4038 0.0000 0.0000 0.0000 0.0000 20.009 + stage2 1000/1000 0.6108 89.5 0.2079 0.2079 0.4030 0.4030 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage2 'flatten' complete in 19.31s +[optimizer] total optimize time: 1m48.61s +[fit] peak GPU memory: 0.32 GiB +[fit2tifxyz] area_vx2=15742800 diff --git a/flat/C1/w094_spliced_p8C1/flatten_input.json b/flat/C1/w094_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..b68a22199b6b845bf6dcc2c12a6a0b05a76cce98 --- /dev/null +++ b/flat/C1/w094_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w094_spliced_p8C1"}]} diff --git a/flat/C1/w094_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w094_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..0b82cc6fa4933b6bd64fbe618ccff5351cfc965c --- /dev/null +++ b/flat/C1/w094_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1517.8226318359375, + 2925.864990234375, + 10041.4462890625 + ], + [ + 6801.9970703125, + 5385.85107421875, + 11039.169921875 + ] + ], + "area_vx2": 15742800.0, + "model_source": "/workspace/flat/C1/w094_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w094_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w094_spliced_p8C1" + } + ] + } +} diff --git a/flat/C1/w095_spliced_p8C1.log b/flat/C1/w095_spliced_p8C1.log new file mode 100644 index 0000000000000000000000000000000000000000..19b743e3750c8773ea40f894dd6d7a84f3fe4e2f --- /dev/null +++ b/flat/C1/w095_spliced_p8C1.log @@ -0,0 +1 @@ +flattened w095_spliced_p8C1 in 118s -> /workspace/flat/C1/w095_spliced_p8C1/tifxyz/flatten.tifxyz diff --git a/flat/C1/w095_spliced_p8C1/flatten.log b/flat/C1/w095_spliced_p8C1/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..eee0ed873e4f20a0702d3015fe8c35e923d3d7cd --- /dev/null +++ b/flat/C1/w095_spliced_p8C1/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w095_spliced_p8C1: 66x464, 23274/30624 valid (76.0%) step_h=23.703 step_w=30.381 step_diag=27.120 step_avg=27.095 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x464 -> 1x33x232 -> 1x17x116 -> 1x9x58 -> 1x5x29 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C1/snap/w095_spliced_p8C1 shape=(66, 464, 3) valid=23274/30624 model_shape=66x464 source_step=20 output_step=20 measured_source_step=27.0826 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 464, 2) point_valid=23274/30624 quad_valid=22724/30095 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 4.9515 2.6859 2.6859 2.2656 2.2656 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 4.9515 0.1 2.6859 2.6859 2.2656 2.2656 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 2.7489 108.9 0.7591 0.7591 1.9898 1.9898 0.0000 0.0000 0.0000 1.0e-04 20.014 + stage0 200/4500 2.4772 175.6 0.4804 0.4804 1.9957 1.9957 0.0000 0.0000 6.0e-04 0.0011 20.027 + stage0 300/4500 1.8951 205.4 0.3572 0.3572 1.5379 1.5379 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 400/4500 1.5278 227.8 0.2922 0.2922 1.2355 1.2355 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0209 target=20 uv_scale=1.00105 + stage0 500/4500 1.5860 204.7 0.2555 0.2555 1.3305 1.3305 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 1.3965 233.2 0.2293 0.2293 1.1671 1.1671 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 700/4500 1.3340 214.6 0.2240 0.2240 1.1100 1.1100 0.0000 0.0000 0.0000 0.0000 20.023 + stage0 800/4500 1.2435 189.6 0.2187 0.2187 1.0249 1.0249 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 900/4500 1.1762 174.1 0.2141 0.2141 0.9621 0.9621 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0191 target=20 uv_scale=1.00095 + stage0 1000/4500 1.1259 223.6 0.2100 0.2100 0.9159 0.9159 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 1.0392 177.8 0.2103 0.2103 0.8289 0.8289 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 1200/4500 1.0180 217.9 0.2101 0.2101 0.8079 0.8079 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 1300/4500 0.9959 217.3 0.2080 0.2080 0.7879 0.7879 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 1400/4500 0.9542 205.9 0.2057 0.2057 0.7485 0.7485 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0148 target=20 uv_scale=1.00074 + stage0 1500/4500 0.9231 219.0 0.2036 0.2036 0.7192 0.7192 0.0000 0.0000 2.0e-04 3.0e-04 20.000 + stage0 1600/4500 0.8363 231.3 0.2036 0.2036 0.6327 0.6327 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1700/4500 0.8399 256.4 0.2032 0.2032 0.6368 0.6368 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 1800/4500 0.8202 243.5 0.2022 0.2022 0.6180 0.6180 0.0000 0.0000 0.0000 0.0000 20.012 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.8124 213.8 0.2019 0.2019 0.6105 0.6105 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0126 target=20 uv_scale=1.00063 + stage0 2000/4500 0.8054 230.5 0.2004 0.2004 0.6050 0.6050 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.7529 140.6 0.2009 0.2009 0.5519 0.5519 0.0000 0.0000 0.0000 1.0e-04 20.011 + stage0 2200/4500 0.7358 231.2 0.1997 0.1997 0.5361 0.5361 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 2300/4500 0.7166 211.1 0.1989 0.1989 0.5177 0.5177 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2400/4500 0.7179 229.8 0.1973 0.1973 0.5206 0.5206 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0113 target=20 uv_scale=1.00056 + stage0 2500/4500 0.7175 258.7 0.1963 0.1963 0.5212 0.5212 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.6731 181.6 0.1986 0.1986 0.4736 0.4736 0.0000 0.0000 4.0e-04 9.0e-04 20.008 + stage0 2700/4500 0.6772 201.3 0.1976 0.1976 0.4796 0.4796 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2800/4500 0.6811 252.8 0.1969 0.1969 0.4842 0.4842 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 2900/4500 0.6564 201.1 0.1955 0.1955 0.4608 0.4608 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0108 target=20 uv_scale=1.00054 + stage0 3000/4500 0.6730 198.0 0.1949 0.1949 0.4781 0.4781 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.6164 152.9 0.1959 0.1959 0.4205 0.4205 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3200/4500 0.6370 184.2 0.1960 0.1960 0.4409 0.4409 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 3300/4500 0.6452 184.4 0.1954 0.1954 0.4497 0.4497 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 3400/4500 0.6305 197.8 0.1943 0.1943 0.4362 0.4362 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0105 target=20 uv_scale=1.00052 + stage0 3500/4500 0.6324 240.5 0.1936 0.1936 0.4388 0.4388 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.5894 216.6 0.1956 0.1956 0.3938 0.3938 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.6007 189.1 0.1946 0.1946 0.4061 0.4061 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3800/4500 0.6044 155.5 0.1935 0.1935 0.4108 0.4108 0.0000 0.0000 0.0000 0.0000 20.009 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.6011 195.4 0.1922 0.1922 0.4089 0.4089 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.008 target=20 uv_scale=1.0004 + stage0 4000/4500 0.5955 201.0 0.1911 0.1911 0.4044 0.4044 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.5580 159.8 0.1930 0.1930 0.3650 0.3650 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.5684 215.8 0.1924 0.1924 0.3760 0.3760 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4300/4500 0.5827 233.0 0.1920 0.1920 0.3907 0.3907 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 4400/4500 0.5765 166.3 0.1910 0.1910 0.3855 0.3855 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0079 target=20 uv_scale=1.00039 + stage0 4500/4500 0.5679 165.5 0.1914 0.1914 0.3766 0.3766 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m29.31s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.5215 0.1915 0.1915 0.3299 0.3299 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.5215 77.8 0.1915 0.1915 0.3299 0.3299 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.5839 195.1 0.1891 0.1891 0.3897 0.3897 0.0000 0.0000 0.0025 0.0051 20.010 + stage1 200/1000 0.5731 233.4 0.1888 0.1888 0.3842 0.3842 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 300/1000 0.5738 259.9 0.1886 0.1886 0.3852 0.3852 0.0000 0.0000 0.0000 0.0000 20.011 + stage1 400/1000 0.5692 210.0 0.1881 0.1881 0.3811 0.3811 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 500/1000 0.5687 231.7 0.1876 0.1876 0.3808 0.3808 0.0000 0.0000 1.0e-04 2.0e-04 20.011 + stage1 600/1000 0.5607 220.9 0.1871 0.1871 0.3736 0.3736 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 700/1000 0.5563 244.1 0.1867 0.1867 0.3696 0.3696 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 800/1000 0.5553 210.5 0.1862 0.1862 0.3692 0.3692 0.0000 0.0000 0.0000 0.0000 20.010 + stage1 900/1000 0.5502 234.3 0.1857 0.1857 0.3645 0.3645 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 1000/1000 0.5506 242.8 0.1853 0.1853 0.3653 0.3653 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage1 'flatten' complete in 4.81s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.5517 0.1852 0.1852 0.3665 0.3665 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 1/1000 0.5517 95.5 0.1852 0.1852 0.3665 0.3665 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 100/1000 0.5496 225.5 0.1850 0.1850 0.3646 0.3646 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 200/1000 0.5487 230.9 0.1848 0.1848 0.3639 0.3639 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 300/1000 0.5484 230.9 0.1846 0.1846 0.3637 0.3637 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 400/1000 0.5474 239.2 0.1845 0.1845 0.3629 0.3629 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 500/1000 0.5471 183.2 0.1843 0.1843 0.3628 0.3628 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 600/1000 0.5458 249.4 0.1842 0.1842 0.3616 0.3616 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 700/1000 0.5454 254.7 0.1840 0.1840 0.3613 0.3613 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 800/1000 0.5444 248.6 0.1839 0.1839 0.3606 0.3606 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 900/1000 0.5448 254.0 0.1837 0.1837 0.3611 0.3611 0.0000 0.0000 0.0000 0.0000 20.010 + stage2 1000/1000 0.5445 230.4 0.1836 0.1836 0.3609 0.3609 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage2 'flatten' complete in 4.66s +[optimizer] total optimize time: 1m38.78s +[fit] peak GPU memory: 0.32 GiB +[fit2tifxyz] area_vx2=15661600 diff --git a/flat/C1/w095_spliced_p8C1/flatten_input.json b/flat/C1/w095_spliced_p8C1/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..8497a044cf071c3d581292774f45747f97a3608f --- /dev/null +++ b/flat/C1/w095_spliced_p8C1/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C1/snap/w095_spliced_p8C1"}]} diff --git a/flat/C1/w095_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json b/flat/C1/w095_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..7be5c0ed991e90097c7041a44bfd8fa978d7f07a --- /dev/null +++ b/flat/C1/w095_spliced_p8C1/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1484.2366943359375, + 2921.548583984375, + 10036.0859375 + ], + [ + 6806.8828125, + 5420.60302734375, + 11039.359375 + ] + ], + "area_vx2": 15661600.0, + "model_source": "/workspace/flat/C1/w095_spliced_p8C1/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C1/w095_spliced_p8C1", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C1/snap/w095_spliced_p8C1" + } + ] + } +} diff --git a/flat/C8/.complete b/flat/C8/.complete new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/flat/C8/mesh/w020_spliced_p8C8/meta.json b/flat/C8/mesh/w020_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..beb8957fb98dc4a1f33cab6cb203c4c7a878a997 --- /dev/null +++ b/flat/C8/mesh/w020_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3264.919677734375, 3979.67626953125, 13821.861328125], [4811.30908203125, 4512.43896484375, 14817.02734375]], "area_vx2": 3357600.0, "model_source": "/workspace/flat/C8/w020_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w020_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w020_spliced_p8C8"}]}, "area_cm2": 1.4556672} \ No newline at end of file diff --git a/flat/C8/mesh/w021_spliced_p8C8/meta.json b/flat/C8/mesh/w021_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..21c795ef801f1cb8ed092123709569ccf9069cd2 --- /dev/null +++ b/flat/C8/mesh/w021_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3228.060302734375, 3971.563232421875, 13819.3291015625], [4872.591796875, 4512.22607421875, 14816.9208984375]], "area_vx2": 3534400.0, "model_source": "/workspace/flat/C8/w021_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w021_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w021_spliced_p8C8"}]}, "area_cm2": 1.5291224064000002} \ No newline at end of file diff --git a/flat/C8/mesh/w022_spliced_p8C8/meta.json b/flat/C8/mesh/w022_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e92cfc55b433490bd220dde2251b0f7d7ffbc5a0 --- /dev/null +++ b/flat/C8/mesh/w022_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3185.232666015625, 3957.16748046875, 13820.07421875], [4895.57421875, 4524.23583984375, 14817.5703125]], "area_vx2": 3622400.0, "model_source": "/workspace/flat/C8/w022_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w022_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w022_spliced_p8C8"}]}, "area_cm2": 1.5879462912} \ No newline at end of file diff --git a/flat/C8/mesh/w024_spliced_p8C8/meta.json b/flat/C8/mesh/w024_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..58ad12d4a3bcfe59405c02cc192ff5240d839f39 --- /dev/null +++ b/flat/C8/mesh/w024_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[3103.72314453125, 3939.27978515625, 13823.3359375], [4923.353515625, 4552.67236328125, 14815.9091796875]], "area_vx2": 3971600.0, "model_source": "/workspace/flat/C8/w024_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w024_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w024_spliced_p8C8"}]}, "area_cm2": 1.7324679168000001} \ No newline at end of file diff --git a/flat/C8/mesh/w028_spliced_p8C8/meta.json b/flat/C8/mesh/w028_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..7c77c5bff7137f9a02fb8e48c2492d0e1e93ee63 --- /dev/null +++ b/flat/C8/mesh/w028_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2972.23779296875, 3889.52978515625, 13822.5380859375], [5036.76611328125, 4615.51904296875, 14817.7333984375]], "area_vx2": 4622000.0, "model_source": "/workspace/flat/C8/w028_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w028_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w028_spliced_p8C8"}]}, "area_cm2": 2.0247957504} \ No newline at end of file diff --git a/flat/C8/mesh/w033_spliced_p8C8/meta.json b/flat/C8/mesh/w033_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..66df6263cbed5329ddfc356ff5ef19cec2b53bee --- /dev/null +++ b/flat/C8/mesh/w033_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2816.900634765625, 3810.61279296875, 13819.8798828125], [5174.884765625, 4654.87744140625, 14818.259765625]], "area_vx2": 5271200.0, "model_source": "/workspace/flat/C8/w033_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w033_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w033_spliced_p8C8"}]}, "area_cm2": 2.3684825088} \ No newline at end of file diff --git a/flat/C8/mesh/w034_spliced_p8C8/meta.json b/flat/C8/mesh/w034_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..d472a43bfb9301eda83963ef8003b15e0f019fe5 --- /dev/null +++ b/flat/C8/mesh/w034_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2778.9560546875, 3796.144287109375, 13821.1357421875], [5233.50244140625, 4672.572265625, 14817.0615234375]], "area_vx2": 5416800.0, "model_source": "/workspace/flat/C8/w034_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w034_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w034_spliced_p8C8"}]}, "area_cm2": 2.4386531328000003} \ No newline at end of file diff --git a/flat/C8/mesh/w035_spliced_p8C8/meta.json b/flat/C8/mesh/w035_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..550fc2ce9a47cf85874b5f23b7bbe87ae0278c5e --- /dev/null +++ b/flat/C8/mesh/w035_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2732.59326171875, 3784.82861328125, 13820.1845703125], [5260.36962890625, 4686.7861328125, 14818.1923828125]], "area_vx2": 5598800.0, "model_source": "/workspace/flat/C8/w035_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w035_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w035_spliced_p8C8"}]}, "area_cm2": 2.5103167488} \ No newline at end of file diff --git a/flat/C8/mesh/w036_spliced_p8C8/meta.json b/flat/C8/mesh/w036_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..be40b5baf92a2fe65da3e175ab7bb08f97a51a73 --- /dev/null +++ b/flat/C8/mesh/w036_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2718.517578125, 3775.197265625, 13819.888671875], [5313.75244140625, 4696.27392578125, 14817.5966796875]], "area_vx2": 5792000.0, "model_source": "/workspace/flat/C8/w036_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w036_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w036_spliced_p8C8"}]}, "area_cm2": 2.5795915776} \ No newline at end of file diff --git a/flat/C8/mesh/w037_spliced_p8C8/meta.json b/flat/C8/mesh/w037_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..0bb2639d81afe6d52cd8580f5c0127d5ae2d7f21 --- /dev/null +++ b/flat/C8/mesh/w037_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2669.321044921875, 3747.45068359375, 13825.126953125], [5360.88623046875, 4707.4775390625, 14817.5654296875]], "area_vx2": 5958800.0, "model_source": "/workspace/flat/C8/w037_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w037_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w037_spliced_p8C8"}]}, "area_cm2": 2.6503593984000005} \ No newline at end of file diff --git a/flat/C8/mesh/w038_spliced_p8C8/meta.json b/flat/C8/mesh/w038_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..bdd5c963ee285cb7e09ed7f064645a35655adf6b --- /dev/null +++ b/flat/C8/mesh/w038_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2637.05126953125, 3733.14013671875, 13823.2734375], [5373.89013671875, 4711.2177734375, 14821.2568359375]], "area_vx2": 6136000.0, "model_source": "/workspace/flat/C8/w038_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w038_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w038_spliced_p8C8"}]}, "area_cm2": 2.7256061952000006} \ No newline at end of file diff --git a/flat/C8/mesh/w040_spliced_p8C8/meta.json b/flat/C8/mesh/w040_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..0c09a06649fb1b7cf1d8bbd6f52b3564e0dc8a6a --- /dev/null +++ b/flat/C8/mesh/w040_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2577.900634765625, 3705.86669921875, 13821.62890625], [5452.248046875, 4732.97021484375, 14817.7880859375]], "area_vx2": 6389600.0, "model_source": "/workspace/flat/C8/w040_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w040_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w040_spliced_p8C8"}]}, "area_cm2": 2.8647530496000004} \ No newline at end of file diff --git a/flat/C8/mesh/w041_spliced_p8C8/meta.json b/flat/C8/mesh/w041_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..98a24f5ef8bcd367f5f8b07848c8d2efe540f555 --- /dev/null +++ b/flat/C8/mesh/w041_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2532.291748046875, 3699.035400390625, 13822.5947265625], [5487.39453125, 4741.57275390625, 14820.2236328125]], "area_vx2": 6608400.0, "model_source": "/workspace/flat/C8/w041_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w041_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w041_spliced_p8C8"}]}, "area_cm2": 2.9405970432000004} \ No newline at end of file diff --git a/flat/C8/mesh/w042_spliced_p8C8/meta.json b/flat/C8/mesh/w042_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..76f384c44183c6ba06250c6257a410028a87e86e --- /dev/null +++ b/flat/C8/mesh/w042_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2481.677978515625, 3666.57373046875, 13819.3125], [5544.67431640625, 4757.662109375, 14816.8974609375]], "area_vx2": 6856000.0, "model_source": "/workspace/flat/C8/w042_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w042_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w042_spliced_p8C8"}]}, "area_cm2": 3.01584384} \ No newline at end of file diff --git a/flat/C8/mesh/w043_spliced_p8C8/meta.json b/flat/C8/mesh/w043_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..60fe41225ff7f7e28e0c2ea536c607a53d5bad4d --- /dev/null +++ b/flat/C8/mesh/w043_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2450.323486328125, 3660.98388671875, 13819.71484375], [5582.2021484375, 4770.45654296875, 14820.1220703125]], "area_vx2": 7098400.0, "model_source": "/workspace/flat/C8/w043_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w043_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w043_spliced_p8C8"}]}, "area_cm2": 3.0907920384000005} \ No newline at end of file diff --git a/flat/C8/mesh/w044_spliced_p8C8/meta.json b/flat/C8/mesh/w044_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..eebdfcc796ddad08d194f8be968045dea0626a1f --- /dev/null +++ b/flat/C8/mesh/w044_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2386.610107421875, 3643.11474609375, 13818.99609375], [5608.609375, 4785.07470703125, 14818.869140625]], "area_vx2": 7285600.0, "model_source": "/workspace/flat/C8/w044_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w044_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w044_spliced_p8C8"}]}, "area_cm2": 3.1648444416} \ No newline at end of file diff --git a/flat/C8/mesh/w045_spliced_p8C8/meta.json b/flat/C8/mesh/w045_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..ad236734cb7c912f52b758aa1df9a16458ae9765 --- /dev/null +++ b/flat/C8/mesh/w045_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2360.268798828125, 3639.119873046875, 13821.06640625], [5625.9560546875, 4801.64501953125, 14817.5048828125]], "area_vx2": 7499600.0, "model_source": "/workspace/flat/C8/w045_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w045_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w045_spliced_p8C8"}]}, "area_cm2": 3.238299648} \ No newline at end of file diff --git a/flat/C8/mesh/w046_spliced_p8C8/meta.json b/flat/C8/mesh/w046_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..f9b3f7cd4dae72766466aedca1a65d996b520a65 --- /dev/null +++ b/flat/C8/mesh/w046_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2350.651123046875, 3627.683837890625, 13822.00390625], [5647.07373046875, 4820.61328125, 14819.978515625]], "area_vx2": 7686000.0, "model_source": "/workspace/flat/C8/w046_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w046_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w046_spliced_p8C8"}]}, "area_cm2": 3.311456256} \ No newline at end of file diff --git a/flat/C8/mesh/w047_spliced_p8C8/meta.json b/flat/C8/mesh/w047_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..301d03508d28889d904c25c1ff6e8ccfa9e6ce64 --- /dev/null +++ b/flat/C8/mesh/w047_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2330.741943359375, 3613.891357421875, 13821.365234375], [5679.18505859375, 4832.2373046875, 14819.2412109375]], "area_vx2": 7862400.0, "model_source": "/workspace/flat/C8/w047_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w047_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w047_spliced_p8C8"}]}, "area_cm2": 3.3831198720000004} \ No newline at end of file diff --git a/flat/C8/mesh/w049_spliced_p8C8/meta.json b/flat/C8/mesh/w049_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..c7a8bdf2a879af64df459027e28176e3cd8ffddd --- /dev/null +++ b/flat/C8/mesh/w049_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2264.54638671875, 3595.143310546875, 13821.4384765625], [5761.845703125, 4850.9658203125, 14819.568359375]], "area_vx2": 8270800.0, "model_source": "/workspace/flat/C8/w049_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w049_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w049_spliced_p8C8"}]}, "area_cm2": 3.5148017664000006} \ No newline at end of file diff --git a/flat/C8/mesh/w050_spliced_p8C8/meta.json b/flat/C8/mesh/w050_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..690eb3fcffba70c351b82d58451ad40852eb5bda --- /dev/null +++ b/flat/C8/mesh/w050_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2202.021484375, 3580.4287109375, 13819.60546875], [5783.70166015625, 4859.9228515625, 14822.51953125]], "area_vx2": 8451200.0, "model_source": "/workspace/flat/C8/w050_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w050_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w050_spliced_p8C8"}]}, "area_cm2": 3.587659776} \ No newline at end of file diff --git a/flat/C8/mesh/w052_spliced_p8C8/meta.json b/flat/C8/mesh/w052_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..1432141e3a279e660b4c0ce826471d5b15a226cf --- /dev/null +++ b/flat/C8/mesh/w052_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2149.03125, 3551.97265625, 13820.830078125], [5865.94091796875, 4877.1884765625, 14817.6875]], "area_vx2": 8709200.0, "model_source": "/workspace/flat/C8/w052_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w052_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w052_spliced_p8C8"}]}, "area_cm2": 3.7372575744000005} \ No newline at end of file diff --git a/flat/C8/mesh/w054_spliced_p8C8/meta.json b/flat/C8/mesh/w054_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..08a4204eab95959a84a6cbd8d8f789ccb9b51f6a --- /dev/null +++ b/flat/C8/mesh/w054_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2112.04638671875, 3528.85009765625, 13820.630859375], [5927.19775390625, 4912.87548828125, 14818.8427734375]], "area_vx2": 9048000.0, "model_source": "/workspace/flat/C8/w054_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w054_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w054_spliced_p8C8"}]}, "area_cm2": 3.8814806016000003} \ No newline at end of file diff --git a/flat/C8/mesh/w055_spliced_p8C8/meta.json b/flat/C8/mesh/w055_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3085cae1fc6d216de9c745c6561dc1c0558f4944 --- /dev/null +++ b/flat/C8/mesh/w055_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2084.610595703125, 3512.467041015625, 13819.8212890625], [5963.955078125, 4931.73095703125, 14816.4873046875]], "area_vx2": 9181200.0, "model_source": "/workspace/flat/C8/w055_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w055_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w055_spliced_p8C8"}]}, "area_cm2": 3.9546372096000004} \ No newline at end of file diff --git a/flat/C8/mesh/w057_spliced_p8C8/meta.json b/flat/C8/mesh/w057_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..f1149e5fe9f7965ce0fd91267677c35346b7d6e8 --- /dev/null +++ b/flat/C8/mesh/w057_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2045.7503662109375, 3478.12109375, 13820.6806640625], [6038.474609375, 4978.71826171875, 14818.576171875]], "area_vx2": 9502400.0, "model_source": "/workspace/flat/C8/w057_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w057_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w057_spliced_p8C8"}]}, "area_cm2": 4.1048322048} \ No newline at end of file diff --git a/flat/C8/mesh/w059_spliced_p8C8/meta.json b/flat/C8/mesh/w059_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..935e65968ee4ab07f1bc314fae6959ee6e253a54 --- /dev/null +++ b/flat/C8/mesh/w059_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[2005.8125, 3459.69189453125, 13820.41015625], [6092.20556640625, 5006.560546875, 14823.166015625]], "area_vx2": 9820400.0, "model_source": "/workspace/flat/C8/w059_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w059_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w059_spliced_p8C8"}]}, "area_cm2": 4.238007091200001} \ No newline at end of file diff --git a/flat/C8/mesh/w060_spliced_p8C8/meta.json b/flat/C8/mesh/w060_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..641c384a028bfd1cbb6939b2c7124a3bb46aec71 --- /dev/null +++ b/flat/C8/mesh/w060_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1979.9439697265625, 3452.871337890625, 13821.32421875], [6114.716796875, 5014.73876953125, 14818.3291015625]], "area_vx2": 9959600.0, "model_source": "/workspace/flat/C8/w060_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w060_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w060_spliced_p8C8"}]}, "area_cm2": 4.307879116800001} \ No newline at end of file diff --git a/flat/C8/mesh/w062_spliced_p8C8/meta.json b/flat/C8/mesh/w062_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..1650514d46f213b1e01466f49f7a85eb777e7e60 --- /dev/null +++ b/flat/C8/mesh/w062_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1911.4639892578125, 3425.722900390625, 13819.9609375], [6180.78515625, 5049.85205078125, 14818.2880859375]], "area_vx2": 10441200.0, "model_source": "/workspace/flat/C8/w062_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w062_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w062_spliced_p8C8"}]}, "area_cm2": 4.4479217664} \ No newline at end of file diff --git a/flat/C8/mesh/w066_spliced_p8C8/meta.json b/flat/C8/mesh/w066_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e3dd979dfa4eff85709045df8b4cd80cec367896 --- /dev/null +++ b/flat/C8/mesh/w066_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1757.7611083984375, 3385.1171875, 13822.5283203125], [6330.45947265625, 5119.8818359375, 14819.1767578125]], "area_vx2": 11236000.0, "model_source": "/workspace/flat/C8/w066_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w066_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w066_spliced_p8C8"}]}, "area_cm2": 4.7292014592000005} \ No newline at end of file diff --git a/flat/C8/mesh/w067_spliced_p8C8/meta.json b/flat/C8/mesh/w067_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..ad757d35bdc758e22b9053bdf596a151042d9b31 --- /dev/null +++ b/flat/C8/mesh/w067_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1720.5784912109375, 3374.1767578125, 13821.6044921875], [6347.05029296875, 5126.99365234375, 14819.65625]], "area_vx2": 11244000.0, "model_source": "/workspace/flat/C8/w067_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w067_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w067_spliced_p8C8"}]}, "area_cm2": 4.785636556800001} \ No newline at end of file diff --git a/flat/C8/mesh/w069_spliced_p8C8/meta.json b/flat/C8/mesh/w069_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..3eee477705dfafde73bbc0cea20cfa893e52cdab --- /dev/null +++ b/flat/C8/mesh/w069_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1672.595947265625, 3352.6845703125, 13822.0439453125], [6418.9189453125, 5151.47705078125, 14823.0498046875]], "area_vx2": 11628000.0, "model_source": "/workspace/flat/C8/w069_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w069_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w069_spliced_p8C8"}]}, "area_cm2": 4.9340399616} \ No newline at end of file diff --git a/flat/C8/mesh/w070_spliced_p8C8/meta.json b/flat/C8/mesh/w070_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..85d742b98c3dc9b74b363720c72b66ad1ca5e9ab --- /dev/null +++ b/flat/C8/mesh/w070_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1646.5623779296875, 3349.22216796875, 13821.173828125], [6459.99267578125, 5158.74853515625, 14819.7568359375]], "area_vx2": 11757200.0, "model_source": "/workspace/flat/C8/w070_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w070_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w070_spliced_p8C8"}]}, "area_cm2": 5.008689561600001} \ No newline at end of file diff --git a/flat/C8/mesh/w071_spliced_p8C8/meta.json b/flat/C8/mesh/w071_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..fa003c36d17b11ffe093abd263b524290745935c --- /dev/null +++ b/flat/C8/mesh/w071_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1609.0167236328125, 3330.794921875, 13819.833984375], [6546.783203125, 5174.2490234375, 14820.2939453125]], "area_vx2": 11955200.0, "model_source": "/workspace/flat/C8/w071_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w071_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w071_spliced_p8C8"}]}, "area_cm2": 5.084832153600001} \ No newline at end of file diff --git a/flat/C8/mesh/w076_spliced_p8C8/meta.json b/flat/C8/mesh/w076_spliced_p8C8/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..0096a47bab32637c754c0b7faed758522dbadf3c --- /dev/null +++ b/flat/C8/mesh/w076_spliced_p8C8/meta.json @@ -0,0 +1 @@ +{"uuid": "flatten.tifxyz", "name": "flatten.tifxyz", "type": "seg", "format": "tifxyz", "scale": [0.05, 0.05], "bbox": [[1512.03759765625, 3288.902099609375, 13818.369140625], [6648.97802734375, 5243.724609375, 14821.5]], "area_vx2": 12582800.0, "model_source": "/workspace/flat/C8/w076_spliced_p8C8/model_final.pt", "fit_config": {"args": {"model-init": "flatten", "flatten_solver": "forward", "flatten_initial_inversion": false, "flatten_output_step": 20.0, "flatten_output_margin": 0.0, "flatten_edge_step_global_scale": 100.0, "input": null, "device": "cuda", "downscale": 4.0, "crop": null, "seed": null, "model-w": null, "model-w-unit": "voxels", "model-h": null, "winding-volume": null, "cuda-gridsample": 1, "erode-valid-mask": 0, "sparse-prefetch-backend": "tensorstore", "corr-point-roi": false, "corr-point-roi-init-margin": 80, "corr-point-roi-output-radius": 20, "mesh-step": 100, "winding-step": 25, "subsample-mesh": 4, "subsample-winding": 4, "depth": 3, "mesh-h": 32, "mesh-w": 32, "init-mode": "cylinder_seed", "z-center": 0.0, "pyramid-d": true, "model-input": null, "model-output": null, "snapshot-interval": 1000, "normal-mask-zero": 0, "out-dir": "/workspace/flat/C8/w076_spliced_p8C8", "tifxyz-init": null, "self-map-init": "off", "flatten-solver": "forward", "approval-inpaint": false, "approval-inpaint-corr-spacing": null, "approval-inpaint-padding-frac": 0.25, "approval-inpaint-output-mask": false, "approval-inpaint-output-mask-dilate": 3, "approval-inpaint-tifxyz": null, "tifxyz-flow-gate-channels": false, "progress": false}, "base": {"flatten_sdir": 1.0, "flatten_edge_step": 1.0, "flatten_avg_offset": 1.0, "flatten_orient": 2.0}, "stages": [{"name": "flatten", "steps": 4500, "lr": 0.01, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05, "flatten_renorm_interval": 500}}, {"name": "flatten", "steps": 1000, "lr": 0.001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}, {"name": "flatten", "steps": 1000, "lr": 0.0001, "params": ["map_flatten_ms"], "min_scaledown": 0, "args": {"compile_flatten": true, "compile_flatten_combined": true, "flatten_diagnostics": false, "fused_flatten_adam_clamp": true, "flatten_support": true, "flatten_support_radius": 1, "flatten_orient_min_det": 0.01, "flatten_filter_source_angles": false, "flatten_max_update": 0.1, "flatten_sdir_eps": 1e-08, "status_interval": 100, "auto_steps_window": 2000, "auto_steps_max": 100000, "auto_steps_rel_threshold": 1e-05}}], "external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w076_spliced_p8C8"}]}, "area_cm2": 5.437476864000001} \ No newline at end of file diff --git a/flat/C8/w020_spliced_p8C8.log b/flat/C8/w020_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..b7f35313e31d2cd088438b7196a0edeef3af320c --- /dev/null +++ b/flat/C8/w020_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w020_spliced_p8C8 in 105s -> /workspace/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w020_spliced_p8C8/flatten.log b/flat/C8/w020_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..eb080f6edc9a428af899e836d48fd36e0c54cec2 --- /dev/null +++ b/flat/C8/w020_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w020_spliced_p8C8: 66x101, 5032/6666 valid (75.5%) step_h=24.199 step_w=31.517 step_diag=28.902 step_avg=28.385 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x101 -> 1x33x51 -> 1x17x26 -> 1x9x13 -> 1x5x7 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w020_spliced_p8C8 shape=(66, 101, 3) valid=5032/6666 model_shape=66x101 source_step=20 output_step=20 measured_source_step=28.3836 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 101, 2) point_valid=5032/6666 quad_valid=4875/6500 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 4.8530 3.7524 3.7524 1.1006 1.1006 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 4.8530 0.1 3.7524 3.7524 1.1006 1.1006 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.0290 205.8 0.7327 0.7327 0.2962 0.2962 0.0000 0.0000 0.0000 0.0000 19.967 + stage0 200/4500 0.3684 178.0 0.1975 0.1975 0.1709 0.1709 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 300/4500 0.2079 142.1 0.0917 0.0917 0.1162 0.1162 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 400/4500 0.1324 210.0 0.0641 0.0641 0.0683 0.0683 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0178 target=20 uv_scale=1.00089 + stage0 500/4500 0.1174 262.1 0.0519 0.0519 0.0655 0.0655 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0506 270.4 0.0328 0.0328 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 700/4500 0.0425 286.6 0.0285 0.0285 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0416 235.1 0.0269 0.0269 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 900/4500 0.0402 239.0 0.0260 0.0260 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 1000/4500 0.0391 237.8 0.0254 0.0254 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0380 178.8 0.0248 0.0248 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1200/4500 0.0373 188.6 0.0246 0.0246 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1300/4500 0.0375 187.5 0.0246 0.0246 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1400/4500 0.0368 189.6 0.0246 0.0246 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 1500/4500 0.0368 167.7 0.0245 0.0245 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0373 213.1 0.0249 0.0249 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.0376 299.2 0.0247 0.0247 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.0363 288.8 0.0246 0.0246 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0365 287.3 0.0247 0.0247 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0058 target=20 uv_scale=1.00029 + stage0 2000/4500 0.0357 303.1 0.0246 0.0246 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0371 226.9 0.0248 0.0248 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2200/4500 0.0359 251.5 0.0248 0.0248 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0377 248.2 0.0247 0.0247 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2400/4500 0.0358 254.3 0.0247 0.0247 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0063 target=20 uv_scale=1.00032 + stage0 2500/4500 0.0370 252.2 0.0246 0.0246 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0377 241.2 0.0246 0.0246 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2700/4500 0.0372 249.0 0.0246 0.0246 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2800/4500 0.0372 201.1 0.0246 0.0246 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2900/4500 0.0369 189.1 0.0247 0.0247 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0068 target=20 uv_scale=1.00034 + stage0 3000/4500 0.0371 193.4 0.0246 0.0246 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0370 182.0 0.0248 0.0248 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3200/4500 0.0372 186.9 0.0247 0.0247 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3300/4500 0.0378 277.9 0.0246 0.0246 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3400/4500 0.0380 295.8 0.0246 0.0246 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 3500/4500 0.0396 240.7 0.0246 0.0246 0.0149 0.0149 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 3600/4500 0.0371 242.4 0.0248 0.0248 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3700/4500 0.0373 237.7 0.0246 0.0246 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3800/4500 0.0373 228.5 0.0246 0.0246 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0372 222.2 0.0246 0.0246 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0065 target=20 uv_scale=1.00033 + stage0 4000/4500 0.0371 252.2 0.0246 0.0246 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0373 230.7 0.0248 0.0248 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4200/4500 0.0372 208.8 0.0247 0.0247 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4300/4500 0.0364 78.3 0.0246 0.0246 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4400/4500 0.0364 180.4 0.0246 0.0246 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0086 target=20 uv_scale=1.00043 + stage0 4500/4500 0.0380 259.8 0.0246 0.0246 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m16.70s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0361 0.0246 0.0246 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0361 96.6 0.0246 0.0246 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0372 161.3 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 200/1000 0.0372 270.0 0.0245 0.0245 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 300/1000 0.0372 203.2 0.0245 0.0245 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 400/1000 0.0373 175.6 0.0245 0.0245 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 500/1000 0.0372 226.3 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 600/1000 0.0372 233.7 0.0245 0.0245 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 700/1000 0.0371 235.8 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 800/1000 0.0372 220.6 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 900/1000 0.0372 252.5 0.0245 0.0245 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 1000/1000 0.0373 288.2 0.0245 0.0245 0.0128 0.0128 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage1 'flatten' complete in 4.77s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0373 0.0245 0.0245 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 1/1000 0.0373 112.1 0.0245 0.0245 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 100/1000 0.0372 244.2 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 200/1000 0.0372 260.3 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 300/1000 0.0372 133.7 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 400/1000 0.0372 119.2 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 500/1000 0.0372 133.2 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 600/1000 0.0372 251.5 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 700/1000 0.0372 226.5 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 800/1000 0.0371 165.0 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 900/1000 0.0371 113.4 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 1000/1000 0.0372 276.3 0.0245 0.0245 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage2 'flatten' complete in 5.98s +[optimizer] total optimize time: 1m27.45s +[fit] peak GPU memory: 0.08 GiB +[fit2tifxyz] area_vx2=3357600 diff --git a/flat/C8/w020_spliced_p8C8/flatten_input.json b/flat/C8/w020_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..df3fefe4f4c9541709b6351f2f2eebf23423e156 --- /dev/null +++ b/flat/C8/w020_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w020_spliced_p8C8"}]} diff --git a/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..1d1d53a740c115c601d087f450a66278b322838f --- /dev/null +++ b/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3264.919677734375, + 3979.67626953125, + 13821.861328125 + ], + [ + 4811.30908203125, + 4512.43896484375, + 14817.02734375 + ] + ], + "area_vx2": 3357600.0, + "model_source": "/workspace/flat/C8/w020_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w020_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w020_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif b/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..7c9e6558f19a7906aa75b0b5b0b720e7e2130bca Binary files /dev/null and b/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif b/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..391118cd537fafcf11038b29306f7a6476e67825 Binary files /dev/null and b/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif b/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..481a7151e10d079316b81d9dd53b106bcb537a21 Binary files /dev/null and b/flat/C8/w020_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C8/w021_spliced_p8C8.log b/flat/C8/w021_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..c65eee6142eee04cb624b7c3ad68ccf37ddc092c --- /dev/null +++ b/flat/C8/w021_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w021_spliced_p8C8 in 170s -> /workspace/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w021_spliced_p8C8/flatten.log b/flat/C8/w021_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..c59dbac6d52f3b79750864d61f5bdb6c3ace3bda --- /dev/null +++ b/flat/C8/w021_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w021_spliced_p8C8: 66x106, 5286/6996 valid (75.6%) step_h=24.168 step_w=31.621 step_diag=28.930 step_avg=28.417 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x106 -> 1x33x53 -> 1x17x27 -> 1x9x14 -> 1x5x7 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w021_spliced_p8C8 shape=(66, 106, 3) valid=5286/6996 model_shape=66x106 source_step=20 output_step=20 measured_source_step=28.4155 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 106, 2) point_valid=5286/6996 quad_valid=5121/6825 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 4.5693 3.4872 3.4872 1.0821 1.0821 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 4.5693 0.1 3.4872 3.4872 1.0821 1.0821 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.9935 155.8 0.7034 0.7034 0.2901 0.2901 0.0000 0.0000 0.0000 0.0000 19.957 + stage0 200/4500 0.6708 179.9 0.1858 0.1858 0.4849 0.4849 0.0000 0.0000 0.0000 0.0000 20.046 + stage0 300/4500 0.2076 151.1 0.0853 0.0853 0.1223 0.1223 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 400/4500 0.1280 157.7 0.0614 0.0614 0.0665 0.0665 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0131 target=20 uv_scale=1.00065 + stage0 500/4500 0.0991 195.1 0.0504 0.0504 0.0486 0.0486 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0522 189.1 0.0325 0.0325 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 700/4500 0.0436 189.4 0.0288 0.0288 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0409 187.2 0.0273 0.0273 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 900/4500 0.0392 178.7 0.0263 0.0263 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 1000/4500 0.0381 198.6 0.0255 0.0255 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0346 178.6 0.0231 0.0231 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0346 197.0 0.0229 0.0229 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1300/4500 0.0347 200.5 0.0228 0.0228 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1400/4500 0.0342 192.6 0.0228 0.0228 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0053 target=20 uv_scale=1.00027 + stage0 1500/4500 0.0343 185.1 0.0228 0.0228 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0344 203.9 0.0229 0.0229 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0343 174.0 0.0228 0.0228 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0342 189.4 0.0228 0.0228 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0342 196.5 0.0228 0.0228 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 2000/4500 0.0341 170.1 0.0228 0.0228 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0343 125.8 0.0229 0.0229 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0344 94.4 0.0228 0.0228 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.0339 162.1 0.0228 0.0228 0.0111 0.0111 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0341 154.2 0.0227 0.0227 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 2500/4500 0.0340 126.1 0.0228 0.0228 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0343 161.7 0.0228 0.0228 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0344 166.7 0.0229 0.0229 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0346 185.5 0.0228 0.0228 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2900/4500 0.0344 187.8 0.0228 0.0228 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 3000/4500 0.0344 190.8 0.0228 0.0228 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0343 158.2 0.0229 0.0229 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0343 167.3 0.0228 0.0228 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0342 173.6 0.0228 0.0228 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0345 211.3 0.0228 0.0228 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 3500/4500 0.0344 176.2 0.0228 0.0228 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0342 78.9 0.0228 0.0228 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0344 183.5 0.0228 0.0228 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3800/4500 0.0345 106.4 0.0228 0.0228 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0342 53.0 0.0228 0.0228 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 4000/4500 0.0343 37.0 0.0227 0.0227 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0344 49.8 0.0229 0.0229 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0343 86.5 0.0228 0.0228 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4300/4500 0.0343 95.5 0.0228 0.0228 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0343 94.9 0.0228 0.0228 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 4500/4500 0.0343 66.0 0.0228 0.0228 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m52.95s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0336 0.0228 0.0228 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0336 71.8 0.0228 0.0228 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0342 83.1 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0342 77.3 0.0227 0.0227 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0342 62.9 0.0227 0.0227 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0342 102.0 0.0227 0.0227 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0342 76.3 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0342 63.0 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0342 98.9 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0341 98.6 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0342 89.0 0.0227 0.0227 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0342 72.0 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 12.83s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0342 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0342 122.7 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0342 73.4 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0342 133.3 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0342 94.8 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0342 105.3 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0342 163.0 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0342 179.7 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0342 83.7 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0342 45.0 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0342 70.8 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0342 197.6 0.0227 0.0227 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 11.06s +[optimizer] total optimize time: 2m16.85s +[fit] peak GPU memory: 0.08 GiB +[fit2tifxyz] area_vx2=3534400 diff --git a/flat/C8/w021_spliced_p8C8/flatten_input.json b/flat/C8/w021_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..0367e1b662345397a1669942b3c3c40a4b891040 --- /dev/null +++ b/flat/C8/w021_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w021_spliced_p8C8"}]} diff --git a/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..6a4cc8f9af5c54034d1369aef1b3f2f397e7e3c1 --- /dev/null +++ b/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3228.060302734375, + 3971.563232421875, + 13819.3291015625 + ], + [ + 4872.591796875, + 4512.22607421875, + 14816.9208984375 + ] + ], + "area_vx2": 3534400.0, + "model_source": "/workspace/flat/C8/w021_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w021_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w021_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif b/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..fb6d2b549084c96b0c852d25f773926b83b9ed74 Binary files /dev/null and b/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif b/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..84660fb17111e9944d205e4d7ce0880a21d35b7c Binary files /dev/null and b/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif b/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..934f77c862d736970b102fc303c53c773eb92944 Binary files /dev/null and b/flat/C8/w021_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C8/w022_spliced_p8C8/flatten.log b/flat/C8/w022_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..5d9d6fa630b89184932984dba3b35c44ff8c895c --- /dev/null +++ b/flat/C8/w022_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w022_spliced_p8C8: 66x110, 5484/7260 valid (75.5%) step_h=24.099 step_w=31.098 step_diag=28.505 step_avg=28.057 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x110 -> 1x33x55 -> 1x17x28 -> 1x9x14 -> 1x5x7 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w022_spliced_p8C8 shape=(66, 110, 3) valid=5484/7260 model_shape=66x110 source_step=20 output_step=20 measured_source_step=28.053 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 110, 2) point_valid=5484/7260 quad_valid=5318/7085 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 7.0240 6.0896 6.0896 0.9344 0.9344 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 7.0240 0.1 6.0896 6.0896 0.9344 0.9344 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.0457 78.9 0.7959 0.7959 0.2492 0.2492 0.0000 0.0000 3.0e-04 6.0e-04 19.954 + stage0 200/4500 0.3703 49.5 0.2671 0.2671 0.1032 0.1032 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 300/4500 0.1768 204.3 0.1054 0.1054 0.0714 0.0714 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 400/4500 0.0916 317.1 0.0540 0.0540 0.0376 0.0376 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0106 target=20 uv_scale=1.00053 + stage0 500/4500 0.0658 108.7 0.0377 0.0377 0.0278 0.0278 0.0000 0.0000 2.0e-04 3.0e-04 20.000 + stage0 600/4500 0.0420 87.0 0.0270 0.0270 0.0143 0.0143 0.0000 0.0000 4.0e-04 7.0e-04 20.007 + stage0 700/4500 0.0400 258.7 0.0256 0.0256 0.0138 0.0138 0.0000 0.0000 3.0e-04 7.0e-04 20.008 + stage0 800/4500 0.0407 145.4 0.0247 0.0247 0.0154 0.0154 0.0000 0.0000 3.0e-04 7.0e-04 20.009 + stage0 900/4500 0.0362 65.2 0.0242 0.0242 0.0114 0.0114 0.0000 0.0000 3.0e-04 6.0e-04 20.006 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 1000/4500 0.0367 169.4 0.0242 0.0242 0.0118 0.0118 0.0000 0.0000 3.0e-04 6.0e-04 20.000 + stage0 1100/4500 0.0351 167.9 0.0236 0.0236 0.0110 0.0110 0.0000 0.0000 3.0e-04 5.0e-04 20.005 + stage0 1200/4500 0.0360 163.3 0.0235 0.0235 0.0121 0.0121 0.0000 0.0000 2.0e-04 4.0e-04 20.007 + stage0 1300/4500 0.0368 92.0 0.0235 0.0235 0.0129 0.0129 0.0000 0.0000 2.0e-04 4.0e-04 20.008 + stage0 1400/4500 0.0355 235.1 0.0234 0.0234 0.0118 0.0118 0.0000 0.0000 2.0e-04 3.0e-04 20.007 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 1500/4500 0.0334 270.4 0.0234 0.0234 0.0097 0.0097 0.0000 0.0000 2.0e-04 4.0e-04 20.000 + stage0 1600/4500 0.0346 144.8 0.0234 0.0234 0.0109 0.0109 0.0000 0.0000 2.0e-04 3.0e-04 20.005 + stage0 1700/4500 0.0356 53.8 0.0234 0.0234 0.0118 0.0118 0.0000 0.0000 2.0e-04 3.0e-04 20.007 + stage0 1800/4500 0.0341 30.5 0.0236 0.0236 0.0101 0.0101 0.0000 0.0000 2.0e-04 3.0e-04 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0335 109.5 0.0233 0.0233 0.0099 0.0099 0.0000 0.0000 2.0e-04 3.0e-04 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0009 target=20 uv_scale=1.00004 + stage0 2000/4500 0.0340 117.3 0.0234 0.0234 0.0103 0.0103 0.0000 0.0000 2.0e-04 3.0e-04 20.000 + stage0 2100/4500 0.0349 127.4 0.0235 0.0235 0.0111 0.0111 0.0000 0.0000 2.0e-04 3.0e-04 20.006 + stage0 2200/4500 0.0347 306.4 0.0234 0.0234 0.0110 0.0110 0.0000 0.0000 2.0e-04 3.0e-04 20.006 + stage0 2300/4500 0.0348 321.6 0.0234 0.0234 0.0111 0.0111 0.0000 0.0000 2.0e-04 3.0e-04 20.006 + stage0 2400/4500 0.0344 154.9 0.0234 0.0234 0.0107 0.0107 0.0000 0.0000 2.0e-04 3.0e-04 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0083 target=20 uv_scale=1.00041 + stage0 2500/4500 0.0369 112.6 0.0234 0.0234 0.0132 0.0132 0.0000 0.0000 2.0e-04 3.0e-04 20.000 + stage0 2600/4500 0.0348 132.6 0.0235 0.0235 0.0110 0.0110 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage0 2700/4500 0.0349 362.8 0.0234 0.0234 0.0112 0.0112 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage0 2800/4500 0.0345 260.5 0.0234 0.0234 0.0107 0.0107 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage0 2900/4500 0.0361 107.1 0.0235 0.0235 0.0123 0.0123 0.0000 0.0000 1.0e-04 3.0e-04 20.008 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0346 114.3 0.0234 0.0234 0.0108 0.0108 0.0000 0.0000 2.0e-04 3.0e-04 20.000 + stage0 3100/4500 0.0346 140.5 0.0233 0.0233 0.0109 0.0109 0.0000 0.0000 1.0e-04 3.0e-04 20.005 + stage0 3200/4500 0.0350 306.8 0.0233 0.0233 0.0114 0.0114 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage0 3300/4500 0.0353 312.2 0.0235 0.0235 0.0115 0.0115 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage0 3400/4500 0.0354 150.5 0.0235 0.0235 0.0116 0.0116 0.0000 0.0000 1.0e-04 3.0e-04 20.007 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0057 target=20 uv_scale=1.00028 + stage0 3500/4500 0.0344 118.8 0.0234 0.0234 0.0107 0.0107 0.0000 0.0000 1.0e-04 2.0e-04 20.000 + stage0 3600/4500 0.0345 153.8 0.0234 0.0234 0.0108 0.0108 0.0000 0.0000 1.0e-04 3.0e-04 20.005 + stage0 3700/4500 0.0345 297.3 0.0233 0.0233 0.0109 0.0109 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage0 3800/4500 0.0349 311.7 0.0232 0.0232 0.0114 0.0114 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0347 254.4 0.0234 0.0234 0.0110 0.0110 0.0000 0.0000 1.0e-04 3.0e-04 20.006 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0058 target=20 uv_scale=1.00029 + stage0 4000/4500 0.0338 114.9 0.0235 0.0235 0.0101 0.0101 0.0000 0.0000 1.0e-04 2.0e-04 20.000 + stage0 4100/4500 0.0349 100.2 0.0234 0.0234 0.0112 0.0112 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage0 4200/4500 0.0351 292.6 0.0234 0.0234 0.0114 0.0114 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage0 4300/4500 0.0352 274.9 0.0234 0.0234 0.0115 0.0115 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage0 4400/4500 0.0350 113.6 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.006 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0071 target=20 uv_scale=1.00036 + stage0 4500/4500 0.0356 51.6 0.0235 0.0235 0.0119 0.0119 0.0000 0.0000 1.0e-04 3.0e-04 20.000 +[optimizer] stage0 'flatten' complete in 1m22.34s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0343 0.0235 0.0235 0.0105 0.0105 0.0000 0.0000 1.0e-04 3.0e-04 20.000 + stage1 1/1000 0.0343 69.7 0.0235 0.0235 0.0105 0.0105 0.0000 0.0000 1.0e-04 3.0e-04 20.000 + stage1 100/1000 0.0347 41.4 0.0234 0.0234 0.0111 0.0111 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage1 200/1000 0.0348 146.5 0.0234 0.0234 0.0111 0.0111 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage1 300/1000 0.0348 239.3 0.0234 0.0234 0.0112 0.0112 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage1 400/1000 0.0342 81.1 0.0234 0.0234 0.0105 0.0105 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage1 500/1000 0.0347 132.3 0.0234 0.0234 0.0110 0.0110 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage1 600/1000 0.0353 214.3 0.0234 0.0234 0.0116 0.0116 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage1 700/1000 0.0344 101.5 0.0234 0.0234 0.0108 0.0108 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage1 800/1000 0.0350 101.0 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage1 900/1000 0.0354 159.1 0.0234 0.0234 0.0117 0.0117 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage1 1000/1000 0.0352 304.8 0.0234 0.0234 0.0115 0.0115 0.0000 0.0000 1.0e-04 3.0e-04 20.007 +[optimizer] stage1 'flatten' complete in 9.06s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0351 0.0234 0.0234 0.0114 0.0114 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 1/1000 0.0351 163.1 0.0234 0.0234 0.0114 0.0114 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 100/1000 0.0349 116.4 0.0234 0.0234 0.0112 0.0112 0.0000 0.0000 1.0e-04 3.0e-04 20.006 + stage2 200/1000 0.0350 90.0 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 300/1000 0.0350 233.1 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 400/1000 0.0350 175.4 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 500/1000 0.0350 433.8 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 600/1000 0.0350 426.1 0.0234 0.0234 0.0114 0.0114 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 700/1000 0.0350 367.4 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 800/1000 0.0349 367.4 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 900/1000 0.0349 370.3 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 + stage2 1000/1000 0.0349 381.3 0.0234 0.0234 0.0113 0.0113 0.0000 0.0000 1.0e-04 3.0e-04 20.007 +[optimizer] stage2 'flatten' complete in 4.75s +[optimizer] total optimize time: 1m36.15s +[fit] peak GPU memory: 0.08 GiB +[fit2tifxyz] area_vx2=3622400 diff --git a/flat/C8/w022_spliced_p8C8/flatten_input.json b/flat/C8/w022_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..9b4028d85aa3832460d03b60149e6b68b40fd1aa --- /dev/null +++ b/flat/C8/w022_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w022_spliced_p8C8"}]} diff --git a/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..ef3a19d85db41e264649f537ea88757732efc51e --- /dev/null +++ b/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3185.232666015625, + 3957.16748046875, + 13820.07421875 + ], + [ + 4895.57421875, + 4524.23583984375, + 14817.5703125 + ] + ], + "area_vx2": 3622400.0, + "model_source": "/workspace/flat/C8/w022_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w022_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w022_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif b/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..6377881ad93e67cb8b47c3f3061305bb80fde3a5 Binary files /dev/null and b/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif b/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..5cdb7a52081d48f3d48deb8fcab0a4d0836115f5 Binary files /dev/null and b/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif b/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..48aee5b827061b43ea699e15a4557c0c89e586f8 Binary files /dev/null and b/flat/C8/w022_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C8/w024_spliced_p8C8.log b/flat/C8/w024_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..f064d2296eed0caf898e464640b700e780e6c644 --- /dev/null +++ b/flat/C8/w024_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w024_spliced_p8C8 in 101s -> /workspace/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w024_spliced_p8C8/flatten.log b/flat/C8/w024_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..465d0df34d2d9fb3af925ec28136a3c47ea6fefe --- /dev/null +++ b/flat/C8/w024_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w024_spliced_p8C8: 66x120, 5981/7920 valid (75.5%) step_h=24.134 step_w=31.365 step_diag=28.613 step_avg=28.187 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x120 -> 1x33x60 -> 1x17x30 -> 1x9x15 -> 1x5x8 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w024_spliced_p8C8 shape=(66, 120, 3) valid=5981/7920 model_shape=66x120 source_step=20 output_step=20 measured_source_step=28.1821 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 120, 2) point_valid=5981/7920 quad_valid=5802/7735 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 4.7962 3.8892 3.8892 0.9070 0.9070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 4.7962 0.1 3.8892 3.8892 0.9070 0.9070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8399 272.4 0.6037 0.6037 0.2355 0.2355 0.0000 0.0000 3.0e-04 6.0e-04 19.967 + stage0 200/4500 0.2923 287.4 0.1708 0.1708 0.1139 0.1139 0.0000 0.0000 0.0038 0.0076 20.006 + stage0 300/4500 0.1659 119.9 0.0717 0.0717 0.0941 0.0941 0.0000 0.0000 1.0e-04 1.0e-04 20.019 + stage0 400/4500 0.1054 72.7 0.0485 0.0485 0.0568 0.0568 0.0000 0.0000 1.0e-04 1.0e-04 20.016 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0122 target=20 uv_scale=1.00061 + stage0 500/4500 0.0783 205.9 0.0400 0.0400 0.0382 0.0382 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 600/4500 0.0488 209.4 0.0287 0.0287 0.0200 0.0200 0.0000 0.0000 1.0e-04 1.0e-04 20.006 + stage0 700/4500 0.0456 244.7 0.0269 0.0269 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 800/4500 0.0455 81.8 0.0267 0.0267 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 900/4500 0.0456 188.0 0.0268 0.0268 0.0187 0.0187 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 1000/4500 0.0453 292.1 0.0267 0.0267 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 1100/4500 0.0458 139.4 0.0270 0.0270 0.0188 0.0188 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 1200/4500 0.0454 56.5 0.0268 0.0268 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 1300/4500 0.0452 30.5 0.0269 0.0269 0.0182 0.0182 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 1400/4500 0.0459 99.3 0.0268 0.0268 0.0189 0.0189 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 1500/4500 0.0454 116.2 0.0268 0.0268 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 1600/4500 0.0458 122.5 0.0270 0.0270 0.0187 0.0187 0.0000 0.0000 1.0e-04 2.0e-04 20.005 + stage0 1700/4500 0.0456 320.3 0.0268 0.0268 0.0187 0.0187 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 1800/4500 0.0454 359.1 0.0267 0.0267 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0457 261.4 0.0268 0.0268 0.0188 0.0188 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0051 target=20 uv_scale=1.00026 + stage0 2000/4500 0.0455 106.2 0.0267 0.0267 0.0187 0.0187 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 2100/4500 0.0460 103.9 0.0271 0.0271 0.0188 0.0188 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 2200/4500 0.0459 299.0 0.0269 0.0269 0.0189 0.0189 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 2300/4500 0.0454 281.0 0.0268 0.0268 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 2400/4500 0.0453 108.3 0.0267 0.0267 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 2500/4500 0.0454 114.6 0.0267 0.0267 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 2600/4500 0.0456 133.4 0.0270 0.0270 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 2700/4500 0.0455 314.3 0.0268 0.0268 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 2800/4500 0.0459 311.8 0.0269 0.0269 0.0189 0.0189 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 2900/4500 0.0457 179.3 0.0268 0.0268 0.0188 0.0188 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 3000/4500 0.0456 118.6 0.0268 0.0268 0.0187 0.0187 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 3100/4500 0.0458 132.0 0.0269 0.0269 0.0187 0.0187 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 3200/4500 0.0455 303.3 0.0267 0.0267 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 3300/4500 0.0456 348.3 0.0268 0.0268 0.0187 0.0187 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 3400/4500 0.0456 338.4 0.0268 0.0268 0.0187 0.0187 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 3500/4500 0.0453 129.2 0.0267 0.0267 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 3600/4500 0.0461 104.9 0.0270 0.0270 0.0190 0.0190 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 3700/4500 0.0456 186.0 0.0268 0.0268 0.0187 0.0187 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 3800/4500 0.0455 337.4 0.0267 0.0267 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0454 171.9 0.0267 0.0267 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4000/4500 0.0455 65.0 0.0268 0.0268 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 4100/4500 0.0460 38.9 0.0271 0.0271 0.0188 0.0188 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 4200/4500 0.0458 68.5 0.0268 0.0268 0.0189 0.0189 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 4300/4500 0.0454 211.2 0.0267 0.0267 0.0186 0.0186 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage0 4400/4500 0.0451 91.3 0.0267 0.0267 0.0183 0.0183 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 4500/4500 0.0452 108.4 0.0267 0.0267 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.000 +[optimizer] stage0 'flatten' complete in 1m17.99s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0438 0.0267 0.0267 0.0170 0.0170 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage1 1/1000 0.0438 104.2 0.0267 0.0267 0.0170 0.0170 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage1 100/1000 0.0452 222.0 0.0266 0.0266 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 200/1000 0.0452 103.6 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 300/1000 0.0452 114.2 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 400/1000 0.0451 151.0 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 500/1000 0.0452 358.4 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 600/1000 0.0452 394.8 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 700/1000 0.0452 130.2 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 800/1000 0.0452 91.0 0.0266 0.0266 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 900/1000 0.0452 214.3 0.0266 0.0266 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage1 1000/1000 0.0452 176.3 0.0266 0.0266 0.0185 0.0185 0.0000 0.0000 1.0e-04 1.0e-04 20.005 +[optimizer] stage1 'flatten' complete in 6.51s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0452 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 1/1000 0.0452 184.6 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 100/1000 0.0451 377.6 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 200/1000 0.0451 370.1 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 300/1000 0.0451 366.3 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 400/1000 0.0451 368.7 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 500/1000 0.0451 370.3 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 600/1000 0.0451 274.8 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 700/1000 0.0451 507.1 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 800/1000 0.0451 475.6 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 900/1000 0.0451 466.3 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.005 + stage2 1000/1000 0.0451 473.8 0.0266 0.0266 0.0184 0.0184 0.0000 0.0000 1.0e-04 1.0e-04 20.006 +[optimizer] stage2 'flatten' complete in 2.64s +[optimizer] total optimize time: 1m27.14s +[fit] peak GPU memory: 0.09 GiB +[fit2tifxyz] area_vx2=3971600 diff --git a/flat/C8/w024_spliced_p8C8/flatten_input.json b/flat/C8/w024_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..699cb914f8878c9988150328016766fa0f83812b --- /dev/null +++ b/flat/C8/w024_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w024_spliced_p8C8"}]} diff --git a/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..49bebc2dfc5e62af87668579afaf1c4620cc957c --- /dev/null +++ b/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 3103.72314453125, + 3939.27978515625, + 13823.3359375 + ], + [ + 4923.353515625, + 4552.67236328125, + 14815.9091796875 + ] + ], + "area_vx2": 3971600.0, + "model_source": "/workspace/flat/C8/w024_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w024_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w024_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif b/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..c22172c8357e85c164cf93a08b6e2fc8581030c4 Binary files /dev/null and b/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif b/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..b6b998a1f9ad89ac84879e82a9fcb44e5ad754de Binary files /dev/null and b/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif b/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..da2c348ffd22d5b9b2b3c719bc4bee76a8288e6d Binary files /dev/null and b/flat/C8/w024_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C8/w028_spliced_p8C8.log b/flat/C8/w028_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..97a03de14396363de73f3765ba17d0054af04e27 --- /dev/null +++ b/flat/C8/w028_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w028_spliced_p8C8 in 167s -> /workspace/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w028_spliced_p8C8/flatten.log b/flat/C8/w028_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..1749599bcdcd770f9cfd11bb2eaab184891c3f75 --- /dev/null +++ b/flat/C8/w028_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w028_spliced_p8C8: 66x140, 6976/9240 valid (75.5%) step_h=24.152 step_w=31.190 step_diag=28.450 step_avg=28.069 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x140 -> 1x33x70 -> 1x17x35 -> 1x9x18 -> 1x5x9 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w028_spliced_p8C8 shape=(66, 140, 3) valid=6976/9240 model_shape=66x140 source_step=20 output_step=20 measured_source_step=28.0617 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 140, 2) point_valid=6976/9240 quad_valid=6781/9035 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.4574 2.6699 2.6699 0.7875 0.7875 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.4574 0.0 2.6699 2.6699 0.7875 0.7875 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8353 48.0 0.5817 0.5817 0.2531 0.2531 0.0000 0.0000 3.0e-04 5.0e-04 19.998 + stage0 200/4500 0.3326 96.4 0.1938 0.1938 0.1375 0.1375 0.0000 0.0000 6.0e-04 0.0013 20.016 + stage0 300/4500 0.1857 126.1 0.0843 0.0843 0.1014 0.1014 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 400/4500 0.1173 136.4 0.0522 0.0522 0.0650 0.0650 0.0000 0.0000 0.0000 0.0000 20.020 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0143 target=20 uv_scale=1.00071 + stage0 500/4500 0.0751 86.0 0.0381 0.0381 0.0370 0.0370 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0355 107.7 0.0223 0.0223 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 700/4500 0.0305 145.3 0.0199 0.0199 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0294 111.1 0.0195 0.0195 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0295 144.4 0.0194 0.0194 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 1000/4500 0.0290 83.4 0.0194 0.0194 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0290 83.1 0.0194 0.0194 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0289 113.4 0.0193 0.0193 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0289 137.6 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0289 127.5 0.0193 0.0193 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 1500/4500 0.0288 110.0 0.0194 0.0194 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0289 90.7 0.0194 0.0194 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0290 76.9 0.0193 0.0193 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0291 126.9 0.0193 0.0193 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0284 149.1 0.0192 0.0192 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2000/4500 0.0289 135.8 0.0192 0.0192 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0291 82.8 0.0194 0.0194 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0290 67.1 0.0193 0.0193 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0290 136.9 0.0193 0.0193 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0289 235.1 0.0192 0.0192 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2500/4500 0.0289 233.7 0.0193 0.0193 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0293 215.9 0.0195 0.0195 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0290 120.8 0.0193 0.0193 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0289 156.8 0.0193 0.0193 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0290 208.5 0.0193 0.0193 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0290 212.6 0.0192 0.0192 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0288 201.2 0.0195 0.0195 0.0093 0.0093 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0292 192.8 0.0193 0.0193 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0289 234.5 0.0193 0.0193 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0284 140.9 0.0192 0.0192 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 3500/4500 0.0289 201.7 0.0192 0.0192 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0291 153.6 0.0195 0.0195 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0291 180.7 0.0193 0.0193 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0288 143.6 0.0193 0.0193 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0288 93.5 0.0193 0.0193 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 4000/4500 0.0290 100.9 0.0192 0.0192 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0290 70.6 0.0195 0.0195 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0290 83.4 0.0193 0.0193 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0288 111.0 0.0193 0.0193 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0287 71.7 0.0192 0.0192 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 4500/4500 0.0287 124.0 0.0192 0.0192 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m56.80s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0280 0.0192 0.0192 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0280 93.6 0.0192 0.0192 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0288 107.9 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0288 119.7 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0288 99.7 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0288 186.7 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0288 173.7 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0288 179.6 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0288 163.4 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0288 147.0 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0288 153.6 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0288 107.3 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 7.59s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0288 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0288 118.8 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0288 111.6 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0288 99.6 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0288 40.9 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0288 68.7 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0288 95.5 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0288 201.1 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0288 181.3 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0288 52.6 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0288 49.3 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0288 42.2 0.0192 0.0192 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 14.54s +[optimizer] total optimize time: 2m18.93s +[fit] peak GPU memory: 0.10 GiB +[fit2tifxyz] area_vx2=4622000 diff --git a/flat/C8/w028_spliced_p8C8/flatten_input.json b/flat/C8/w028_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..d6b4fcf637fbd3c143629e3e2b45c6e2db4c99b0 --- /dev/null +++ b/flat/C8/w028_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w028_spliced_p8C8"}]} diff --git a/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..9bbe69798f4bc51aba928b1fde1362f8750c58bc --- /dev/null +++ b/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2972.23779296875, + 3889.52978515625, + 13822.5380859375 + ], + [ + 5036.76611328125, + 4615.51904296875, + 14817.7333984375 + ] + ], + "area_vx2": 4622000.0, + "model_source": "/workspace/flat/C8/w028_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w028_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w028_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif b/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..b949a80da8ecda96563167e54fba3e0572d4c14d Binary files /dev/null and b/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif b/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..2811ed0ace76176ea954eab49f0205385e00bcc8 Binary files /dev/null and b/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif b/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..53422e169b15c1c6da00491fd511afdc593c127f Binary files /dev/null and b/flat/C8/w028_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C8/w033_spliced_p8C8.log b/flat/C8/w033_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..1257af774efab3e0ed7cdd830e303c1fc66dc089 --- /dev/null +++ b/flat/C8/w033_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w033_spliced_p8C8 in 118s -> /workspace/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w033_spliced_p8C8/flatten.log b/flat/C8/w033_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..797f0c547bc0caf32afb17ce8f34f3bf4e68adec --- /dev/null +++ b/flat/C8/w033_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w033_spliced_p8C8: 66x164, 8158/10824 valid (75.4%) step_h=24.145 step_w=30.392 step_diag=27.959 step_avg=27.622 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x164 -> 1x33x82 -> 1x17x41 -> 1x9x21 -> 1x5x11 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w033_spliced_p8C8 shape=(66, 164, 3) valid=8158/10824 model_shape=66x164 source_step=20 output_step=20 measured_source_step=27.6171 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 164, 2) point_valid=8158/10824 quad_valid=7932/10595 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.4731 2.7861 2.7861 0.6870 0.6870 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.4731 0.1 2.7861 2.7861 0.6870 0.6870 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.6923 159.0 0.4914 0.4914 0.2008 0.2008 0.0000 0.0000 0.0000 0.0000 19.997 + stage0 200/4500 0.2808 186.9 0.1664 0.1664 0.1143 0.1143 0.0000 0.0000 0.0000 1.0e-04 20.014 + stage0 300/4500 0.1527 249.0 0.0723 0.0723 0.0803 0.0803 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 400/4500 0.0957 249.1 0.0441 0.0441 0.0516 0.0516 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0141 target=20 uv_scale=1.00071 + stage0 500/4500 0.0639 248.5 0.0314 0.0314 0.0325 0.0325 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0295 250.5 0.0175 0.0175 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 700/4500 0.0217 253.0 0.0143 0.0143 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 800/4500 0.0200 264.8 0.0136 0.0136 0.0064 0.0064 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0195 242.2 0.0134 0.0134 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0029 target=20 uv_scale=1.00014 + stage0 1000/4500 0.0193 265.1 0.0135 0.0135 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0196 211.7 0.0135 0.0135 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0195 248.7 0.0134 0.0134 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0194 247.0 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0193 166.4 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 1500/4500 0.0193 119.3 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0196 68.1 0.0134 0.0134 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0194 140.6 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0194 144.3 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0194 228.5 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 2000/4500 0.0193 232.1 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0194 199.8 0.0134 0.0134 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0194 214.6 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0194 220.8 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0193 234.9 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 2500/4500 0.0193 161.5 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0194 146.7 0.0134 0.0134 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0194 216.3 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0194 208.7 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0194 138.8 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3000/4500 0.0193 125.3 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0194 99.6 0.0134 0.0134 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0194 71.0 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0194 145.9 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0194 118.9 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0193 156.8 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0194 204.7 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0193 171.6 0.0133 0.0133 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0193 69.6 0.0133 0.0133 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0194 202.8 0.0133 0.0133 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 4000/4500 0.0194 217.0 0.0132 0.0132 0.0061 0.0061 1.0e-04 1.0e-04 0.0000 0.0000 20.000 + stage0 4100/4500 0.0195 225.8 0.0134 0.0134 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0194 202.3 0.0133 0.0133 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0194 139.6 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0193 224.8 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0192 182.9 0.0132 0.0132 0.0060 0.0060 0.0000 0.0000 0.0000 1.0e-04 20.000 +[optimizer] stage0 'flatten' complete in 1m30.45s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0188 0.0132 0.0132 0.0056 0.0056 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0188 99.5 0.0132 0.0132 0.0056 0.0056 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0192 169.5 0.0132 0.0132 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0193 99.4 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0193 192.4 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0193 188.6 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0192 217.6 0.0132 0.0132 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0192 195.1 0.0132 0.0132 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0193 211.3 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0193 201.3 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0193 186.9 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0192 207.6 0.0132 0.0132 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 5.83s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0192 0.0132 0.0132 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0192 86.9 0.0132 0.0132 0.0060 0.0060 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0192 173.0 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0192 165.6 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0192 187.3 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0192 195.6 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0192 195.0 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0192 210.0 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0193 192.3 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0192 199.0 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0192 214.0 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0192 202.3 0.0132 0.0132 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 5.39s +[optimizer] total optimize time: 1m41.68s +[fit] peak GPU memory: 0.12 GiB +[fit2tifxyz] area_vx2=5271200 diff --git a/flat/C8/w033_spliced_p8C8/flatten_input.json b/flat/C8/w033_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..e66f83a833f38de643a503696afce60aa8dd4fd9 --- /dev/null +++ b/flat/C8/w033_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w033_spliced_p8C8"}]} diff --git a/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e0c2f1b5b64f20ccb2728b51c6a3eb88df6874d0 --- /dev/null +++ b/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2816.900634765625, + 3810.61279296875, + 13819.8798828125 + ], + [ + 5174.884765625, + 4654.87744140625, + 14818.259765625 + ] + ], + "area_vx2": 5271200.0, + "model_source": "/workspace/flat/C8/w033_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w033_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w033_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif b/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..d466ce5e2dc37fd8570226ef979e678bc2294032 Binary files /dev/null and b/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif b/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..e6b9651c0aca98606c4aa10b71ba60b856a13e97 Binary files /dev/null and b/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif b/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..647bebb91f3a57c3872727eb383b7a644de07219 Binary files /dev/null and b/flat/C8/w033_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C8/w034_spliced_p8C8.log b/flat/C8/w034_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..17243efb03f3ce8adb38fb095454733fd1e944b2 --- /dev/null +++ b/flat/C8/w034_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w034_spliced_p8C8 in 116s -> /workspace/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w034_spliced_p8C8/flatten.log b/flat/C8/w034_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..9ce5db25b627a2e60a6f05b015740e012baad3e8 --- /dev/null +++ b/flat/C8/w034_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w034_spliced_p8C8: 66x169, 8399/11154 valid (75.3%) step_h=24.104 step_w=30.421 step_diag=27.956 step_avg=27.617 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x169 -> 1x33x85 -> 1x17x43 -> 1x9x22 -> 1x5x11 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w034_spliced_p8C8 shape=(66, 169, 3) valid=8399/11154 model_shape=66x169 source_step=20 output_step=20 measured_source_step=27.6086 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 169, 2) point_valid=8399/11154 quad_valid=8167/10920 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0522 2.3387 2.3387 0.7136 0.7136 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0522 0.1 2.3387 2.3387 0.7136 0.7136 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7095 159.2 0.5025 0.5025 0.2070 0.2070 0.0000 0.0000 0.0000 0.0000 19.995 + stage0 200/4500 0.2972 191.0 0.1744 0.1744 0.1227 0.1227 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 300/4500 0.1621 205.3 0.0778 0.0778 0.0843 0.0843 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 400/4500 0.1052 218.2 0.0481 0.0481 0.0571 0.0571 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0148 target=20 uv_scale=1.00074 + stage0 500/4500 0.0721 201.4 0.0343 0.0343 0.0379 0.0379 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0341 216.3 0.0182 0.0182 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 700/4500 0.0209 206.1 0.0130 0.0130 0.0079 0.0079 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 800/4500 0.0183 213.2 0.0118 0.0118 0.0065 0.0065 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 900/4500 0.0178 186.5 0.0116 0.0116 0.0062 0.0062 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 1000/4500 0.0175 203.5 0.0115 0.0115 0.0061 0.0061 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0171 161.7 0.0113 0.0113 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0170 192.4 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1300/4500 0.0170 195.2 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0170 199.6 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0027 target=20 uv_scale=1.00013 + stage0 1500/4500 0.0169 215.4 0.0112 0.0112 0.0056 0.0056 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0170 200.7 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0170 206.5 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1800/4500 0.0170 210.9 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0170 195.0 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 2000/4500 0.0170 192.1 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0170 187.7 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0170 221.3 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0170 201.2 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0170 204.8 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 2500/4500 0.0170 188.4 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0169 199.6 0.0112 0.0112 0.0057 0.0057 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0170 235.6 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0170 229.6 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0170 251.5 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 3000/4500 0.0170 222.3 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0172 202.9 0.0112 0.0112 0.0059 0.0059 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0170 263.1 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0170 177.3 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0170 245.4 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 3500/4500 0.0170 235.2 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0170 241.6 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0170 257.2 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0170 235.5 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0170 214.5 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0170 214.7 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0170 194.6 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0170 219.3 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0170 233.9 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0170 217.0 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0170 230.3 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m28.47s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0166 0.0112 0.0112 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0166 79.0 0.0112 0.0112 0.0054 0.0054 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0170 201.8 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0170 217.8 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0170 205.9 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0170 218.9 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0170 220.1 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0170 222.0 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0170 217.7 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0170 220.9 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0170 218.6 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0170 217.7 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 4.81s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0170 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0170 103.8 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0170 195.6 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0170 206.7 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0170 190.7 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0170 109.0 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0170 184.9 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0170 214.0 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0170 220.1 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0170 195.2 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0170 207.8 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0170 214.0 0.0112 0.0112 0.0058 0.0058 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 5.52s +[optimizer] total optimize time: 1m38.80s +[fit] peak GPU memory: 0.12 GiB +[fit2tifxyz] area_vx2=5416800 diff --git a/flat/C8/w034_spliced_p8C8/flatten_input.json b/flat/C8/w034_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..38b9025952c692789fb02fb615cc4731964e0af3 --- /dev/null +++ b/flat/C8/w034_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w034_spliced_p8C8"}]} diff --git a/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..19cbd574e4a0364741a351f8d297710316d5c2f0 --- /dev/null +++ b/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2778.9560546875, + 3796.144287109375, + 13821.1357421875 + ], + [ + 5233.50244140625, + 4672.572265625, + 14817.0615234375 + ] + ], + "area_vx2": 5416800.0, + "model_source": "/workspace/flat/C8/w034_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w034_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w034_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif b/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..9dc5954e76083c67c5392697620a1a19c13b4212 Binary files /dev/null and b/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif b/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..2bdad26f4ba3dd14d9ed19bcd7fc1d079cdf0e4e Binary files /dev/null and b/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif b/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..3f63674d8f717507de46af76df32d8296083e8da Binary files /dev/null and b/flat/C8/w034_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C8/w035_spliced_p8C8.log b/flat/C8/w035_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..dc3a93e033d050dae56988b40d8bb628a646e0b7 --- /dev/null +++ b/flat/C8/w035_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w035_spliced_p8C8 in 166s -> /workspace/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w035_spliced_p8C8/flatten.log b/flat/C8/w035_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..f9b3b8145444321ebed01505ad35ad07370a748d --- /dev/null +++ b/flat/C8/w035_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w035_spliced_p8C8: 66x174, 8643/11484 valid (75.3%) step_h=24.154 step_w=30.466 step_diag=28.008 step_avg=27.667 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x174 -> 1x33x87 -> 1x17x44 -> 1x9x22 -> 1x5x11 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w035_spliced_p8C8 shape=(66, 174, 3) valid=8643/11484 model_shape=66x174 source_step=20 output_step=20 measured_source_step=27.6638 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 174, 2) point_valid=8643/11484 quad_valid=8407/11245 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.9885 2.2297 2.2297 0.7588 0.7588 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.9885 0.0 2.2297 2.2297 0.7588 0.7588 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7667 199.2 0.5178 0.5178 0.2489 0.2489 0.0000 0.0000 0.0000 0.0000 19.998 + stage0 200/4500 0.3235 235.7 0.1867 0.1867 0.1368 0.1368 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 300/4500 0.1752 224.8 0.0873 0.0873 0.0878 0.0878 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 400/4500 0.1138 241.5 0.0549 0.0549 0.0589 0.0589 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0146 target=20 uv_scale=1.00073 + stage0 500/4500 0.0832 227.2 0.0393 0.0393 0.0439 0.0439 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0490 216.8 0.0253 0.0253 0.0237 0.0237 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 700/4500 0.0330 146.9 0.0186 0.0186 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 800/4500 0.0265 201.8 0.0160 0.0160 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 900/4500 0.0239 188.3 0.0150 0.0150 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 1000/4500 0.0227 210.4 0.0145 0.0145 0.0082 0.0082 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0207 184.1 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1200/4500 0.0201 250.7 0.0128 0.0128 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1300/4500 0.0198 239.2 0.0127 0.0127 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0198 233.6 0.0127 0.0127 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 1500/4500 0.0198 173.2 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0198 187.6 0.0127 0.0127 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0198 230.5 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0198 226.2 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0198 233.5 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 2000/4500 0.0198 239.6 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0198 205.2 0.0127 0.0127 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0198 231.3 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0198 221.2 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0198 217.2 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0035 target=20 uv_scale=1.00018 + stage0 2500/4500 0.0198 230.3 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0197 214.7 0.0127 0.0127 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0198 213.1 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0198 229.3 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0198 237.5 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0035 target=20 uv_scale=1.00018 + stage0 3000/4500 0.0197 228.1 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0198 201.1 0.0127 0.0127 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0198 229.6 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0198 213.8 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0198 208.3 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0198 218.7 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0198 214.4 0.0127 0.0127 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0198 229.9 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0197 236.3 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0197 217.4 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0197 220.9 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0198 215.3 0.0127 0.0127 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0198 226.1 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0198 205.3 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0198 149.9 0.0126 0.0126 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0197 109.5 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m58.15s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0193 0.0126 0.0126 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0193 21.5 0.0126 0.0126 0.0067 0.0067 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0197 156.4 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0197 170.9 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0197 146.0 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0197 224.0 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0197 209.8 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0197 116.4 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0197 198.9 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0197 214.0 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0197 218.2 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0197 215.0 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 5.90s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0197 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0197 77.0 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0197 215.4 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0197 118.8 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0197 180.4 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0197 216.1 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0197 224.1 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0197 208.3 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0197 164.8 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0197 58.4 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0197 39.7 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0197 58.4 0.0126 0.0126 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 10.06s +[optimizer] total optimize time: 2m14.12s +[fit] peak GPU memory: 0.12 GiB +[fit2tifxyz] area_vx2=5598800 diff --git a/flat/C8/w035_spliced_p8C8/flatten_input.json b/flat/C8/w035_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..ee1fc8399ff163c8a879795bfefbfd1d6b8624ce --- /dev/null +++ b/flat/C8/w035_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w035_spliced_p8C8"}]} diff --git a/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e883ed516fb42a49cc38ce8631355e38375af7ea --- /dev/null +++ b/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2732.59326171875, + 3784.82861328125, + 13820.1845703125 + ], + [ + 5260.36962890625, + 4686.7861328125, + 14818.1923828125 + ] + ], + "area_vx2": 5598800.0, + "model_source": "/workspace/flat/C8/w035_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w035_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w035_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif b/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif new file mode 100644 index 0000000000000000000000000000000000000000..c938afddfac117c573706e90595c158cd1d865be Binary files /dev/null and b/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/x.tif differ diff --git a/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif b/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif new file mode 100644 index 0000000000000000000000000000000000000000..611f8cd03a45b9cf5755f9776bc6ed52da603c89 Binary files /dev/null and b/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/y.tif differ diff --git a/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif b/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif new file mode 100644 index 0000000000000000000000000000000000000000..9431315a7d14d6b777ff364e77cfdfa87605d49b Binary files /dev/null and b/flat/C8/w035_spliced_p8C8/tifxyz/flatten.tifxyz/z.tif differ diff --git a/flat/C8/w036_spliced_p8C8/flatten.log b/flat/C8/w036_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..108de079e73621f9235a6a1c17935bc8710752c2 --- /dev/null +++ b/flat/C8/w036_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w036_spliced_p8C8: 66x179, 8880/11814 valid (75.2%) step_h=24.258 step_w=30.507 step_diag=28.085 step_avg=27.742 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x179 -> 1x33x90 -> 1x17x45 -> 1x9x23 -> 1x5x12 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w036_spliced_p8C8 shape=(66, 179, 3) valid=8880/11814 model_shape=66x179 source_step=20 output_step=20 measured_source_step=27.7365 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 179, 2) point_valid=8880/11814 quad_valid=8639/11570 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.3031 2.5196 2.5196 0.7835 0.7835 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.3031 0.0 2.5196 2.5196 0.7835 0.7835 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7646 142.9 0.5312 0.5312 0.2333 0.2333 0.0000 0.0000 0.0000 0.0000 19.992 + stage0 200/4500 0.3424 200.2 0.1988 0.1988 0.1436 0.1436 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 300/4500 0.1931 222.7 0.0940 0.0940 0.0991 0.0991 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 400/4500 0.1272 218.4 0.0596 0.0596 0.0676 0.0676 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0149 target=20 uv_scale=1.00075 + stage0 500/4500 0.0909 214.5 0.0428 0.0428 0.0481 0.0481 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0471 216.8 0.0251 0.0251 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 700/4500 0.0335 190.7 0.0196 0.0196 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 800/4500 0.0276 193.3 0.0173 0.0173 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0253 220.0 0.0164 0.0164 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 1000/4500 0.0239 210.1 0.0156 0.0156 0.0083 0.0083 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0215 196.8 0.0138 0.0138 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0211 226.6 0.0135 0.0135 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0208 207.2 0.0134 0.0134 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1400/4500 0.0208 205.8 0.0134 0.0134 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 1500/4500 0.0209 203.4 0.0134 0.0134 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0208 222.7 0.0134 0.0134 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0208 219.3 0.0134 0.0134 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0207 210.5 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0207 220.4 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 2000/4500 0.0207 207.3 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0207 197.6 0.0134 0.0134 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0209 222.7 0.0133 0.0133 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0207 221.2 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0208 204.4 0.0133 0.0133 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 2500/4500 0.0207 210.4 0.0133 0.0133 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0209 225.4 0.0134 0.0134 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0207 223.7 0.0133 0.0133 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0210 241.3 0.0133 0.0133 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0207 220.9 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 3000/4500 0.0214 218.2 0.0133 0.0133 0.0081 0.0081 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0208 189.1 0.0133 0.0133 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0206 202.0 0.0133 0.0133 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0206 211.6 0.0133 0.0133 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0207 217.2 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 3500/4500 0.0208 200.8 0.0133 0.0133 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0207 200.6 0.0134 0.0134 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0207 124.2 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0207 142.7 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0209 168.4 0.0133 0.0133 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 4000/4500 0.0207 135.5 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0207 154.0 0.0134 0.0134 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0207 214.3 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0207 111.5 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0208 210.7 0.0133 0.0133 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0205 209.7 0.0133 0.0133 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m02.12s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0202 0.0133 0.0133 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0202 109.6 0.0133 0.0133 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0208 200.8 0.0133 0.0133 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0207 227.8 0.0133 0.0133 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0207 224.2 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0207 145.8 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0207 197.8 0.0133 0.0133 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0208 222.0 0.0133 0.0133 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0207 215.6 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0207 222.4 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0207 190.9 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0207 115.5 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 5.55s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0207 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0207 93.4 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0207 39.0 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0207 52.9 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0207 68.4 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0207 99.3 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0207 72.1 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0207 91.2 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0207 66.4 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0207 79.5 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0207 112.9 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0207 100.8 0.0133 0.0133 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 14.37s +[optimizer] total optimize time: 2m22.05s +[fit] peak GPU memory: 0.13 GiB +[fit2tifxyz] area_vx2=5792000 diff --git a/flat/C8/w036_spliced_p8C8/flatten_input.json b/flat/C8/w036_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..c56e6118492a8380a89a0c77df79b416aac8b74d --- /dev/null +++ b/flat/C8/w036_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w036_spliced_p8C8"}]} diff --git a/flat/C8/w036_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w036_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..9acdb33ee5c7af01131e710f55665b8ac4c89779 --- /dev/null +++ b/flat/C8/w036_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2718.517578125, + 3775.197265625, + 13819.888671875 + ], + [ + 5313.75244140625, + 4696.27392578125, + 14817.5966796875 + ] + ], + "area_vx2": 5792000.0, + "model_source": "/workspace/flat/C8/w036_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w036_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w036_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w037_spliced_p8C8.log b/flat/C8/w037_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..664361b731cfb1cc6e202e01bf88421c0c792bf7 --- /dev/null +++ b/flat/C8/w037_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w037_spliced_p8C8 in 103s -> /workspace/flat/C8/w037_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w037_spliced_p8C8/flatten.log b/flat/C8/w037_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..385bafa2b184b1a0e3873aa13130cedede018f23 --- /dev/null +++ b/flat/C8/w037_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w037_spliced_p8C8: 66x184, 9122/12144 valid (75.1%) step_h=24.220 step_w=30.537 step_diag=28.048 step_avg=27.722 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x184 -> 1x33x92 -> 1x17x46 -> 1x9x23 -> 1x5x12 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w037_spliced_p8C8 shape=(66, 184, 3) valid=9122/12144 model_shape=66x184 source_step=20 output_step=20 measured_source_step=27.7192 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 184, 2) point_valid=9122/12144 quad_valid=8876/11895 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0535 2.2782 2.2782 0.7753 0.7753 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0535 0.0 2.2782 2.2782 0.7753 0.7753 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7721 148.8 0.5323 0.5323 0.2397 0.2397 0.0000 0.0000 0.0000 0.0000 19.992 + stage0 200/4500 0.3462 188.5 0.2038 0.2038 0.1423 0.1423 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 300/4500 0.1744 202.1 0.0993 0.0993 0.0751 0.0751 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 400/4500 0.1460 221.5 0.0669 0.0669 0.0790 0.0790 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0171 target=20 uv_scale=1.00086 + stage0 500/4500 0.1101 204.8 0.0516 0.0516 0.0584 0.0584 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0614 189.2 0.0318 0.0318 0.0296 0.0296 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 700/4500 0.0414 199.3 0.0231 0.0231 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 800/4500 0.0329 187.1 0.0194 0.0194 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 900/4500 0.0297 192.0 0.0178 0.0178 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 1000/4500 0.0282 192.2 0.0170 0.0170 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0267 157.8 0.0160 0.0160 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0261 200.6 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0258 237.2 0.0154 0.0154 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0255 202.5 0.0152 0.0152 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 1500/4500 0.0252 203.1 0.0151 0.0151 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0253 219.1 0.0151 0.0151 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0251 189.4 0.0150 0.0150 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0250 208.3 0.0149 0.0149 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0248 184.6 0.0149 0.0149 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 2000/4500 0.0248 183.0 0.0149 0.0149 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0247 174.0 0.0149 0.0149 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0248 203.2 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0247 175.6 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0247 166.6 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 2500/4500 0.0246 186.2 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0249 237.3 0.0149 0.0149 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0247 220.0 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0247 200.9 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0246 212.9 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 3000/4500 0.0246 244.4 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0247 181.3 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0247 159.1 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0246 238.0 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0246 238.6 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 3500/4500 0.0246 221.4 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0248 210.1 0.0148 0.0148 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0247 211.7 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0246 204.9 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0246 223.0 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 4000/4500 0.0246 221.7 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0247 199.3 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0246 218.5 0.0148 0.0148 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0246 224.2 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0245 228.8 0.0147 0.0147 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 4500/4500 0.0245 212.7 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m17.74s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0239 0.0147 0.0147 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0239 105.9 0.0147 0.0147 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0245 221.1 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0245 213.8 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0245 204.3 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0245 212.2 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0245 210.1 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0245 208.7 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0245 232.2 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0245 213.2 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0245 266.6 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0245 278.4 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 4.64s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0245 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0245 121.3 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0245 278.3 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0245 269.8 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0245 152.1 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0245 187.5 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0245 221.5 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0245 249.9 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0245 222.2 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0245 217.8 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0245 220.5 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0245 215.0 0.0147 0.0147 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 4.78s +[optimizer] total optimize time: 1m27.17s +[fit] peak GPU memory: 0.13 GiB +[fit2tifxyz] area_vx2=5958800 diff --git a/flat/C8/w037_spliced_p8C8/flatten_input.json b/flat/C8/w037_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..888e7ccf989687e746fa34613f3be004846e6af1 --- /dev/null +++ b/flat/C8/w037_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w037_spliced_p8C8"}]} diff --git a/flat/C8/w037_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w037_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..cc6245ba2d69862fc867d0337820c55b81840601 --- /dev/null +++ b/flat/C8/w037_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2669.321044921875, + 3747.45068359375, + 13825.126953125 + ], + [ + 5360.88623046875, + 4707.4775390625, + 14817.5654296875 + ] + ], + "area_vx2": 5958800.0, + "model_source": "/workspace/flat/C8/w037_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w037_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w037_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w038_spliced_p8C8.log b/flat/C8/w038_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..debc0e171fab6283e705a53ad39cf55481a8f5db --- /dev/null +++ b/flat/C8/w038_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w038_spliced_p8C8 in 148s -> /workspace/flat/C8/w038_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w038_spliced_p8C8/flatten.log b/flat/C8/w038_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..051da64cdcf50ec6d3277011c29cc2c3d47f47c0 --- /dev/null +++ b/flat/C8/w038_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w038_spliced_p8C8: 66x189, 9379/12474 valid (75.2%) step_h=24.191 step_w=30.521 step_diag=28.008 step_avg=27.691 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x189 -> 1x33x95 -> 1x17x48 -> 1x9x24 -> 1x5x12 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w038_spliced_p8C8 shape=(66, 189, 3) valid=9379/12474 model_shape=66x189 source_step=20 output_step=20 measured_source_step=27.6879 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 189, 2) point_valid=9379/12474 quad_valid=9128/12220 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.9280 2.1633 2.1633 0.7647 0.7647 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.9280 0.1 2.1633 2.1633 0.7647 0.7647 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8063 109.1 0.5248 0.5248 0.2815 0.2815 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 200/4500 0.3389 91.2 0.2053 0.2053 0.1336 0.1336 0.0000 0.0000 0.0000 1.0e-04 20.009 + stage0 300/4500 0.1996 105.1 0.1017 0.1017 0.0979 0.0979 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 400/4500 0.1394 88.9 0.0667 0.0667 0.0727 0.0727 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0163 target=20 uv_scale=1.00081 + stage0 500/4500 0.1078 134.4 0.0498 0.0498 0.0580 0.0580 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0561 118.0 0.0290 0.0290 0.0272 0.0272 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 700/4500 0.0373 154.0 0.0209 0.0209 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 800/4500 0.0305 156.5 0.0179 0.0179 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 900/4500 0.0281 163.2 0.0168 0.0168 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 1000/4500 0.0273 130.2 0.0163 0.0163 0.0110 0.0110 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0269 145.6 0.0161 0.0161 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0266 128.5 0.0159 0.0159 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0264 155.5 0.0158 0.0158 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0262 117.9 0.0157 0.0157 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 1500/4500 0.0262 134.8 0.0157 0.0157 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0264 138.5 0.0158 0.0158 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0263 145.1 0.0157 0.0157 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0262 144.8 0.0157 0.0157 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0262 136.5 0.0157 0.0157 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 2000/4500 0.0261 138.5 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0263 114.3 0.0157 0.0157 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0262 123.9 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0261 78.4 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0260 90.0 0.0156 0.0156 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 2500/4500 0.0260 104.6 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0263 116.4 0.0157 0.0157 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0262 140.3 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0261 119.3 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0260 117.7 0.0156 0.0156 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 3000/4500 0.0260 134.5 0.0156 0.0156 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0263 120.6 0.0157 0.0157 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0261 135.0 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0260 67.0 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0260 67.3 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 3500/4500 0.0259 79.1 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0262 162.7 0.0157 0.0157 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0261 150.1 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0261 171.6 0.0155 0.0155 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0260 142.4 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 4000/4500 0.0260 130.3 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0262 144.2 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0261 161.1 0.0156 0.0156 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0260 180.0 0.0156 0.0156 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0260 161.2 0.0156 0.0156 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 4500/4500 0.0260 162.9 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m56.24s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0252 0.0155 0.0155 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0252 75.4 0.0155 0.0155 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0259 161.1 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0259 153.4 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0259 163.6 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0259 156.0 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0259 177.4 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0259 182.6 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0259 176.1 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0259 164.6 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0259 181.8 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0259 177.6 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 6.10s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0259 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0259 117.8 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0259 189.6 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0259 147.9 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0259 160.6 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0259 182.5 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0259 166.6 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0259 152.3 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0259 185.9 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0259 208.3 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0259 176.6 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0259 200.9 0.0155 0.0155 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 5.94s +[optimizer] total optimize time: 2m08.29s +[fit] peak GPU memory: 0.13 GiB +[fit2tifxyz] area_vx2=6136000 diff --git a/flat/C8/w038_spliced_p8C8/flatten_input.json b/flat/C8/w038_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..dd079399902dc42653be671de13dad61d11695a8 --- /dev/null +++ b/flat/C8/w038_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w038_spliced_p8C8"}]} diff --git a/flat/C8/w038_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w038_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..37bd16bf2354cbd44123971c2d366d5c6ddf8b65 --- /dev/null +++ b/flat/C8/w038_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2637.05126953125, + 3733.14013671875, + 13823.2734375 + ], + [ + 5373.89013671875, + 4711.2177734375, + 14821.2568359375 + ] + ], + "area_vx2": 6136000.0, + "model_source": "/workspace/flat/C8/w038_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w038_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w038_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w040_spliced_p8C8.log b/flat/C8/w040_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..72d34ed176c12b9de009138cb37b979ee81d8538 --- /dev/null +++ b/flat/C8/w040_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w040_spliced_p8C8 in 200s -> /workspace/flat/C8/w040_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w040_spliced_p8C8/flatten.log b/flat/C8/w040_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..2d51955cb567cd8a2dbd9d40a228acb3d4e97fa9 --- /dev/null +++ b/flat/C8/w040_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w040_spliced_p8C8: 66x198, 9853/13068 valid (75.4%) step_h=24.172 step_w=30.209 step_diag=27.820 step_avg=27.514 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x198 -> 1x33x99 -> 1x17x50 -> 1x9x25 -> 1x5x13 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w040_spliced_p8C8 shape=(66, 198, 3) valid=9853/13068 model_shape=66x198 source_step=20 output_step=20 measured_source_step=27.5109 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 198, 2) point_valid=9853/13068 quad_valid=9594/12805 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.8112 2.0849 2.0849 0.7263 0.7263 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.8112 0.0 2.0849 2.0849 0.7263 0.7263 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7236 94.3 0.4818 0.4818 0.2418 0.2418 0.0000 0.0000 0.0000 0.0000 19.996 + stage0 200/4500 0.2965 91.3 0.1861 0.1861 0.1104 0.1104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 300/4500 0.1705 94.9 0.0898 0.0898 0.0807 0.0807 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.1137 157.6 0.0556 0.0556 0.0581 0.0581 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0123 target=20 uv_scale=1.00061 + stage0 500/4500 0.0809 104.7 0.0400 0.0400 0.0408 0.0408 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0456 114.4 0.0236 0.0236 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 700/4500 0.0303 91.1 0.0176 0.0176 0.0127 0.0127 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 800/4500 0.0251 72.0 0.0156 0.0156 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 900/4500 0.0233 88.4 0.0149 0.0149 0.0084 0.0084 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 1000/4500 0.0222 91.1 0.0144 0.0144 0.0078 0.0078 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0207 42.3 0.0135 0.0135 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0206 35.8 0.0134 0.0134 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0206 66.8 0.0134 0.0134 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0205 100.2 0.0133 0.0133 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 1500/4500 0.0204 71.4 0.0133 0.0133 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0204 75.4 0.0133 0.0133 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0203 84.2 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0203 61.2 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0202 85.0 0.0132 0.0132 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 2000/4500 0.0203 135.8 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0205 133.5 0.0132 0.0132 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0203 163.2 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0203 165.4 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0203 108.9 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 2500/4500 0.0202 53.8 0.0132 0.0132 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0203 42.3 0.0132 0.0132 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0203 96.1 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0202 153.0 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0202 201.8 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3000/4500 0.0202 206.3 0.0131 0.0131 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0204 143.5 0.0133 0.0133 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0203 143.1 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0203 79.3 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0202 140.7 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0202 164.5 0.0131 0.0131 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0203 91.2 0.0133 0.0133 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0203 153.7 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0202 151.4 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0202 173.8 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 4000/4500 0.0202 156.7 0.0131 0.0131 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0203 128.5 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0203 108.7 0.0132 0.0132 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0202 170.9 0.0131 0.0131 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0202 180.9 0.0131 0.0131 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 4500/4500 0.0202 158.8 0.0131 0.0131 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m42.26s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0197 0.0131 0.0131 0.0065 0.0065 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0197 98.4 0.0131 0.0131 0.0065 0.0065 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0201 155.3 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0201 155.5 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0201 190.5 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0202 184.2 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0201 155.4 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0201 164.3 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0201 149.7 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0201 168.5 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0201 141.7 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0201 129.1 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 6.56s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0201 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0201 51.6 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0201 155.4 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0201 159.3 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0201 163.7 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0201 151.0 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0201 166.6 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0201 160.8 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0201 151.2 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0201 167.6 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0201 144.3 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0201 136.7 0.0131 0.0131 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 6.67s +[optimizer] total optimize time: 2m55.49s +[fit] peak GPU memory: 0.14 GiB +[fit2tifxyz] area_vx2=6389600 diff --git a/flat/C8/w040_spliced_p8C8/flatten_input.json b/flat/C8/w040_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..921a655f573a64049affdc60ac3d36de2da5a503 --- /dev/null +++ b/flat/C8/w040_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w040_spliced_p8C8"}]} diff --git a/flat/C8/w040_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w040_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..119ea5ea20a738100e1a4a99c0e1c4b9c9f8204f --- /dev/null +++ b/flat/C8/w040_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2577.900634765625, + 3705.86669921875, + 13821.62890625 + ], + [ + 5452.248046875, + 4732.97021484375, + 14817.7880859375 + ] + ], + "area_vx2": 6389600.0, + "model_source": "/workspace/flat/C8/w040_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w040_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w040_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w041_spliced_p8C8.log b/flat/C8/w041_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..04ae8a81e2e0cb30f3c32fcb4df2a372a5566b69 --- /dev/null +++ b/flat/C8/w041_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w041_spliced_p8C8 in 134s -> /workspace/flat/C8/w041_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w041_spliced_p8C8/flatten.log b/flat/C8/w041_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..ef9f06216deb4ea42d2f380c0e32efddb7350bbe --- /dev/null +++ b/flat/C8/w041_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w041_spliced_p8C8: 66x203, 10111/13398 valid (75.5%) step_h=24.206 step_w=30.351 step_diag=27.885 step_avg=27.591 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x203 -> 1x33x102 -> 1x17x51 -> 1x9x26 -> 1x5x13 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w041_spliced_p8C8 shape=(66, 203, 3) valid=10111/13398 model_shape=66x203 source_step=20 output_step=20 measured_source_step=27.588 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 203, 2) point_valid=10111/13398 quad_valid=9848/13130 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.9078 2.1607 2.1607 0.7471 0.7471 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.9078 0.0 2.1607 2.1607 0.7471 0.7471 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7458 143.0 0.5047 0.5047 0.2410 0.2410 0.0000 0.0000 0.0000 0.0000 19.992 + stage0 200/4500 0.3363 193.8 0.2038 0.2038 0.1325 0.1325 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 300/4500 0.1905 196.2 0.1010 0.1010 0.0895 0.0895 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 400/4500 0.1325 186.5 0.0635 0.0635 0.0690 0.0690 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0137 target=20 uv_scale=1.00069 + stage0 500/4500 0.0947 183.5 0.0467 0.0467 0.0480 0.0480 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0591 167.5 0.0293 0.0293 0.0298 0.0298 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 700/4500 0.0389 161.2 0.0214 0.0214 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 800/4500 0.0315 116.7 0.0183 0.0183 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 900/4500 0.0281 98.5 0.0171 0.0171 0.0110 0.0110 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 1000/4500 0.0275 91.2 0.0170 0.0170 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0260 75.0 0.0160 0.0160 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1200/4500 0.0256 86.6 0.0157 0.0157 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1300/4500 0.0255 73.1 0.0157 0.0157 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1400/4500 0.0253 179.0 0.0155 0.0155 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 1500/4500 0.0252 157.1 0.0154 0.0154 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0252 116.8 0.0156 0.0156 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0251 65.3 0.0154 0.0154 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0251 108.6 0.0154 0.0154 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0255 78.7 0.0156 0.0156 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2000/4500 0.0250 98.7 0.0153 0.0153 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0250 90.0 0.0154 0.0154 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0249 153.2 0.0154 0.0154 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0249 91.7 0.0153 0.0153 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0249 140.5 0.0153 0.0153 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 2500/4500 0.0251 131.7 0.0156 0.0156 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0249 126.9 0.0154 0.0154 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0249 137.0 0.0154 0.0154 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0248 153.6 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0248 131.7 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 3000/4500 0.0248 133.5 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0248 107.2 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0248 132.7 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0248 127.7 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0245 116.3 0.0153 0.0153 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 3500/4500 0.0248 120.9 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0249 119.6 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0248 120.5 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0248 120.0 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0247 134.1 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 4000/4500 0.0248 112.8 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0250 76.5 0.0154 0.0154 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0247 99.5 0.0153 0.0153 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0248 124.9 0.0153 0.0153 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0248 151.9 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0051 target=20 uv_scale=1.00026 + stage0 4500/4500 0.0259 116.5 0.0159 0.0159 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m40.32s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0248 0.0160 0.0160 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0248 54.4 0.0160 0.0160 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0246 130.8 0.0152 0.0152 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0246 111.3 0.0152 0.0152 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0246 125.7 0.0152 0.0152 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0247 117.0 0.0152 0.0152 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0247 77.3 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0247 63.2 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0247 69.7 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0247 153.1 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0247 165.6 0.0152 0.0152 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0247 150.9 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 9.78s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0247 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0247 87.4 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0247 158.0 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0247 150.4 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0247 134.9 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0247 145.4 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0247 179.3 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0247 159.2 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0247 175.8 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0247 168.5 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0247 156.8 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0247 174.5 0.0152 0.0152 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 6.48s +[optimizer] total optimize time: 1m56.58s +[fit] peak GPU memory: 0.14 GiB +[fit2tifxyz] area_vx2=6608400 diff --git a/flat/C8/w041_spliced_p8C8/flatten_input.json b/flat/C8/w041_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..226a4b810c33d680c706c1da63dc5252621753ac --- /dev/null +++ b/flat/C8/w041_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w041_spliced_p8C8"}]} diff --git a/flat/C8/w041_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w041_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..c2023b8d55740ca5277f5ae51cb556063dda30ec --- /dev/null +++ b/flat/C8/w041_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2532.291748046875, + 3699.035400390625, + 13822.5947265625 + ], + [ + 5487.39453125, + 4741.57275390625, + 14820.2236328125 + ] + ], + "area_vx2": 6608400.0, + "model_source": "/workspace/flat/C8/w041_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w041_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w041_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w042_spliced_p8C8.log b/flat/C8/w042_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..cfdaf75a7639d987b55a43ebefa74e06e116502e --- /dev/null +++ b/flat/C8/w042_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w042_spliced_p8C8 in 147s -> /workspace/flat/C8/w042_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w042_spliced_p8C8/flatten.log b/flat/C8/w042_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..32d30781cbea8b7a5f42d91b74c82b945fdfbfad --- /dev/null +++ b/flat/C8/w042_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w042_spliced_p8C8: 66x208, 10371/13728 valid (75.5%) step_h=24.356 step_w=30.490 step_diag=28.046 step_avg=27.744 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x208 -> 1x33x104 -> 1x17x52 -> 1x9x26 -> 1x5x13 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w042_spliced_p8C8 shape=(66, 208, 3) valid=10371/13728 model_shape=66x208 source_step=20 output_step=20 measured_source_step=27.7412 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 208, 2) point_valid=10371/13728 quad_valid=10100/13455 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0718 2.2966 2.2966 0.7752 0.7752 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0718 0.0 2.2966 2.2966 0.7752 0.7752 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7448 114.0 0.5229 0.5229 0.2218 0.2218 0.0000 0.0000 0.0000 0.0000 19.977 + stage0 200/4500 0.3471 120.4 0.2143 0.2143 0.1328 0.1328 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 300/4500 0.1862 158.3 0.1044 0.1044 0.0817 0.0817 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 400/4500 0.1350 149.7 0.0649 0.0649 0.0702 0.0702 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0147 target=20 uv_scale=1.00073 + stage0 500/4500 0.1025 150.0 0.0487 0.0487 0.0538 0.0538 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0655 124.6 0.0307 0.0307 0.0348 0.0348 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 700/4500 0.0488 139.3 0.0244 0.0244 0.0244 0.0244 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 800/4500 0.0410 120.7 0.0218 0.0218 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 900/4500 0.0373 111.8 0.0204 0.0204 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.006 target=20 uv_scale=1.0003 + stage0 1000/4500 0.0351 125.0 0.0196 0.0196 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0340 114.7 0.0189 0.0189 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1200/4500 0.0334 123.2 0.0185 0.0185 0.0149 0.0149 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1300/4500 0.0332 127.1 0.0182 0.0182 0.0149 0.0149 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1400/4500 0.0320 144.4 0.0181 0.0181 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 1500/4500 0.0326 125.7 0.0180 0.0180 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0318 125.2 0.0178 0.0178 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0314 159.2 0.0177 0.0177 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0317 103.6 0.0177 0.0177 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0315 102.8 0.0176 0.0176 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0051 target=20 uv_scale=1.00025 + stage0 2000/4500 0.0315 99.2 0.0177 0.0177 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0310 109.7 0.0176 0.0176 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0311 119.8 0.0175 0.0175 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0309 121.9 0.0174 0.0174 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0311 131.8 0.0174 0.0174 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2500/4500 0.0311 123.3 0.0174 0.0174 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0307 129.6 0.0174 0.0174 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0307 135.4 0.0174 0.0174 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0307 136.6 0.0174 0.0174 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0308 57.5 0.0174 0.0174 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 3000/4500 0.0309 71.3 0.0173 0.0173 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0308 86.9 0.0174 0.0174 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0308 169.1 0.0174 0.0174 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0311 176.1 0.0174 0.0174 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0311 153.6 0.0174 0.0174 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 3500/4500 0.0306 157.0 0.0173 0.0173 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0306 143.3 0.0174 0.0174 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0309 192.4 0.0175 0.0175 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0308 156.4 0.0174 0.0174 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0309 155.6 0.0174 0.0174 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0044 target=20 uv_scale=1.00022 + stage0 4000/4500 0.0306 148.8 0.0173 0.0173 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0305 144.7 0.0174 0.0174 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0305 163.3 0.0173 0.0173 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0306 148.2 0.0173 0.0173 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0309 166.8 0.0173 0.0173 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0045 target=20 uv_scale=1.00023 + stage0 4500/4500 0.0307 149.0 0.0173 0.0173 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m55.63s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0298 0.0174 0.0174 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0298 119.9 0.0174 0.0174 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0305 179.1 0.0173 0.0173 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0305 174.4 0.0173 0.0173 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0306 162.4 0.0173 0.0173 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0305 191.6 0.0173 0.0173 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0305 183.5 0.0173 0.0173 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0305 204.7 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0305 193.3 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0305 160.2 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0305 178.4 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0305 156.9 0.0172 0.0172 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 5.87s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0305 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0305 109.0 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0305 170.8 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0305 173.9 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0305 153.7 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0305 165.5 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0305 146.5 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0305 183.4 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0305 137.2 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0305 168.9 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0305 168.1 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0305 177.8 0.0172 0.0172 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 6.33s +[optimizer] total optimize time: 2m07.83s +[fit] peak GPU memory: 0.15 GiB +[fit2tifxyz] area_vx2=6856000 diff --git a/flat/C8/w042_spliced_p8C8/flatten_input.json b/flat/C8/w042_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..11cbd74ec367b699be138f413016279f6940717f --- /dev/null +++ b/flat/C8/w042_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w042_spliced_p8C8"}]} diff --git a/flat/C8/w042_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w042_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..6d18adda2fea29b042f600d830f526b47100db33 --- /dev/null +++ b/flat/C8/w042_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2481.677978515625, + 3666.57373046875, + 13819.3125 + ], + [ + 5544.67431640625, + 4757.662109375, + 14816.8974609375 + ] + ], + "area_vx2": 6856000.0, + "model_source": "/workspace/flat/C8/w042_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w042_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w042_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w043_spliced_p8C8.log b/flat/C8/w043_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..96ac03ca89d07f19398aa3bd18edc0be0a3a632c --- /dev/null +++ b/flat/C8/w043_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w043_spliced_p8C8 in 107s -> /workspace/flat/C8/w043_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w043_spliced_p8C8/flatten.log b/flat/C8/w043_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..58f96b737c6fc096bb568b36548035c50dedfb00 --- /dev/null +++ b/flat/C8/w043_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w043_spliced_p8C8: 66x213, 10624/14058 valid (75.6%) step_h=24.365 step_w=30.623 step_diag=28.107 step_avg=27.810 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x213 -> 1x33x107 -> 1x17x54 -> 1x9x27 -> 1x5x14 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w043_spliced_p8C8 shape=(66, 213, 3) valid=10624/14058 model_shape=66x213 source_step=20 output_step=20 measured_source_step=27.8072 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 213, 2) point_valid=10624/14058 quad_valid=10351/13780 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.9555 2.1657 2.1657 0.7897 0.7897 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.9555 0.1 2.1657 2.1657 0.7897 0.7897 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.7736 216.7 0.5227 0.5227 0.2509 0.2509 0.0000 0.0000 0.0000 0.0000 19.988 + stage0 200/4500 0.3774 323.8 0.2168 0.2168 0.1606 0.1606 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 300/4500 0.2309 122.2 0.1112 0.1112 0.1197 0.1197 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 400/4500 0.1666 78.7 0.0726 0.0726 0.0939 0.0939 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0166 target=20 uv_scale=1.00083 + stage0 500/4500 0.1272 102.2 0.0547 0.0547 0.0724 0.0724 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0916 34.9 0.0374 0.0374 0.0541 0.0541 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 700/4500 0.0682 55.5 0.0290 0.0290 0.0391 0.0391 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 800/4500 0.0528 108.3 0.0243 0.0243 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 900/4500 0.0439 293.1 0.0217 0.0217 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0089 target=20 uv_scale=1.00044 + stage0 1000/4500 0.0387 279.3 0.0201 0.0201 0.0186 0.0186 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0355 200.4 0.0187 0.0187 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1200/4500 0.0342 109.3 0.0182 0.0182 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1300/4500 0.0332 128.1 0.0179 0.0179 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1400/4500 0.0325 271.9 0.0176 0.0176 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0056 target=20 uv_scale=1.00028 + stage0 1500/4500 0.0320 265.4 0.0174 0.0174 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0311 205.3 0.0173 0.0173 0.0138 0.0138 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0312 107.9 0.0172 0.0172 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0311 126.9 0.0171 0.0171 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0306 287.2 0.0171 0.0171 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0049 target=20 uv_scale=1.00025 + stage0 2000/4500 0.0305 278.0 0.0170 0.0170 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0304 152.5 0.0170 0.0170 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0303 110.2 0.0169 0.0169 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0303 128.3 0.0169 0.0169 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0303 301.1 0.0168 0.0168 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 2500/4500 0.0302 278.8 0.0168 0.0168 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0301 258.5 0.0169 0.0169 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0300 99.8 0.0168 0.0168 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0300 115.5 0.0168 0.0168 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0302 292.1 0.0168 0.0168 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 3000/4500 0.0300 187.9 0.0167 0.0167 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0300 74.5 0.0169 0.0169 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0299 95.8 0.0168 0.0168 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0301 131.4 0.0168 0.0168 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0302 77.1 0.0168 0.0168 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0049 target=20 uv_scale=1.00025 + stage0 3500/4500 0.0301 107.4 0.0167 0.0167 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0299 239.3 0.0168 0.0168 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0299 78.6 0.0168 0.0168 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0300 83.6 0.0167 0.0167 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0299 191.6 0.0167 0.0167 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 4000/4500 0.0298 237.9 0.0167 0.0167 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0298 54.4 0.0169 0.0169 0.0130 0.0130 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0298 174.7 0.0168 0.0168 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0299 127.0 0.0167 0.0167 0.0132 0.0132 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0300 69.2 0.0167 0.0167 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.005 target=20 uv_scale=1.00025 + stage0 4500/4500 0.0301 168.4 0.0167 0.0167 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m20.96s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0290 0.0167 0.0167 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0290 133.1 0.0167 0.0167 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0302 121.8 0.0167 0.0167 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0300 75.4 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0300 152.2 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0299 265.1 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0300 110.8 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0300 76.8 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0299 193.8 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0300 147.1 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0300 65.8 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0300 187.9 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 8.80s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0299 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0299 159.6 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0299 313.4 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0299 294.9 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0299 218.2 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0299 128.2 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0299 119.6 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0299 190.2 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0300 63.7 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0301 79.1 0.0167 0.0167 0.0134 0.0134 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0300 166.6 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0299 292.8 0.0166 0.0166 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 7.18s +[optimizer] total optimize time: 1m36.94s +[fit] peak GPU memory: 0.15 GiB +[fit2tifxyz] area_vx2=7098400 diff --git a/flat/C8/w043_spliced_p8C8/flatten_input.json b/flat/C8/w043_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..1ac2a9b729eaf110971472c7f3fe7cca8aec0d95 --- /dev/null +++ b/flat/C8/w043_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w043_spliced_p8C8"}]} diff --git a/flat/C8/w043_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w043_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..6b6de0b0d0903202b60f78863028cc4ab9cd04e1 --- /dev/null +++ b/flat/C8/w043_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2450.323486328125, + 3660.98388671875, + 13819.71484375 + ], + [ + 5582.2021484375, + 4770.45654296875, + 14820.1220703125 + ] + ], + "area_vx2": 7098400.0, + "model_source": "/workspace/flat/C8/w043_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w043_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w043_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w044_spliced_p8C8.log b/flat/C8/w044_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..8fea96762c60aae8c2931b79dc7eb081ca612e0f --- /dev/null +++ b/flat/C8/w044_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w044_spliced_p8C8 in 77s -> /workspace/flat/C8/w044_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w044_spliced_p8C8/flatten.log b/flat/C8/w044_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..66407401d40143425a64380baff2d9b3e9e052af --- /dev/null +++ b/flat/C8/w044_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w044_spliced_p8C8: 66x218, 10877/14388 valid (75.6%) step_h=24.397 step_w=30.634 step_diag=28.140 step_avg=27.838 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x218 -> 1x33x109 -> 1x17x55 -> 1x9x28 -> 1x5x14 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w044_spliced_p8C8 shape=(66, 218, 3) valid=10877/14388 model_shape=66x218 source_step=20 output_step=20 measured_source_step=27.837 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 218, 2) point_valid=10877/14388 quad_valid=10599/14105 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.9014 2.1061 2.1061 0.7953 0.7953 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.9014 0.9 2.1061 2.1061 0.7953 0.7953 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8171 82.1 0.5260 0.5260 0.2902 0.2902 0.0000 0.0000 5.0e-04 9.0e-04 19.997 + stage0 200/4500 0.3619 188.0 0.2213 0.2213 0.1405 0.1405 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 300/4500 0.2212 116.1 0.1144 0.1144 0.1067 0.1067 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.1550 71.1 0.0743 0.0743 0.0807 0.0807 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0158 target=20 uv_scale=1.00079 + stage0 500/4500 0.1213 150.3 0.0562 0.0562 0.0651 0.0651 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0828 275.6 0.0362 0.0362 0.0466 0.0466 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 700/4500 0.0552 324.8 0.0266 0.0266 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 800/4500 0.0424 90.2 0.0219 0.0219 0.0204 0.0204 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 900/4500 0.0360 101.1 0.0197 0.0197 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0065 target=20 uv_scale=1.00032 + stage0 1000/4500 0.0328 260.8 0.0185 0.0185 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0302 64.4 0.0173 0.0173 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1200/4500 0.0297 89.7 0.0171 0.0171 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0291 344.8 0.0169 0.0169 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0289 257.2 0.0167 0.0167 0.0122 0.0122 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 1500/4500 0.0285 281.8 0.0166 0.0166 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0281 118.3 0.0166 0.0166 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0282 128.3 0.0165 0.0165 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0280 299.4 0.0164 0.0164 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0280 406.6 0.0164 0.0164 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 2000/4500 0.0278 404.2 0.0163 0.0163 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0278 69.9 0.0164 0.0164 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0278 107.4 0.0163 0.0163 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0278 384.0 0.0163 0.0163 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0278 531.2 0.0163 0.0163 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 2500/4500 0.0277 494.7 0.0163 0.0163 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0277 409.7 0.0164 0.0164 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0277 77.9 0.0163 0.0163 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0278 137.4 0.0162 0.0162 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0282 327.1 0.0163 0.0163 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 3000/4500 0.0280 358.7 0.0163 0.0163 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0276 332.8 0.0163 0.0163 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0276 111.1 0.0162 0.0162 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0275 81.4 0.0162 0.0162 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0277 328.8 0.0162 0.0162 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 3500/4500 0.0278 331.4 0.0162 0.0162 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0276 83.3 0.0163 0.0163 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0276 102.3 0.0162 0.0162 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0276 87.4 0.0162 0.0162 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0277 34.9 0.0162 0.0162 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 4000/4500 0.0278 51.3 0.0162 0.0162 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0276 171.7 0.0163 0.0163 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0276 272.6 0.0162 0.0162 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0276 305.1 0.0162 0.0162 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0276 182.7 0.0161 0.0161 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 4500/4500 0.0276 105.1 0.0162 0.0162 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 53.20s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0269 0.0162 0.0162 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0269 91.8 0.0162 0.0162 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0276 175.1 0.0161 0.0161 0.0115 0.0115 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0277 280.6 0.0161 0.0161 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0279 290.5 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0279 148.5 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0278 104.4 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0278 172.5 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0278 289.8 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0278 279.6 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0277 163.6 0.0162 0.0162 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0279 110.8 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 5.93s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0278 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0278 56.4 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0278 179.1 0.0162 0.0162 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0278 294.0 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0278 270.9 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0278 170.3 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0279 99.2 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0279 146.5 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0278 273.5 0.0162 0.0162 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0278 105.6 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0278 71.7 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0278 173.7 0.0162 0.0162 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 7.03s +[optimizer] total optimize time: 1m06.16s +[fit] peak GPU memory: 0.16 GiB +[fit2tifxyz] area_vx2=7285600 diff --git a/flat/C8/w044_spliced_p8C8/flatten_input.json b/flat/C8/w044_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..5ec4bfd8f0969d65f769efd2bb16f69b0788d773 --- /dev/null +++ b/flat/C8/w044_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w044_spliced_p8C8"}]} diff --git a/flat/C8/w044_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w044_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..439116b93f18c6ec8af245011676e70b3e12cd65 --- /dev/null +++ b/flat/C8/w044_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2386.610107421875, + 3643.11474609375, + 13818.99609375 + ], + [ + 5608.609375, + 4785.07470703125, + 14818.869140625 + ] + ], + "area_vx2": 7285600.0, + "model_source": "/workspace/flat/C8/w044_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w044_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w044_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w045_spliced_p8C8.log b/flat/C8/w045_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..805992f08c7f2a2340138cc788ce12b869b2eb67 --- /dev/null +++ b/flat/C8/w045_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w045_spliced_p8C8 in 105s -> /workspace/flat/C8/w045_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w045_spliced_p8C8/flatten.log b/flat/C8/w045_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..ac787e016b0c67cdf24bc18f3eccf682f31a6fb7 --- /dev/null +++ b/flat/C8/w045_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w045_spliced_p8C8: 66x223, 11129/14718 valid (75.6%) step_h=24.465 step_w=30.724 step_diag=28.209 step_avg=27.912 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x223 -> 1x33x112 -> 1x17x56 -> 1x9x28 -> 1x5x14 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w045_spliced_p8C8 shape=(66, 223, 3) valid=11129/14718 model_shape=66x223 source_step=20 output_step=20 measured_source_step=27.9114 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 223, 2) point_valid=11129/14718 quad_valid=10845/14430 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.8695 2.0769 2.0769 0.7926 0.7926 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.8695 0.1 2.0769 2.0769 0.7926 0.7926 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8242 52.5 0.5370 0.5370 0.2835 0.2835 0.0000 0.0000 0.0019 0.0037 19.995 + stage0 200/4500 0.3908 69.7 0.2345 0.2345 0.1562 0.1562 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 300/4500 0.2350 292.9 0.1243 0.1243 0.1107 0.1107 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 400/4500 0.1743 283.4 0.0814 0.0814 0.0929 0.0929 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0179 target=20 uv_scale=1.00089 + stage0 500/4500 0.1392 279.6 0.0609 0.0609 0.0783 0.0783 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.0789 137.7 0.0384 0.0384 0.0405 0.0405 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 700/4500 0.0564 109.0 0.0281 0.0281 0.0283 0.0283 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 800/4500 0.0452 200.9 0.0235 0.0235 0.0217 0.0217 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 900/4500 0.0400 276.5 0.0214 0.0214 0.0186 0.0186 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0057 target=20 uv_scale=1.00029 + stage0 1000/4500 0.0379 291.2 0.0206 0.0206 0.0173 0.0173 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0359 114.9 0.0198 0.0198 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0355 105.2 0.0195 0.0195 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0352 229.2 0.0194 0.0194 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0350 284.9 0.0194 0.0194 0.0157 0.0157 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 1500/4500 0.0349 296.7 0.0194 0.0194 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0348 140.4 0.0195 0.0195 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0349 110.5 0.0194 0.0194 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0350 157.6 0.0194 0.0194 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0350 289.5 0.0194 0.0194 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 2000/4500 0.0349 285.1 0.0193 0.0193 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0345 147.6 0.0194 0.0194 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0345 101.5 0.0194 0.0194 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0345 154.7 0.0194 0.0194 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0343 310.8 0.0193 0.0193 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 2500/4500 0.0345 122.6 0.0193 0.0193 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0344 68.6 0.0194 0.0194 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0347 158.0 0.0194 0.0194 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0347 94.7 0.0194 0.0194 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0348 74.5 0.0193 0.0193 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0053 target=20 uv_scale=1.00026 + stage0 3000/4500 0.0349 183.1 0.0193 0.0193 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0342 133.7 0.0193 0.0193 0.0149 0.0149 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0343 68.7 0.0192 0.0192 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0346 123.1 0.0193 0.0193 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0348 223.6 0.0193 0.0193 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 3500/4500 0.0350 142.3 0.0192 0.0192 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0340 69.1 0.0193 0.0193 0.0147 0.0147 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0343 225.4 0.0193 0.0193 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0342 242.1 0.0192 0.0192 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0343 89.8 0.0192 0.0192 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 4000/4500 0.0344 89.2 0.0192 0.0192 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0343 182.5 0.0193 0.0193 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0343 83.4 0.0193 0.0193 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0343 85.2 0.0192 0.0192 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0343 230.5 0.0192 0.0192 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4500/4500 0.0348 183.8 0.0192 0.0192 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m18.86s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0334 0.0192 0.0192 0.0141 0.0141 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0334 112.5 0.0192 0.0192 0.0141 0.0141 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0343 76.4 0.0191 0.0191 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0343 125.4 0.0191 0.0191 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0343 166.9 0.0191 0.0191 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0343 63.3 0.0191 0.0191 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0344 155.1 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0344 316.5 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0345 311.8 0.0191 0.0191 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0345 301.8 0.0192 0.0192 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0345 153.5 0.0192 0.0192 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0345 121.8 0.0192 0.0192 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 7.64s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0344 0.0192 0.0192 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0344 61.9 0.0192 0.0192 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0345 172.2 0.0192 0.0192 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0345 82.5 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0345 69.6 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0345 118.8 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0344 237.1 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0344 374.6 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0344 183.6 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0345 127.1 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0344 301.3 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0344 338.8 0.0191 0.0191 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 6.90s +[optimizer] total optimize time: 1m33.40s +[fit] peak GPU memory: 0.16 GiB +[fit2tifxyz] area_vx2=7499600 diff --git a/flat/C8/w045_spliced_p8C8/flatten_input.json b/flat/C8/w045_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..9e55af68ee0c4c430ef58526092c080086c8b283 --- /dev/null +++ b/flat/C8/w045_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w045_spliced_p8C8"}]} diff --git a/flat/C8/w045_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w045_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..f2defd06637912133df4c8f9be4d9612af7b990d --- /dev/null +++ b/flat/C8/w045_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2360.268798828125, + 3639.119873046875, + 13821.06640625 + ], + [ + 5625.9560546875, + 4801.64501953125, + 14817.5048828125 + ] + ], + "area_vx2": 7499600.0, + "model_source": "/workspace/flat/C8/w045_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w045_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w045_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w046_spliced_p8C8.log b/flat/C8/w046_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..e5fab186ba78ff25ff53e89af0dea1068a21d353 --- /dev/null +++ b/flat/C8/w046_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w046_spliced_p8C8 in 196s -> /workspace/flat/C8/w046_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w046_spliced_p8C8/flatten.log b/flat/C8/w046_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..6e223ba962a5e6aa1780666f4c6bd3eb1196ef71 --- /dev/null +++ b/flat/C8/w046_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w046_spliced_p8C8: 66x228, 11380/15048 valid (75.6%) step_h=24.524 step_w=30.757 step_diag=28.240 step_avg=27.950 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x228 -> 1x33x114 -> 1x17x57 -> 1x9x29 -> 1x5x15 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w046_spliced_p8C8 shape=(66, 228, 3) valid=11380/15048 model_shape=66x228 source_step=20 output_step=20 measured_source_step=27.9506 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 228, 2) point_valid=11380/15048 quad_valid=11090/14755 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.8720 2.0754 2.0754 0.7966 0.7966 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.8720 0.0 2.0754 2.0754 0.7966 0.7966 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8013 119.4 0.5319 0.5319 0.2685 0.2685 0.0000 0.0000 4.0e-04 8.0e-04 19.990 + stage0 200/4500 0.3673 150.5 0.2317 0.2317 0.1356 0.1356 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 300/4500 0.2073 161.2 0.1217 0.1217 0.0855 0.0855 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 400/4500 0.1533 196.9 0.0788 0.0788 0.0745 0.0745 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0182 target=20 uv_scale=1.00091 + stage0 500/4500 0.1353 184.6 0.0606 0.0606 0.0747 0.0747 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1021 65.7 0.0458 0.0458 0.0562 0.0562 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 700/4500 0.0827 42.6 0.0385 0.0385 0.0443 0.0443 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 800/4500 0.0704 73.7 0.0328 0.0328 0.0376 0.0376 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 900/4500 0.0581 125.5 0.0286 0.0286 0.0294 0.0294 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0106 target=20 uv_scale=1.00053 + stage0 1000/4500 0.0511 208.2 0.0260 0.0260 0.0250 0.0250 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0437 183.2 0.0233 0.0233 0.0204 0.0204 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1200/4500 0.0412 178.9 0.0226 0.0226 0.0186 0.0186 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1300/4500 0.0395 178.9 0.0223 0.0223 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0390 174.4 0.0221 0.0221 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 1500/4500 0.0387 94.7 0.0220 0.0220 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0382 113.2 0.0218 0.0218 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0381 180.9 0.0217 0.0217 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0383 116.8 0.0217 0.0217 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0384 119.9 0.0217 0.0217 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0049 target=20 uv_scale=1.00024 + stage0 2000/4500 0.0383 169.0 0.0216 0.0216 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0379 128.7 0.0216 0.0216 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0378 142.9 0.0215 0.0215 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0378 141.0 0.0215 0.0215 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0377 151.9 0.0214 0.0214 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 2500/4500 0.0377 109.9 0.0214 0.0214 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0375 191.4 0.0215 0.0215 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0375 165.8 0.0214 0.0214 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0377 152.4 0.0215 0.0215 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0377 168.1 0.0214 0.0214 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0378 158.0 0.0214 0.0214 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0379 142.8 0.0214 0.0214 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0377 149.3 0.0214 0.0214 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0376 174.5 0.0213 0.0213 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0377 165.3 0.0213 0.0213 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 3500/4500 0.0378 160.8 0.0213 0.0213 0.0165 0.0165 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0373 163.5 0.0214 0.0214 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0377 173.1 0.0214 0.0214 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0375 168.3 0.0213 0.0213 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0378 163.8 0.0213 0.0213 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 4000/4500 0.0375 158.3 0.0213 0.0213 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0377 146.6 0.0214 0.0214 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0375 151.7 0.0213 0.0213 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0375 169.7 0.0213 0.0213 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0377 157.2 0.0213 0.0213 0.0164 0.0164 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 4500/4500 0.0375 155.0 0.0212 0.0212 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m37.73s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0364 0.0213 0.0213 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0364 78.1 0.0213 0.0213 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0374 157.8 0.0212 0.0212 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0374 154.0 0.0212 0.0212 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0372 183.5 0.0212 0.0212 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0374 162.0 0.0212 0.0212 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0372 176.8 0.0212 0.0212 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0374 205.2 0.0212 0.0212 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0373 186.7 0.0212 0.0212 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0374 186.1 0.0212 0.0212 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0373 182.1 0.0211 0.0211 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0373 173.8 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 5.94s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0373 0.0211 0.0211 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0373 106.1 0.0211 0.0211 0.0162 0.0162 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0373 151.3 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0373 179.3 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0373 164.7 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0373 169.6 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0373 138.5 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0372 162.7 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0373 177.5 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0373 171.0 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0373 172.9 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0373 167.8 0.0211 0.0211 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 6.28s +[optimizer] total optimize time: 2m49.96s +[fit] peak GPU memory: 0.16 GiB +[fit2tifxyz] area_vx2=7686000 diff --git a/flat/C8/w046_spliced_p8C8/flatten_input.json b/flat/C8/w046_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..adae9a733d7aea7cf1e746fda9fe1711b69d9d9d --- /dev/null +++ b/flat/C8/w046_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w046_spliced_p8C8"}]} diff --git a/flat/C8/w046_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w046_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..555d6ed6b604a99592463b196190e75f4e2432d5 --- /dev/null +++ b/flat/C8/w046_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2350.651123046875, + 3627.683837890625, + 13822.00390625 + ], + [ + 5647.07373046875, + 4820.61328125, + 14819.978515625 + ] + ], + "area_vx2": 7686000.0, + "model_source": "/workspace/flat/C8/w046_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w046_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w046_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w047_spliced_p8C8/flatten.log b/flat/C8/w047_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..fbebbfa7ae463b59a07d49174d9b3f48ad33d54c --- /dev/null +++ b/flat/C8/w047_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w047_spliced_p8C8: 66x233, 11628/15378 valid (75.6%) step_h=24.552 step_w=30.779 step_diag=28.277 step_avg=27.981 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x233 -> 1x33x117 -> 1x17x59 -> 1x9x30 -> 1x5x15 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w047_spliced_p8C8 shape=(66, 233, 3) valid=11628/15378 model_shape=66x233 source_step=20 output_step=20 measured_source_step=27.9812 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 233, 2) point_valid=11628/15378 quad_valid=11330/15080 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.9480 2.1109 2.1109 0.8370 0.8370 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.9480 0.1 2.1109 2.1109 0.8370 0.8370 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.8439 133.2 0.5615 0.5615 0.2824 0.2824 0.0000 0.0000 0.0000 0.0000 19.985 + stage0 200/4500 0.4162 152.1 0.2557 0.2557 0.1601 0.1601 0.0000 0.0000 1.0e-04 3.0e-04 20.001 + stage0 300/4500 0.2596 161.2 0.1389 0.1389 0.1207 0.1207 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 400/4500 0.2043 148.3 0.0931 0.0931 0.1112 0.1112 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0154 target=20 uv_scale=1.00077 + stage0 500/4500 0.1625 150.4 0.0735 0.0735 0.0890 0.0890 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1241 149.7 0.0532 0.0532 0.0709 0.0709 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 700/4500 0.0907 140.6 0.0418 0.0418 0.0489 0.0489 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 800/4500 0.0751 138.6 0.0359 0.0359 0.0392 0.0392 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 900/4500 0.0669 133.7 0.0330 0.0330 0.0339 0.0339 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0072 target=20 uv_scale=1.00036 + stage0 1000/4500 0.0631 149.8 0.0315 0.0315 0.0316 0.0316 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0594 147.7 0.0306 0.0306 0.0288 0.0288 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1200/4500 0.0583 141.8 0.0301 0.0301 0.0282 0.0282 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1300/4500 0.0578 180.6 0.0298 0.0298 0.0281 0.0281 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1400/4500 0.0580 163.0 0.0295 0.0295 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 1500/4500 0.0573 141.4 0.0293 0.0293 0.0279 0.0279 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0554 159.9 0.0290 0.0290 0.0264 0.0264 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1700/4500 0.0552 159.8 0.0288 0.0288 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0554 158.5 0.0287 0.0287 0.0267 0.0267 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0555 162.6 0.0286 0.0286 0.0269 0.0269 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 2000/4500 0.0549 159.3 0.0284 0.0284 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0545 142.0 0.0285 0.0285 0.0260 0.0260 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0545 138.6 0.0284 0.0284 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0544 127.6 0.0283 0.0283 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0544 149.8 0.0283 0.0283 0.0262 0.0262 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 2500/4500 0.0546 159.6 0.0282 0.0282 0.0263 0.0263 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0540 166.1 0.0285 0.0285 0.0255 0.0255 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0542 148.4 0.0283 0.0283 0.0259 0.0259 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0542 158.8 0.0283 0.0283 0.0259 0.0259 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0543 153.8 0.0282 0.0282 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 3000/4500 0.0541 180.0 0.0282 0.0282 0.0259 0.0259 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0541 149.1 0.0284 0.0284 0.0257 0.0257 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0541 175.3 0.0282 0.0282 0.0258 0.0258 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0543 143.7 0.0282 0.0282 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0546 201.9 0.0281 0.0281 0.0264 0.0264 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 3500/4500 0.0538 159.5 0.0281 0.0281 0.0257 0.0257 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0535 161.3 0.0282 0.0282 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0538 165.5 0.0281 0.0281 0.0256 0.0256 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0539 143.7 0.0281 0.0281 0.0258 0.0258 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0536 130.4 0.0280 0.0280 0.0256 0.0256 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 4000/4500 0.0543 131.6 0.0282 0.0282 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0537 127.6 0.0283 0.0283 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0536 144.1 0.0282 0.0282 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0538 197.9 0.0283 0.0283 0.0255 0.0255 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0538 146.2 0.0282 0.0282 0.0256 0.0256 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 4500/4500 0.0538 147.1 0.0281 0.0281 0.0257 0.0257 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m11.66s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0521 0.0282 0.0282 0.0239 0.0239 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0521 31.1 0.0282 0.0282 0.0239 0.0239 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0533 140.2 0.0280 0.0280 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0533 129.1 0.0279 0.0279 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0533 116.0 0.0279 0.0279 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0533 154.0 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0533 161.8 0.0279 0.0279 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0533 158.7 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0532 145.6 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0533 139.7 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0532 133.7 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0532 163.1 0.0279 0.0279 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 7.23s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0531 0.0279 0.0279 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0531 144.3 0.0279 0.0279 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0532 167.7 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0532 140.0 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0532 132.0 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0532 166.7 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0532 156.6 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0532 105.4 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0532 133.8 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0532 149.7 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0532 161.1 0.0279 0.0279 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0532 145.7 0.0279 0.0279 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 7.22s +[optimizer] total optimize time: 2m26.11s +[fit] peak GPU memory: 0.17 GiB +[fit2tifxyz] area_vx2=7862400 diff --git a/flat/C8/w047_spliced_p8C8/flatten_input.json b/flat/C8/w047_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..b685994e9d9db31a2523beaa9d7a1baec925ccad --- /dev/null +++ b/flat/C8/w047_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w047_spliced_p8C8"}]} diff --git a/flat/C8/w047_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w047_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..2ad8a76bc300f93f7e35430a972ae5f89d7049d0 --- /dev/null +++ b/flat/C8/w047_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2330.741943359375, + 3613.891357421875, + 13821.365234375 + ], + [ + 5679.18505859375, + 4832.2373046875, + 14819.2412109375 + ] + ], + "area_vx2": 7862400.0, + "model_source": "/workspace/flat/C8/w047_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w047_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w047_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w049_spliced_p8C8.log b/flat/C8/w049_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..826abbe07f2d376dbbf30bcc6759cc2e392f41a3 --- /dev/null +++ b/flat/C8/w049_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w049_spliced_p8C8 in 157s -> /workspace/flat/C8/w049_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w049_spliced_p8C8/flatten.log b/flat/C8/w049_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..0efe2ddcc1ce1c4867a56659403e6454a7a6d46b --- /dev/null +++ b/flat/C8/w049_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w049_spliced_p8C8: 66x242, 12082/15972 valid (75.6%) step_h=24.743 step_w=30.865 step_diag=28.388 step_avg=28.105 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x242 -> 1x33x121 -> 1x17x61 -> 1x9x31 -> 1x5x16 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w049_spliced_p8C8 shape=(66, 242, 3) valid=12082/15972 model_shape=66x242 source_step=20 output_step=20 measured_source_step=28.1029 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 242, 2) point_valid=12082/15972 quad_valid=11771/15665 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0877 2.1618 2.1618 0.9258 0.9258 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0877 0.0 2.1618 2.1618 0.9258 0.9258 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.9650 95.4 0.5933 0.5933 0.3717 0.3717 0.0000 0.0000 0.0000 0.0000 19.992 + stage0 200/4500 0.4905 132.8 0.2802 0.2802 0.2103 0.2103 0.0000 0.0000 0.0000 0.0000 20.001 + stage0 300/4500 0.3292 156.4 0.1600 0.1600 0.1692 0.1692 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 400/4500 0.2482 160.3 0.1097 0.1097 0.1385 0.1385 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0154 target=20 uv_scale=1.00077 + stage0 500/4500 0.2029 178.8 0.0882 0.0882 0.1148 0.1148 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1748 146.4 0.0733 0.0733 0.1014 0.1014 0.0000 0.0000 1.0e-04 2.0e-04 20.020 + stage0 700/4500 0.1570 206.0 0.0662 0.0662 0.0908 0.0908 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 800/4500 0.1374 242.1 0.0603 0.0603 0.0770 0.0770 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 900/4500 0.1208 98.7 0.0553 0.0553 0.0655 0.0655 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0133 target=20 uv_scale=1.00067 + stage0 1000/4500 0.1074 100.5 0.0514 0.0514 0.0560 0.0560 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0959 90.3 0.0480 0.0480 0.0480 0.0480 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1200/4500 0.0924 147.7 0.0464 0.0464 0.0461 0.0461 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1300/4500 0.0876 212.7 0.0446 0.0446 0.0430 0.0430 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1400/4500 0.0835 231.8 0.0432 0.0432 0.0403 0.0403 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0085 target=20 uv_scale=1.00042 + stage0 1500/4500 0.0803 100.2 0.0419 0.0419 0.0383 0.0383 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0767 241.1 0.0410 0.0410 0.0357 0.0357 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1700/4500 0.0754 215.1 0.0398 0.0398 0.0356 0.0356 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1800/4500 0.0730 246.4 0.0391 0.0391 0.0340 0.0340 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0718 174.3 0.0382 0.0382 0.0336 0.0336 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0061 target=20 uv_scale=1.0003 + stage0 2000/4500 0.0700 184.1 0.0374 0.0374 0.0326 0.0326 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0678 179.3 0.0370 0.0370 0.0308 0.0308 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0669 236.5 0.0361 0.0361 0.0308 0.0308 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.0657 173.6 0.0357 0.0357 0.0300 0.0300 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0649 195.1 0.0352 0.0352 0.0298 0.0298 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2500/4500 0.0642 118.9 0.0347 0.0347 0.0295 0.0295 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0637 143.0 0.0351 0.0351 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0633 183.7 0.0346 0.0346 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0629 208.8 0.0341 0.0341 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0622 113.1 0.0338 0.0338 0.0284 0.0284 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 3000/4500 0.0618 89.8 0.0334 0.0334 0.0283 0.0283 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0617 62.6 0.0339 0.0339 0.0278 0.0278 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0616 72.0 0.0336 0.0336 0.0280 0.0280 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0610 77.6 0.0332 0.0332 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0608 90.6 0.0330 0.0330 0.0278 0.0278 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0048 target=20 uv_scale=1.00024 + stage0 3500/4500 0.0602 125.5 0.0327 0.0327 0.0275 0.0275 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0607 66.2 0.0332 0.0332 0.0275 0.0275 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0601 158.4 0.0333 0.0333 0.0268 0.0268 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0599 64.2 0.0328 0.0328 0.0271 0.0271 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0595 68.0 0.0324 0.0324 0.0270 0.0270 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0047 target=20 uv_scale=1.00023 + stage0 4000/4500 0.0592 180.5 0.0321 0.0321 0.0271 0.0271 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0589 129.4 0.0330 0.0330 0.0259 0.0259 0.0000 0.0000 0.0000 0.0000 19.998 + stage0 4200/4500 0.0597 174.4 0.0327 0.0327 0.0270 0.0270 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4300/4500 0.0593 129.5 0.0323 0.0323 0.0270 0.0270 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4400/4500 0.0591 167.0 0.0322 0.0322 0.0269 0.0269 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 4500/4500 0.0590 132.0 0.0321 0.0321 0.0269 0.0269 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m07.94s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0568 0.0321 0.0321 0.0247 0.0247 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0568 108.1 0.0321 0.0321 0.0247 0.0247 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0589 172.4 0.0317 0.0317 0.0271 0.0271 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 200/1000 0.0590 160.0 0.0317 0.0317 0.0272 0.0272 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0592 202.4 0.0317 0.0317 0.0275 0.0275 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0591 189.3 0.0316 0.0316 0.0274 0.0274 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0587 200.1 0.0316 0.0316 0.0271 0.0271 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 600/1000 0.0591 205.8 0.0315 0.0315 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.0577 210.1 0.0315 0.0315 0.0262 0.0262 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0583 209.2 0.0315 0.0315 0.0268 0.0268 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0581 205.4 0.0314 0.0314 0.0267 0.0267 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 1000/1000 0.0581 207.5 0.0314 0.0314 0.0268 0.0268 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage1 'flatten' complete in 5.35s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0579 0.0314 0.0314 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1/1000 0.0579 96.0 0.0314 0.0314 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 100/1000 0.0580 163.4 0.0313 0.0313 0.0267 0.0267 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 200/1000 0.0577 173.6 0.0313 0.0313 0.0264 0.0264 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0579 191.2 0.0313 0.0313 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 400/1000 0.0580 224.4 0.0313 0.0313 0.0267 0.0267 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 500/1000 0.0579 198.5 0.0313 0.0313 0.0266 0.0266 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0580 184.2 0.0313 0.0313 0.0267 0.0267 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 700/1000 0.0577 199.0 0.0313 0.0313 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 800/1000 0.0578 198.5 0.0313 0.0313 0.0265 0.0265 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 900/1000 0.0579 202.8 0.0312 0.0312 0.0267 0.0267 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0579 186.3 0.0312 0.0312 0.0266 0.0266 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage2 'flatten' complete in 5.46s +[optimizer] total optimize time: 2m18.75s +[fit] peak GPU memory: 0.18 GiB +[fit2tifxyz] area_vx2=8270800 diff --git a/flat/C8/w049_spliced_p8C8/flatten_input.json b/flat/C8/w049_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..f365e516ae6fe322589bffa3a48f2cbce60a2730 --- /dev/null +++ b/flat/C8/w049_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w049_spliced_p8C8"}]} diff --git a/flat/C8/w049_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w049_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..4e27efafa0a633dfbb0eb98abc0fc0531cd76837 --- /dev/null +++ b/flat/C8/w049_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2264.54638671875, + 3595.143310546875, + 13821.4384765625 + ], + [ + 5761.845703125, + 4850.9658203125, + 14819.568359375 + ] + ], + "area_vx2": 8270800.0, + "model_source": "/workspace/flat/C8/w049_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w049_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w049_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w050_spliced_p8C8.log b/flat/C8/w050_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..91391439f605b5217f12ecb230147c596a6d5c33 --- /dev/null +++ b/flat/C8/w050_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w050_spliced_p8C8 in 148s -> /workspace/flat/C8/w050_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w050_spliced_p8C8/flatten.log b/flat/C8/w050_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..e67f85aa7e2fae70949749f9a3d4e61f9946c3c7 --- /dev/null +++ b/flat/C8/w050_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w050_spliced_p8C8: 66x247, 12329/16302 valid (75.6%) step_h=24.825 step_w=30.826 step_diag=28.390 step_avg=28.117 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x247 -> 1x33x124 -> 1x17x62 -> 1x9x31 -> 1x5x16 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w050_spliced_p8C8 shape=(66, 247, 3) valid=12329/16302 model_shape=66x247 source_step=20 output_step=20 measured_source_step=28.113 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 247, 2) point_valid=12329/16302 quad_valid=12015/15990 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0975 2.1657 2.1657 0.9318 0.9318 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0975 0.0 2.1657 2.1657 0.9318 0.9318 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.9399 134.0 0.5987 0.5987 0.3411 0.3411 0.0000 0.0000 0.0000 0.0000 19.982 + stage0 200/4500 0.4964 176.9 0.2848 0.2848 0.2116 0.2116 0.0000 0.0000 0.0000 0.0000 19.998 + stage0 300/4500 0.3227 198.4 0.1610 0.1610 0.1617 0.1617 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 400/4500 0.2435 258.2 0.1085 0.1085 0.1351 0.1351 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0156 target=20 uv_scale=1.00078 + stage0 500/4500 0.2056 224.3 0.0853 0.0853 0.1203 0.1203 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1645 209.1 0.0693 0.0693 0.0949 0.0949 0.0000 0.0000 2.0e-04 4.0e-04 20.020 + stage0 700/4500 0.1580 183.9 0.0622 0.0622 0.0958 0.0958 0.0000 0.0000 0.0000 0.0000 20.022 + stage0 800/4500 0.1289 93.8 0.0560 0.0560 0.0730 0.0730 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 900/4500 0.1146 182.9 0.0505 0.0505 0.0641 0.0641 0.0000 0.0000 0.0000 0.0000 20.016 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0135 target=20 uv_scale=1.00068 + stage0 1000/4500 0.1025 263.3 0.0464 0.0464 0.0562 0.0562 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0869 181.6 0.0395 0.0395 0.0473 0.0473 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1200/4500 0.0792 253.0 0.0357 0.0357 0.0435 0.0435 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1300/4500 0.0717 156.2 0.0329 0.0329 0.0388 0.0388 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1400/4500 0.0662 125.4 0.0308 0.0308 0.0353 0.0353 0.0000 0.0000 0.0000 0.0000 20.008 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.007 target=20 uv_scale=1.00035 + stage0 1500/4500 0.0625 231.9 0.0295 0.0295 0.0330 0.0330 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0599 244.7 0.0285 0.0285 0.0314 0.0314 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1700/4500 0.0584 204.3 0.0278 0.0278 0.0305 0.0305 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.0571 208.0 0.0274 0.0274 0.0297 0.0297 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0563 205.6 0.0271 0.0271 0.0292 0.0292 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2000/4500 0.0556 160.4 0.0269 0.0269 0.0288 0.0288 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0550 142.2 0.0271 0.0271 0.0280 0.0280 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0548 263.7 0.0268 0.0268 0.0280 0.0280 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0544 199.0 0.0265 0.0265 0.0278 0.0278 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0540 247.6 0.0264 0.0264 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2500/4500 0.0538 243.2 0.0262 0.0262 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0556 190.1 0.0267 0.0267 0.0289 0.0289 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2700/4500 0.0555 231.3 0.0266 0.0266 0.0289 0.0289 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2800/4500 0.0551 205.1 0.0265 0.0265 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2900/4500 0.0555 215.7 0.0264 0.0264 0.0290 0.0290 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.007 target=20 uv_scale=1.00035 + stage0 3000/4500 0.0543 152.8 0.0265 0.0265 0.0278 0.0278 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0554 165.1 0.0268 0.0268 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3200/4500 0.0545 217.1 0.0266 0.0266 0.0280 0.0280 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3300/4500 0.0550 158.8 0.0265 0.0265 0.0285 0.0285 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3400/4500 0.0541 239.3 0.0264 0.0264 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0068 target=20 uv_scale=1.00034 + stage0 3500/4500 0.0545 167.6 0.0264 0.0264 0.0281 0.0281 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0534 240.2 0.0266 0.0266 0.0269 0.0269 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0540 265.9 0.0265 0.0265 0.0274 0.0274 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 3800/4500 0.0600 211.7 0.0265 0.0265 0.0335 0.0335 0.0000 0.0000 0.0000 0.0000 20.010 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0537 179.1 0.0265 0.0265 0.0272 0.0272 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0066 target=20 uv_scale=1.00033 + stage0 4000/4500 0.0542 228.3 0.0263 0.0263 0.0279 0.0279 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0536 205.7 0.0266 0.0266 0.0270 0.0270 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 4200/4500 0.0539 239.8 0.0266 0.0266 0.0273 0.0273 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4300/4500 0.0539 271.1 0.0264 0.0264 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 4400/4500 0.0537 231.1 0.0262 0.0262 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 4500/4500 0.0521 199.2 0.0262 0.0262 0.0260 0.0260 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m52.73s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0513 0.0262 0.0262 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0513 140.0 0.0262 0.0262 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0525 235.5 0.0258 0.0258 0.0267 0.0267 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0531 238.8 0.0259 0.0259 0.0272 0.0272 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 300/1000 0.0536 248.5 0.0260 0.0260 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 400/1000 0.0533 228.1 0.0261 0.0261 0.0273 0.0273 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 500/1000 0.0554 245.9 0.0260 0.0260 0.0294 0.0294 0.0000 0.0000 0.0000 0.0000 20.008 + stage1 600/1000 0.0537 248.7 0.0260 0.0260 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 700/1000 0.0537 244.7 0.0260 0.0260 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.007 + stage1 800/1000 0.0534 248.5 0.0260 0.0260 0.0274 0.0274 0.0000 0.0000 0.0000 0.0000 20.006 + stage1 900/1000 0.0563 252.8 0.0260 0.0260 0.0303 0.0303 0.0000 0.0000 0.0000 0.0000 20.009 + stage1 1000/1000 0.0574 246.2 0.0260 0.0260 0.0315 0.0315 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage1 'flatten' complete in 4.34s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0598 0.0260 0.0260 0.0338 0.0338 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 1/1000 0.0598 85.5 0.0260 0.0260 0.0338 0.0338 0.0000 0.0000 0.0000 0.0000 20.011 + stage2 100/1000 0.0536 171.5 0.0260 0.0260 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 200/1000 0.0535 110.2 0.0260 0.0260 0.0275 0.0275 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 300/1000 0.0536 249.6 0.0260 0.0260 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 400/1000 0.0537 188.9 0.0260 0.0260 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 500/1000 0.0535 143.1 0.0260 0.0260 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 600/1000 0.0536 266.8 0.0260 0.0260 0.0277 0.0277 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 700/1000 0.0535 163.3 0.0259 0.0259 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 800/1000 0.0536 214.6 0.0259 0.0259 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.007 + stage2 900/1000 0.0535 256.5 0.0259 0.0259 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.006 + stage2 1000/1000 0.0537 305.5 0.0259 0.0259 0.0278 0.0278 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage2 'flatten' complete in 5.50s +[optimizer] total optimize time: 2m02.58s +[fit] peak GPU memory: 0.18 GiB +[fit2tifxyz] area_vx2=8451200 diff --git a/flat/C8/w050_spliced_p8C8/flatten_input.json b/flat/C8/w050_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..a46fe0f6dcea73279500d0975fc3c7efe1b29562 --- /dev/null +++ b/flat/C8/w050_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w050_spliced_p8C8"}]} diff --git a/flat/C8/w050_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w050_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..1890a3f310f277189ead3e70f567f0663e618e31 --- /dev/null +++ b/flat/C8/w050_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2202.021484375, + 3580.4287109375, + 13819.60546875 + ], + [ + 5783.70166015625, + 4859.9228515625, + 14822.51953125 + ] + ], + "area_vx2": 8451200.0, + "model_source": "/workspace/flat/C8/w050_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w050_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w050_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w052_spliced_p8C8.log b/flat/C8/w052_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..cb1701568c0c2f0584702ed0ebde8c211282a601 --- /dev/null +++ b/flat/C8/w052_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w052_spliced_p8C8 in 80s -> /workspace/flat/C8/w052_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w052_spliced_p8C8/flatten.log b/flat/C8/w052_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..cfb5fcf8c507f5adc76572c929970e3839d7b5d0 --- /dev/null +++ b/flat/C8/w052_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w052_spliced_p8C8: 66x257, 12843/16962 valid (75.7%) step_h=24.824 step_w=30.744 step_diag=28.357 step_avg=28.080 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x257 -> 1x33x129 -> 1x17x65 -> 1x9x33 -> 1x5x17 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w052_spliced_p8C8 shape=(66, 257, 3) valid=12843/16962 model_shape=66x257 source_step=20 output_step=20 measured_source_step=28.0759 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 257, 2) point_valid=12843/16962 quad_valid=12516/16640 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0634 2.1238 2.1238 0.9396 0.9396 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0634 0.1 2.1238 2.1238 0.9396 0.9396 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.0105 356.5 0.5942 0.5942 0.4163 0.4163 0.0000 0.0000 0.0000 0.0000 19.999 + stage0 200/4500 0.5175 419.9 0.2964 0.2964 0.2207 0.2207 0.0000 0.0000 2.0e-04 5.0e-04 20.001 + stage0 300/4500 0.3259 215.6 0.1705 0.1705 0.1554 0.1554 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 400/4500 0.2572 126.6 0.1154 0.1154 0.1418 0.1418 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0154 target=20 uv_scale=1.00077 + stage0 500/4500 0.2054 128.2 0.0900 0.0900 0.1154 0.1154 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1621 303.0 0.0664 0.0664 0.0956 0.0956 0.0000 0.0000 0.0000 1.0e-04 20.022 + stage0 700/4500 0.1397 389.1 0.0591 0.0591 0.0806 0.0806 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 800/4500 0.1136 419.0 0.0519 0.0519 0.0617 0.0617 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 900/4500 0.0956 244.2 0.0466 0.0466 0.0490 0.0490 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0121 target=20 uv_scale=1.0006 + stage0 1000/4500 0.0815 111.7 0.0427 0.0427 0.0387 0.0387 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0686 104.9 0.0361 0.0361 0.0326 0.0326 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1200/4500 0.0618 379.9 0.0327 0.0327 0.0291 0.0291 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1300/4500 0.0557 375.2 0.0304 0.0304 0.0253 0.0253 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1400/4500 0.0515 390.1 0.0285 0.0285 0.0229 0.0229 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0059 target=20 uv_scale=1.0003 + stage0 1500/4500 0.0484 203.0 0.0272 0.0272 0.0213 0.0213 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0445 127.3 0.0249 0.0249 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.0433 131.1 0.0241 0.0241 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.0422 263.7 0.0237 0.0237 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0413 246.4 0.0234 0.0234 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 2000/4500 0.0406 141.9 0.0231 0.0231 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0387 296.7 0.0225 0.0225 0.0161 0.0161 0.0000 0.0000 0.0000 1.0e-04 20.004 + stage0 2200/4500 0.0382 346.5 0.0223 0.0223 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0380 443.2 0.0221 0.0221 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0378 427.1 0.0219 0.0219 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 2500/4500 0.0378 398.7 0.0218 0.0218 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0368 458.9 0.0217 0.0217 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0367 429.3 0.0215 0.0215 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0366 391.8 0.0214 0.0214 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0365 371.2 0.0213 0.0213 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 3000/4500 0.0367 334.5 0.0212 0.0212 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0361 317.7 0.0214 0.0214 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0361 388.7 0.0212 0.0212 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0359 386.0 0.0211 0.0211 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0358 336.6 0.0210 0.0210 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0356 343.7 0.0209 0.0209 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0350 385.4 0.0207 0.0207 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0349 383.4 0.0205 0.0205 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0349 356.6 0.0203 0.0203 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0347 384.7 0.0203 0.0203 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 4000/4500 0.0346 390.0 0.0202 0.0202 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0347 374.6 0.0204 0.0204 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0346 403.1 0.0204 0.0204 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0347 457.2 0.0203 0.0203 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0347 356.2 0.0203 0.0203 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 4500/4500 0.0346 365.6 0.0202 0.0202 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 58.94s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0337 0.0203 0.0203 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0337 166.6 0.0203 0.0203 0.0135 0.0135 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0344 313.9 0.0200 0.0200 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0344 381.1 0.0200 0.0200 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0340 389.2 0.0200 0.0200 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0342 389.6 0.0200 0.0200 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0339 393.9 0.0200 0.0200 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0340 376.1 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0339 369.9 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0341 378.0 0.0199 0.0199 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0339 384.3 0.0199 0.0199 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0339 380.1 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 2.83s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0342 0.0199 0.0199 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0342 185.7 0.0199 0.0199 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0339 415.3 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0339 386.2 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0339 339.4 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0339 85.8 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0339 90.8 0.0199 0.0199 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0339 133.0 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0339 201.9 0.0199 0.0199 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0338 319.7 0.0199 0.0199 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0338 382.9 0.0199 0.0199 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0338 387.1 0.0199 0.0199 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 5.28s +[optimizer] total optimize time: 1m07.07s +[fit] peak GPU memory: 0.19 GiB +[fit2tifxyz] area_vx2=8709200 diff --git a/flat/C8/w052_spliced_p8C8/flatten_input.json b/flat/C8/w052_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..e7af6118b269d532c2eafe98431762601e3ce3c8 --- /dev/null +++ b/flat/C8/w052_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w052_spliced_p8C8"}]} diff --git a/flat/C8/w052_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w052_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..906f2a6d15bc88d941266cb62462e5e2e3424fa2 --- /dev/null +++ b/flat/C8/w052_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2149.03125, + 3551.97265625, + 13820.830078125 + ], + [ + 5865.94091796875, + 4877.1884765625, + 14817.6875 + ] + ], + "area_vx2": 8709200.0, + "model_source": "/workspace/flat/C8/w052_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w052_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w052_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w054_spliced_p8C8.log b/flat/C8/w054_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..c3747e42f42555bcb95da6eca913b22b20085155 --- /dev/null +++ b/flat/C8/w054_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w054_spliced_p8C8 in 160s -> /workspace/flat/C8/w054_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w054_spliced_p8C8/flatten.log b/flat/C8/w054_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..2a0f58fe54464466ad5c27b6f75ded964a38c9e0 --- /dev/null +++ b/flat/C8/w054_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w054_spliced_p8C8: 66x267, 13339/17622 valid (75.7%) step_h=24.925 step_w=30.678 step_diag=28.367 step_avg=28.093 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x267 -> 1x33x134 -> 1x17x67 -> 1x9x34 -> 1x5x17 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w054_spliced_p8C8 shape=(66, 267, 3) valid=13339/17622 model_shape=66x267 source_step=20 output_step=20 measured_source_step=28.0915 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 267, 2) point_valid=13339/17622 quad_valid=12999/17290 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0927 2.1411 2.1411 0.9515 0.9515 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0927 0.0 2.1411 2.1411 0.9515 0.9515 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 0.9960 133.5 0.6101 0.6101 0.3859 0.3859 0.0000 0.0000 0.0000 0.0000 19.991 + stage0 200/4500 0.5233 126.0 0.3163 0.3163 0.2071 0.2071 0.0000 0.0000 0.0000 0.0000 19.993 + stage0 300/4500 0.3684 190.9 0.1865 0.1865 0.1819 0.1819 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 400/4500 0.2776 186.9 0.1247 0.1247 0.1529 0.1529 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0149 target=20 uv_scale=1.00075 + stage0 500/4500 0.2315 195.0 0.0946 0.0946 0.1369 0.1369 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1683 187.7 0.0715 0.0715 0.0967 0.0967 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 700/4500 0.1481 176.3 0.0625 0.0625 0.0856 0.0856 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 800/4500 0.1237 195.9 0.0552 0.0552 0.0686 0.0686 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 900/4500 0.1049 195.4 0.0485 0.0485 0.0564 0.0564 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0116 target=20 uv_scale=1.00058 + stage0 1000/4500 0.0904 186.2 0.0437 0.0437 0.0467 0.0467 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0742 142.8 0.0374 0.0374 0.0368 0.0368 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1200/4500 0.0682 201.2 0.0345 0.0345 0.0337 0.0337 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1300/4500 0.0620 174.7 0.0320 0.0320 0.0301 0.0301 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1400/4500 0.0573 156.0 0.0306 0.0306 0.0268 0.0268 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0062 target=20 uv_scale=1.00031 + stage0 1500/4500 0.0540 168.4 0.0291 0.0291 0.0249 0.0249 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0480 173.6 0.0274 0.0274 0.0205 0.0205 0.0000 0.0000 1.0e-04 2.0e-04 20.001 + stage0 1700/4500 0.0497 199.9 0.0267 0.0267 0.0230 0.0230 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.0485 187.7 0.0262 0.0262 0.0224 0.0224 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0471 187.7 0.0255 0.0255 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 2000/4500 0.0458 178.3 0.0249 0.0249 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0439 169.5 0.0235 0.0235 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0433 252.1 0.0231 0.0231 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0427 242.2 0.0228 0.0228 0.0199 0.0199 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0421 233.4 0.0225 0.0225 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 2500/4500 0.0418 224.6 0.0222 0.0222 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0409 255.5 0.0221 0.0221 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0405 254.9 0.0219 0.0219 0.0186 0.0186 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0406 207.7 0.0218 0.0218 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0402 261.0 0.0216 0.0216 0.0186 0.0186 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0035 target=20 uv_scale=1.00018 + stage0 3000/4500 0.0403 258.2 0.0215 0.0215 0.0187 0.0187 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0403 107.5 0.0214 0.0214 0.0188 0.0188 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0397 116.2 0.0213 0.0213 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0396 144.2 0.0212 0.0212 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0396 143.1 0.0211 0.0211 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0395 210.7 0.0211 0.0211 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0391 201.3 0.0211 0.0211 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0392 198.4 0.0211 0.0211 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0390 216.8 0.0209 0.0209 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0390 213.3 0.0209 0.0209 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.004 target=20 uv_scale=1.0002 + stage0 4000/4500 0.0393 183.2 0.0208 0.0208 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0394 157.4 0.0209 0.0209 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0388 197.7 0.0208 0.0208 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0386 200.5 0.0207 0.0207 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0386 237.5 0.0206 0.0206 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 4500/4500 0.0381 249.4 0.0206 0.0206 0.0175 0.0175 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m11.65s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0377 0.0206 0.0206 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0377 94.7 0.0206 0.0206 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0379 187.4 0.0201 0.0201 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0378 207.9 0.0200 0.0200 0.0177 0.0177 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0377 202.2 0.0199 0.0199 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0377 176.8 0.0199 0.0199 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0377 188.1 0.0199 0.0199 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0377 225.9 0.0199 0.0199 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0379 209.7 0.0199 0.0199 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0381 196.1 0.0199 0.0199 0.0182 0.0182 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0378 202.9 0.0199 0.0199 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0380 200.8 0.0198 0.0198 0.0182 0.0182 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 5.23s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0379 0.0199 0.0199 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0379 80.7 0.0199 0.0199 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0378 187.2 0.0198 0.0198 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0378 208.2 0.0198 0.0198 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0378 200.3 0.0198 0.0198 0.0180 0.0180 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0377 164.1 0.0198 0.0198 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0377 160.9 0.0198 0.0198 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0377 156.0 0.0198 0.0198 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0377 156.3 0.0197 0.0197 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0376 123.2 0.0197 0.0197 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0376 162.7 0.0197 0.0197 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0376 210.2 0.0197 0.0197 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 6.21s +[optimizer] total optimize time: 2m23.09s +[fit] peak GPU memory: 0.19 GiB +[fit2tifxyz] area_vx2=9048000 diff --git a/flat/C8/w054_spliced_p8C8/flatten_input.json b/flat/C8/w054_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..23997a1615f7354666f55e9f6c259a62101d7063 --- /dev/null +++ b/flat/C8/w054_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w054_spliced_p8C8"}]} diff --git a/flat/C8/w054_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w054_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..74c869781d21678b157d926c216843fedc8491b1 --- /dev/null +++ b/flat/C8/w054_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2112.04638671875, + 3528.85009765625, + 13820.630859375 + ], + [ + 5927.19775390625, + 4912.87548828125, + 14818.8427734375 + ] + ], + "area_vx2": 9048000.0, + "model_source": "/workspace/flat/C8/w054_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w054_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w054_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w055_spliced_p8C8.log b/flat/C8/w055_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..a417f3190b08bab088a287590c54eee1a71d7600 --- /dev/null +++ b/flat/C8/w055_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w055_spliced_p8C8 in 159s -> /workspace/flat/C8/w055_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w055_spliced_p8C8/flatten.log b/flat/C8/w055_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..6aabded4d9ce4ec0b3581166ba86922a2c6299a4 --- /dev/null +++ b/flat/C8/w055_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w055_spliced_p8C8: 66x272, 13590/17952 valid (75.7%) step_h=24.910 step_w=30.651 step_diag=28.361 step_avg=28.080 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x272 -> 1x33x136 -> 1x17x68 -> 1x9x34 -> 1x5x17 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w055_spliced_p8C8 shape=(66, 272, 3) valid=13590/17952 model_shape=66x272 source_step=20 output_step=20 measured_source_step=28.0771 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 272, 2) point_valid=13590/17952 quad_valid=13244/17615 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0946 2.1398 2.1398 0.9548 0.9548 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0946 0.0 2.1398 2.1398 0.9548 0.9548 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.0144 132.3 0.6155 0.6155 0.3989 0.3989 0.0000 0.0000 0.0000 0.0000 19.992 + stage0 200/4500 0.5751 151.5 0.3225 0.3225 0.2526 0.2526 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 300/4500 0.3723 143.6 0.1895 0.1895 0.1828 0.1828 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 400/4500 0.2676 208.4 0.1279 0.1279 0.1397 0.1397 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0138 target=20 uv_scale=1.00069 + stage0 500/4500 0.2301 196.2 0.0974 0.0974 0.1327 0.1327 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1550 200.1 0.0704 0.0704 0.0845 0.0845 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 700/4500 0.1429 203.7 0.0614 0.0614 0.0815 0.0815 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 800/4500 0.1287 207.5 0.0543 0.0543 0.0744 0.0744 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 900/4500 0.1102 201.1 0.0481 0.0481 0.0621 0.0621 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0129 target=20 uv_scale=1.00064 + stage0 1000/4500 0.0949 202.7 0.0435 0.0435 0.0514 0.0514 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0706 164.5 0.0345 0.0345 0.0360 0.0360 0.0000 0.0000 0.0000 1.0e-04 20.010 + stage0 1200/4500 0.0645 197.3 0.0313 0.0313 0.0332 0.0332 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1300/4500 0.0581 181.7 0.0289 0.0289 0.0292 0.0292 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1400/4500 0.0543 184.7 0.0275 0.0275 0.0268 0.0268 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0055 target=20 uv_scale=1.00028 + stage0 1500/4500 0.0530 198.6 0.0264 0.0264 0.0266 0.0266 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0491 198.0 0.0248 0.0248 0.0243 0.0243 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.0477 226.0 0.0245 0.0245 0.0232 0.0232 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1800/4500 0.0469 227.1 0.0242 0.0242 0.0226 0.0226 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0461 238.8 0.0240 0.0240 0.0221 0.0221 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 2000/4500 0.0458 178.6 0.0239 0.0239 0.0219 0.0219 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0447 183.1 0.0237 0.0237 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2200/4500 0.0441 237.9 0.0236 0.0236 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0437 227.9 0.0234 0.0234 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0437 228.6 0.0234 0.0234 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 2500/4500 0.0433 200.2 0.0233 0.0233 0.0200 0.0200 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0431 196.6 0.0233 0.0233 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0429 216.6 0.0232 0.0232 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0429 207.2 0.0231 0.0231 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0428 122.0 0.0231 0.0231 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 3000/4500 0.0427 107.8 0.0230 0.0230 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0428 117.9 0.0230 0.0230 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0422 149.1 0.0229 0.0229 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0421 219.2 0.0228 0.0228 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0420 219.5 0.0227 0.0227 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 3500/4500 0.0419 215.1 0.0226 0.0226 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0415 218.6 0.0224 0.0224 0.0191 0.0191 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0412 217.8 0.0223 0.0223 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0405 202.5 0.0223 0.0223 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.002 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0412 194.6 0.0223 0.0223 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 4000/4500 0.0410 211.7 0.0221 0.0221 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0410 185.8 0.0222 0.0222 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0410 203.4 0.0221 0.0221 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0408 213.3 0.0220 0.0220 0.0188 0.0188 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0407 209.2 0.0220 0.0220 0.0187 0.0187 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0406 208.9 0.0219 0.0219 0.0187 0.0187 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 2m10.87s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0398 0.0219 0.0219 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0398 100.0 0.0219 0.0219 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0402 237.0 0.0216 0.0216 0.0186 0.0186 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0398 259.9 0.0215 0.0215 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0399 243.8 0.0214 0.0214 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0398 196.2 0.0214 0.0214 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0398 207.9 0.0213 0.0213 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0397 217.0 0.0213 0.0213 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0397 212.9 0.0213 0.0213 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0397 229.5 0.0213 0.0213 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0397 227.7 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0396 247.6 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 4.61s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0396 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0396 112.7 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0396 206.9 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0396 182.6 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0396 191.7 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0396 202.5 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0396 183.8 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0396 205.8 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0395 172.3 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0395 138.0 0.0212 0.0212 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0395 146.8 0.0211 0.0211 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0395 209.0 0.0211 0.0211 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 5.75s +[optimizer] total optimize time: 2m21.24s +[fit] peak GPU memory: 0.20 GiB +[fit2tifxyz] area_vx2=9181200 diff --git a/flat/C8/w055_spliced_p8C8/flatten_input.json b/flat/C8/w055_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..9506c237da89792d6430a5668ed96a78fafbe06c --- /dev/null +++ b/flat/C8/w055_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w055_spliced_p8C8"}]} diff --git a/flat/C8/w055_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w055_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..05b9b20b865d4427efc40f61dddbdac3eb181108 --- /dev/null +++ b/flat/C8/w055_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2084.610595703125, + 3512.467041015625, + 13819.8212890625 + ], + [ + 5963.955078125, + 4931.73095703125, + 14816.4873046875 + ] + ], + "area_vx2": 9181200.0, + "model_source": "/workspace/flat/C8/w055_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w055_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w055_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w057_spliced_p8C8.log b/flat/C8/w057_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..5a374572342d15b850a6755a66a48f5e10f3515d --- /dev/null +++ b/flat/C8/w057_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w057_spliced_p8C8 in 118s -> /workspace/flat/C8/w057_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w057_spliced_p8C8/flatten.log b/flat/C8/w057_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..475ad56304632c6a7ce248f03f82ee5285f668ca --- /dev/null +++ b/flat/C8/w057_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w057_spliced_p8C8: 66x282, 14115/18612 valid (75.8%) step_h=24.828 step_w=30.528 step_diag=28.301 step_avg=27.999 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x282 -> 1x33x141 -> 1x17x71 -> 1x9x36 -> 1x5x18 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w057_spliced_p8C8 shape=(66, 282, 3) valid=14115/18612 model_shape=66x282 source_step=20 output_step=20 measured_source_step=27.9894 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 282, 2) point_valid=14115/18612 quad_valid=13747/18265 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0319 2.1090 2.1090 0.9228 0.9228 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0319 0.1 2.1090 2.1090 0.9228 0.9228 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.0289 193.3 0.6307 0.6307 0.3980 0.3980 0.0000 0.0000 1.0e-04 2.0e-04 19.995 + stage0 200/4500 0.5923 270.1 0.3386 0.3386 0.2537 0.2537 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 300/4500 0.3807 367.1 0.2023 0.2023 0.1781 0.1781 0.0000 0.0000 1.0e-04 2.0e-04 20.006 + stage0 400/4500 0.2855 369.7 0.1345 0.1345 0.1486 0.1486 0.0000 0.0000 0.0012 0.0024 20.011 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0141 target=20 uv_scale=1.0007 + stage0 500/4500 0.2270 148.8 0.1002 0.1002 0.1268 0.1268 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1510 298.4 0.0653 0.0653 0.0857 0.0857 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 700/4500 0.1274 264.4 0.0554 0.0554 0.0720 0.0720 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 800/4500 0.1043 311.9 0.0478 0.0478 0.0565 0.0565 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 900/4500 0.0870 288.0 0.0425 0.0425 0.0444 0.0444 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0107 target=20 uv_scale=1.00053 + stage0 1000/4500 0.0736 327.1 0.0381 0.0381 0.0354 0.0354 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0517 220.8 0.0278 0.0278 0.0239 0.0239 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1200/4500 0.0454 132.1 0.0251 0.0251 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1300/4500 0.0421 90.8 0.0240 0.0240 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1400/4500 0.0403 112.1 0.0234 0.0234 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 1500/4500 0.0394 91.4 0.0230 0.0230 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0378 97.5 0.0219 0.0219 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0375 62.4 0.0216 0.0216 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1800/4500 0.0369 55.3 0.0213 0.0213 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0365 73.2 0.0211 0.0211 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 2000/4500 0.0363 89.2 0.0210 0.0210 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0358 67.3 0.0206 0.0206 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0352 124.1 0.0204 0.0204 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0346 137.8 0.0204 0.0204 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 2400/4500 0.0349 143.4 0.0203 0.0203 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0028 target=20 uv_scale=1.00014 + stage0 2500/4500 0.0347 124.8 0.0202 0.0202 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0351 110.4 0.0199 0.0199 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0344 131.1 0.0198 0.0198 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0344 166.2 0.0197 0.0197 0.0147 0.0147 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0343 145.2 0.0197 0.0197 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.003 target=20 uv_scale=1.00015 + stage0 3000/4500 0.0342 178.9 0.0196 0.0196 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0340 193.1 0.0195 0.0195 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0342 246.1 0.0195 0.0195 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0348 129.0 0.0196 0.0196 0.0153 0.0153 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3400/4500 0.0344 80.6 0.0199 0.0199 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3500/4500 0.0347 31.7 0.0198 0.0198 0.0149 0.0149 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 3600/4500 0.0339 29.5 0.0198 0.0198 0.0141 0.0141 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 3700/4500 0.0341 67.8 0.0197 0.0197 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0341 168.7 0.0196 0.0196 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0342 106.7 0.0196 0.0196 0.0147 0.0147 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 4000/4500 0.0340 154.1 0.0196 0.0196 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0339 108.5 0.0196 0.0196 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0338 82.4 0.0195 0.0195 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0338 148.1 0.0194 0.0194 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0338 186.6 0.0194 0.0194 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 4500/4500 0.0338 116.8 0.0193 0.0193 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m28.70s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0330 0.0194 0.0194 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0330 71.3 0.0194 0.0194 0.0137 0.0137 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0337 109.0 0.0193 0.0193 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 200/1000 0.0339 121.2 0.0193 0.0193 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0340 172.1 0.0193 0.0193 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0339 195.5 0.0193 0.0193 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0337 114.8 0.0193 0.0193 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0338 142.3 0.0193 0.0193 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0336 122.0 0.0193 0.0193 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0334 116.2 0.0193 0.0193 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0338 92.0 0.0193 0.0193 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0336 155.6 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 8.18s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0337 0.0192 0.0192 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0337 81.8 0.0192 0.0192 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0337 91.5 0.0192 0.0192 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0337 165.9 0.0192 0.0192 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0337 125.3 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0336 147.3 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0337 122.5 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0337 144.8 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0337 91.6 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0336 119.1 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0336 124.3 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0337 198.7 0.0192 0.0192 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 8.20s +[optimizer] total optimize time: 1m45.09s +[fit] peak GPU memory: 0.20 GiB +[fit2tifxyz] area_vx2=9502400 diff --git a/flat/C8/w057_spliced_p8C8/flatten_input.json b/flat/C8/w057_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..c7766ec9a87f1a3c1422f66a6fcfc15891a7245d --- /dev/null +++ b/flat/C8/w057_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w057_spliced_p8C8"}]} diff --git a/flat/C8/w057_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w057_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..149506b187e720e1f6999a924c7b8b4f680360cb --- /dev/null +++ b/flat/C8/w057_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2045.7503662109375, + 3478.12109375, + 13820.6806640625 + ], + [ + 6038.474609375, + 4978.71826171875, + 14818.576171875 + ] + ], + "area_vx2": 9502400.0, + "model_source": "/workspace/flat/C8/w057_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w057_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w057_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w059_spliced_p8C8.log b/flat/C8/w059_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..d9641c2681a8fbcb3beb141a42d7888235eec21d --- /dev/null +++ b/flat/C8/w059_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w059_spliced_p8C8 in 117s -> /workspace/flat/C8/w059_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w059_spliced_p8C8/flatten.log b/flat/C8/w059_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..262d143e9c8ea4381e2e585667c40658a7ae2589 --- /dev/null +++ b/flat/C8/w059_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w059_spliced_p8C8: 66x291, 14560/19206 valid (75.8%) step_h=24.916 step_w=30.447 step_diag=28.277 step_avg=27.988 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x291 -> 1x33x146 -> 1x17x73 -> 1x9x37 -> 1x5x19 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w059_spliced_p8C8 shape=(66, 291, 3) valid=14560/19206 model_shape=66x291 source_step=20 output_step=20 measured_source_step=27.9833 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 291, 2) point_valid=14560/19206 quad_valid=14193/18850 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0421 2.1014 2.1014 0.9407 0.9407 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0421 0.1 2.1014 2.1014 0.9407 0.9407 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.0300 344.3 0.6260 0.6260 0.4040 0.4040 0.0000 0.0000 0.0000 0.0000 19.994 + stage0 200/4500 0.5785 339.9 0.3398 0.3398 0.2387 0.2387 0.0000 0.0000 0.0000 1.0e-04 20.000 + stage0 300/4500 0.3822 335.3 0.2069 0.2069 0.1754 0.1754 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 400/4500 0.2940 155.3 0.1416 0.1416 0.1525 0.1525 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0112 target=20 uv_scale=1.00056 + stage0 500/4500 0.2376 298.6 0.1084 0.1084 0.1292 0.1292 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1884 267.6 0.0783 0.0783 0.1102 0.1102 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 700/4500 0.1543 325.7 0.0661 0.0661 0.0882 0.0882 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 800/4500 0.1260 287.7 0.0574 0.0574 0.0686 0.0686 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 900/4500 0.1074 325.8 0.0520 0.0520 0.0554 0.0554 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0086 target=20 uv_scale=1.00043 + stage0 1000/4500 0.0967 269.3 0.0481 0.0481 0.0486 0.0486 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0833 129.6 0.0419 0.0419 0.0414 0.0414 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1200/4500 0.0779 87.3 0.0394 0.0394 0.0385 0.0385 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1300/4500 0.0737 111.2 0.0377 0.0377 0.0360 0.0360 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1400/4500 0.0705 97.7 0.0364 0.0364 0.0341 0.0341 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0067 target=20 uv_scale=1.00034 + stage0 1500/4500 0.0678 90.5 0.0353 0.0353 0.0325 0.0325 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0592 56.0 0.0335 0.0335 0.0257 0.0257 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 1700/4500 0.0588 61.8 0.0328 0.0328 0.0260 0.0260 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0576 77.5 0.0323 0.0323 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0563 91.4 0.0318 0.0318 0.0245 0.0245 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 2000/4500 0.0554 72.1 0.0313 0.0313 0.0241 0.0241 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0536 107.5 0.0306 0.0306 0.0230 0.0230 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0529 131.9 0.0302 0.0302 0.0227 0.0227 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0522 138.4 0.0297 0.0297 0.0225 0.0225 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0516 122.5 0.0293 0.0293 0.0223 0.0223 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 2500/4500 0.0512 111.1 0.0290 0.0290 0.0222 0.0222 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0502 140.8 0.0286 0.0286 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0501 176.2 0.0284 0.0284 0.0217 0.0217 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0497 192.5 0.0282 0.0282 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0494 161.4 0.0280 0.0280 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3000/4500 0.0491 204.1 0.0278 0.0278 0.0213 0.0213 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0491 209.2 0.0279 0.0279 0.0212 0.0212 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0486 170.8 0.0276 0.0276 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0483 88.0 0.0274 0.0274 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0483 46.5 0.0273 0.0273 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0037 target=20 uv_scale=1.00019 + stage0 3500/4500 0.0480 26.8 0.0272 0.0272 0.0209 0.0209 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0483 42.0 0.0276 0.0276 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0478 156.4 0.0274 0.0274 0.0204 0.0204 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0476 116.6 0.0272 0.0272 0.0204 0.0204 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0473 168.6 0.0270 0.0270 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0471 181.5 0.0269 0.0269 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0477 72.4 0.0273 0.0273 0.0204 0.0204 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0476 113.9 0.0271 0.0271 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0470 192.8 0.0269 0.0269 0.0201 0.0201 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0468 176.6 0.0268 0.0268 0.0200 0.0200 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 4500/4500 0.0468 90.3 0.0267 0.0267 0.0201 0.0201 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m27.71s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0456 0.0267 0.0267 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0456 140.6 0.0267 0.0267 0.0189 0.0189 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0458 90.2 0.0265 0.0265 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0463 162.7 0.0265 0.0265 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0461 165.9 0.0264 0.0264 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0461 102.4 0.0264 0.0264 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0460 136.7 0.0263 0.0263 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0460 112.2 0.0263 0.0263 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0460 123.1 0.0263 0.0263 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0460 92.2 0.0263 0.0263 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0460 147.2 0.0263 0.0263 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0459 89.6 0.0262 0.0262 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 8.94s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0459 0.0262 0.0262 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0459 20.1 0.0262 0.0262 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0459 153.2 0.0262 0.0262 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0458 143.3 0.0262 0.0262 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0459 128.9 0.0262 0.0262 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0458 124.6 0.0262 0.0262 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0458 122.3 0.0262 0.0262 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0458 100.1 0.0262 0.0262 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0458 113.8 0.0262 0.0262 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0457 139.9 0.0262 0.0262 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0457 210.1 0.0261 0.0261 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0457 55.7 0.0261 0.0261 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 9.08s +[optimizer] total optimize time: 1m45.74s +[fit] peak GPU memory: 0.22 GiB +[fit2tifxyz] area_vx2=9820400 diff --git a/flat/C8/w059_spliced_p8C8/flatten_input.json b/flat/C8/w059_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..9dcacf53a6ee6911761fcae012c806a791a542c9 --- /dev/null +++ b/flat/C8/w059_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w059_spliced_p8C8"}]} diff --git a/flat/C8/w059_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w059_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..8c779bdc100e84b8f02369f3cd97c321fdd2943d --- /dev/null +++ b/flat/C8/w059_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 2005.8125, + 3459.69189453125, + 13820.41015625 + ], + [ + 6092.20556640625, + 5006.560546875, + 14823.166015625 + ] + ], + "area_vx2": 9820400.0, + "model_source": "/workspace/flat/C8/w059_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w059_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w059_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w060_spliced_p8C8.log b/flat/C8/w060_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..533123923159057c2c4ed4d0de5e4f0ebb284fdc --- /dev/null +++ b/flat/C8/w060_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w060_spliced_p8C8 in 139s -> /workspace/flat/C8/w060_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w060_spliced_p8C8/flatten.log b/flat/C8/w060_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..f595e1dcc6624c9394b7934b03e5d7e59e17214c --- /dev/null +++ b/flat/C8/w060_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w060_spliced_p8C8: 66x296, 14801/19536 valid (75.8%) step_h=24.901 step_w=30.486 step_diag=28.280 step_avg=27.995 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x296 -> 1x33x148 -> 1x17x74 -> 1x9x37 -> 1x5x19 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w060_spliced_p8C8 shape=(66, 296, 3) valid=14801/19536 model_shape=66x296 source_step=20 output_step=20 measured_source_step=27.9892 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 296, 2) point_valid=14801/19536 quad_valid=14427/19175 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0313 2.1010 2.1010 0.9303 0.9303 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0313 0.0 2.1010 2.1010 0.9303 0.9303 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.0361 149.8 0.6347 0.6347 0.4013 0.4013 0.0000 0.0000 0.0000 1.0e-04 19.994 + stage0 200/4500 0.6199 148.2 0.3513 0.3513 0.2676 0.2676 0.0000 0.0000 5.0e-04 0.0010 20.003 + stage0 300/4500 0.4109 183.8 0.2172 0.2172 0.1936 0.1936 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 400/4500 0.3259 202.8 0.1498 0.1498 0.1761 0.1761 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0148 target=20 uv_scale=1.00074 + stage0 500/4500 0.2682 253.9 0.1143 0.1143 0.1540 0.1540 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.2049 196.9 0.0820 0.0820 0.1229 0.1229 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 700/4500 0.1766 190.5 0.0719 0.0719 0.1048 0.1048 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 800/4500 0.1511 155.8 0.0633 0.0633 0.0879 0.0879 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 900/4500 0.1279 161.0 0.0560 0.0560 0.0719 0.0719 0.0000 0.0000 0.0000 0.0000 20.015 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0121 target=20 uv_scale=1.00061 + stage0 1000/4500 0.1096 95.6 0.0504 0.0504 0.0592 0.0592 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0870 59.1 0.0416 0.0416 0.0454 0.0454 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1200/4500 0.0781 58.8 0.0377 0.0377 0.0404 0.0404 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1300/4500 0.0674 84.0 0.0351 0.0351 0.0324 0.0324 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1400/4500 0.0617 81.8 0.0331 0.0331 0.0286 0.0286 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 1500/4500 0.0572 113.3 0.0315 0.0315 0.0257 0.0257 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0526 60.0 0.0301 0.0301 0.0226 0.0226 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 1700/4500 0.0508 157.4 0.0293 0.0293 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 1800/4500 0.0492 198.5 0.0285 0.0285 0.0206 0.0206 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0477 235.3 0.0278 0.0278 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 2000/4500 0.0465 178.9 0.0272 0.0272 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0454 137.6 0.0270 0.0270 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0448 216.1 0.0266 0.0266 0.0182 0.0182 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2300/4500 0.0443 133.4 0.0262 0.0262 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2400/4500 0.0437 211.3 0.0258 0.0258 0.0179 0.0179 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0033 target=20 uv_scale=1.00017 + stage0 2500/4500 0.0428 205.8 0.0254 0.0254 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0424 132.1 0.0252 0.0252 0.0171 0.0171 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0417 208.3 0.0247 0.0247 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0411 193.8 0.0242 0.0242 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0406 191.4 0.0238 0.0238 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 3000/4500 0.0402 140.5 0.0235 0.0235 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0396 99.1 0.0236 0.0236 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0395 139.0 0.0234 0.0234 0.0161 0.0161 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0393 93.9 0.0233 0.0233 0.0160 0.0160 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0391 123.6 0.0232 0.0232 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 3500/4500 0.0390 129.0 0.0231 0.0231 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0386 145.6 0.0230 0.0230 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0386 110.8 0.0228 0.0228 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0383 186.7 0.0227 0.0227 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0382 213.8 0.0225 0.0225 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.002 target=20 uv_scale=1.0001 + stage0 4000/4500 0.0373 191.7 0.0224 0.0224 0.0149 0.0149 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0373 166.0 0.0222 0.0222 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0374 199.3 0.0222 0.0222 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0375 188.9 0.0221 0.0221 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0371 179.7 0.0219 0.0219 0.0152 0.0152 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0031 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0367 203.4 0.0218 0.0218 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m42.34s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0361 0.0218 0.0218 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0361 97.0 0.0218 0.0218 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0363 196.8 0.0213 0.0213 0.0150 0.0150 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0360 213.9 0.0211 0.0211 0.0149 0.0149 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0358 215.3 0.0210 0.0210 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0357 167.1 0.0209 0.0209 0.0148 0.0148 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0355 144.0 0.0208 0.0208 0.0147 0.0147 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0354 77.9 0.0208 0.0208 0.0147 0.0147 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0353 45.7 0.0207 0.0207 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0353 70.1 0.0207 0.0207 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0353 97.8 0.0206 0.0206 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0352 119.9 0.0206 0.0206 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 9.84s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0352 0.0206 0.0206 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0352 65.6 0.0206 0.0206 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0351 133.3 0.0206 0.0206 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0351 118.5 0.0205 0.0205 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0351 167.4 0.0205 0.0205 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0351 182.5 0.0205 0.0205 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0351 176.5 0.0205 0.0205 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0351 97.2 0.0205 0.0205 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0350 76.1 0.0205 0.0205 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0350 85.9 0.0205 0.0205 0.0146 0.0146 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0350 101.8 0.0205 0.0205 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0350 117.2 0.0205 0.0205 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 8.94s +[optimizer] total optimize time: 2m01.12s +[fit] peak GPU memory: 0.21 GiB +[fit2tifxyz] area_vx2=9959600 diff --git a/flat/C8/w060_spliced_p8C8/flatten_input.json b/flat/C8/w060_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..f3e5decbf736093d5ac0985d46c29246eb09e8b4 --- /dev/null +++ b/flat/C8/w060_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w060_spliced_p8C8"}]} diff --git a/flat/C8/w060_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w060_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..946e5e892bc5481df938fc7a487d6ae9406838b6 --- /dev/null +++ b/flat/C8/w060_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1979.9439697265625, + 3452.871337890625, + 13821.32421875 + ], + [ + 6114.716796875, + 5014.73876953125, + 14818.3291015625 + ] + ], + "area_vx2": 9959600.0, + "model_source": "/workspace/flat/C8/w060_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w060_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w060_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w062_spliced_p8C8.log b/flat/C8/w062_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..1c3a9ec9dcec8af8821fbd31e27205e9cbcd33ae --- /dev/null +++ b/flat/C8/w062_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w062_spliced_p8C8 in 154s -> /workspace/flat/C8/w062_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w062_spliced_p8C8/flatten.log b/flat/C8/w062_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..e108b09c1186e47aedb04446788c7104266290c3 --- /dev/null +++ b/flat/C8/w062_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w062_spliced_p8C8: 66x306, 15278/20196 valid (75.6%) step_h=24.984 step_w=30.909 step_diag=28.522 step_avg=28.244 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x306 -> 1x33x153 -> 1x17x77 -> 1x9x39 -> 1x5x20 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w062_spliced_p8C8 shape=(66, 306, 3) valid=15278/20196 model_shape=66x306 source_step=20 output_step=20 measured_source_step=28.2389 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 306, 2) point_valid=15278/20196 quad_valid=14896/19825 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.1788 2.1749 2.1749 1.0039 1.0039 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.1788 0.0 2.1749 2.1749 1.0039 1.0039 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.1310 171.5 0.6798 0.6798 0.4505 0.4505 0.0000 0.0000 3.0e-04 6.0e-04 19.993 + stage0 200/4500 0.6808 172.0 0.3902 0.3902 0.2907 0.2907 0.0000 0.0000 0.0000 0.0000 20.001 + stage0 300/4500 0.4665 188.8 0.2523 0.2523 0.2142 0.2142 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 400/4500 0.3757 136.4 0.1774 0.1774 0.1983 0.1983 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0144 target=20 uv_scale=1.00072 + stage0 500/4500 0.3130 101.9 0.1355 0.1355 0.1775 0.1775 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.2419 127.2 0.0967 0.0967 0.1452 0.1452 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 700/4500 0.1983 89.4 0.0833 0.0833 0.1150 0.1150 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 800/4500 0.1779 85.9 0.0729 0.0729 0.1049 0.1049 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 900/4500 0.1526 137.8 0.0650 0.0650 0.0875 0.0875 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0143 target=20 uv_scale=1.00072 + stage0 1000/4500 0.1328 101.1 0.0590 0.0590 0.0738 0.0738 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.1147 143.1 0.0521 0.0521 0.0626 0.0626 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1200/4500 0.1026 182.9 0.0485 0.0485 0.0541 0.0541 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1300/4500 0.0954 151.4 0.0456 0.0456 0.0497 0.0497 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1400/4500 0.0879 154.1 0.0430 0.0430 0.0449 0.0449 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0089 target=20 uv_scale=1.00044 + stage0 1500/4500 0.0818 175.6 0.0410 0.0410 0.0408 0.0408 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0754 174.6 0.0385 0.0385 0.0369 0.0369 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1700/4500 0.0714 170.8 0.0372 0.0372 0.0342 0.0342 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1800/4500 0.0674 174.4 0.0358 0.0358 0.0315 0.0315 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0647 173.4 0.0349 0.0349 0.0298 0.0298 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0054 target=20 uv_scale=1.00027 + stage0 2000/4500 0.0630 190.7 0.0342 0.0342 0.0287 0.0287 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0595 144.0 0.0343 0.0343 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2200/4500 0.0599 112.9 0.0338 0.0338 0.0261 0.0261 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0592 64.3 0.0334 0.0334 0.0258 0.0258 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0585 45.6 0.0331 0.0331 0.0254 0.0254 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0045 target=20 uv_scale=1.00022 + stage0 2500/4500 0.0580 82.3 0.0329 0.0329 0.0252 0.0252 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0574 91.5 0.0334 0.0334 0.0240 0.0240 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0566 107.6 0.0330 0.0330 0.0235 0.0235 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2800/4500 0.0555 169.2 0.0325 0.0325 0.0230 0.0230 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0548 166.2 0.0320 0.0320 0.0228 0.0228 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 3000/4500 0.0540 144.4 0.0315 0.0315 0.0225 0.0225 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0533 145.4 0.0317 0.0317 0.0215 0.0215 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0531 147.0 0.0314 0.0314 0.0217 0.0217 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0525 80.0 0.0311 0.0311 0.0214 0.0214 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0520 69.4 0.0308 0.0308 0.0213 0.0213 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 3500/4500 0.0511 73.0 0.0304 0.0304 0.0206 0.0206 0.0000 0.0000 1.0e-04 1.0e-04 20.000 + stage0 3600/4500 0.0514 146.4 0.0307 0.0307 0.0207 0.0207 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0510 144.3 0.0304 0.0304 0.0206 0.0206 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0507 107.9 0.0302 0.0302 0.0205 0.0205 0.0000 0.0000 0.0000 0.0000 20.004 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0504 95.6 0.0301 0.0301 0.0204 0.0204 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0043 target=20 uv_scale=1.00021 + stage0 4000/4500 0.0502 113.3 0.0298 0.0298 0.0203 0.0203 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0501 75.9 0.0303 0.0303 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0499 120.8 0.0302 0.0302 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0497 142.5 0.0300 0.0300 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0493 155.9 0.0299 0.0299 0.0195 0.0195 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0041 target=20 uv_scale=1.0002 + stage0 4500/4500 0.0492 150.6 0.0296 0.0296 0.0196 0.0196 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m57.95s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0480 0.0297 0.0297 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0480 48.6 0.0297 0.0297 0.0184 0.0184 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0489 154.9 0.0292 0.0292 0.0197 0.0197 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0485 111.0 0.0291 0.0291 0.0194 0.0194 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0484 109.8 0.0290 0.0290 0.0195 0.0195 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0483 185.6 0.0289 0.0289 0.0194 0.0194 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0482 165.7 0.0289 0.0289 0.0194 0.0194 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0482 129.9 0.0288 0.0288 0.0194 0.0194 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 700/1000 0.0480 142.6 0.0288 0.0288 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0480 213.0 0.0287 0.0287 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0480 126.4 0.0287 0.0287 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 1000/1000 0.0479 153.2 0.0286 0.0286 0.0193 0.0193 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 7.26s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0479 0.0286 0.0286 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1/1000 0.0479 96.9 0.0286 0.0286 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 100/1000 0.0478 164.9 0.0286 0.0286 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0478 177.6 0.0286 0.0286 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0477 142.9 0.0286 0.0286 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0477 132.9 0.0285 0.0285 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0477 176.9 0.0285 0.0285 0.0192 0.0192 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0477 162.6 0.0285 0.0285 0.0191 0.0191 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0476 109.8 0.0285 0.0285 0.0191 0.0191 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0476 153.4 0.0285 0.0285 0.0191 0.0191 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0476 145.1 0.0285 0.0285 0.0191 0.0191 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0475 74.3 0.0285 0.0285 0.0191 0.0191 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 7.82s +[optimizer] total optimize time: 2m13.03s +[fit] peak GPU memory: 0.22 GiB +[fit2tifxyz] area_vx2=10441200 diff --git a/flat/C8/w062_spliced_p8C8/flatten_input.json b/flat/C8/w062_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..cd0afcd3aae381e31149b515058c7a469d8374a8 --- /dev/null +++ b/flat/C8/w062_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w062_spliced_p8C8"}]} diff --git a/flat/C8/w062_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w062_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..079cfb7fd748937e6412950c6d1d518897863c68 --- /dev/null +++ b/flat/C8/w062_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1911.4639892578125, + 3425.722900390625, + 13819.9609375 + ], + [ + 6180.78515625, + 5049.85205078125, + 14818.2880859375 + ] + ], + "area_vx2": 10441200.0, + "model_source": "/workspace/flat/C8/w062_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w062_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w062_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w066_spliced_p8C8/flatten.log b/flat/C8/w066_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..3e61dc5ac55605c3c5453f1dd040c3d9e0977c00 --- /dev/null +++ b/flat/C8/w066_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w066_spliced_p8C8: 66x326, 16235/21516 valid (75.5%) step_h=25.146 step_w=31.247 step_diag=28.800 step_avg=28.509 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x326 -> 1x33x163 -> 1x17x82 -> 1x9x41 -> 1x5x21 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w066_spliced_p8C8 shape=(66, 326, 3) valid=16235/21516 model_shape=66x326 source_step=20 output_step=20 measured_source_step=28.5078 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 326, 2) point_valid=16235/21516 quad_valid=15838/21125 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.3728 2.2600 2.2600 1.1129 1.1129 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.3728 0.1 2.2600 2.2600 1.1129 1.1129 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.2089 164.9 0.6983 0.6983 0.5106 0.5106 0.0000 0.0000 0.0000 0.0000 19.992 + stage0 200/4500 0.7035 194.1 0.4009 0.4009 0.3015 0.3015 0.0000 0.0000 5.0e-04 0.0011 19.997 + stage0 300/4500 0.4588 126.9 0.2540 0.2540 0.2048 0.2048 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 400/4500 0.3191 186.3 0.1758 0.1758 0.1403 0.1403 0.0000 0.0000 0.0015 0.0029 19.999 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0124 target=20 uv_scale=1.00062 + stage0 500/4500 0.2932 189.0 0.1329 0.1329 0.1603 0.1603 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.2072 185.2 0.0901 0.0901 0.1171 0.1171 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 700/4500 0.1947 144.6 0.0787 0.0787 0.1160 0.1160 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 800/4500 0.1762 100.5 0.0715 0.0715 0.1047 0.1047 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 900/4500 0.1584 150.7 0.0651 0.0651 0.0934 0.0934 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.017 target=20 uv_scale=1.00085 + stage0 1000/4500 0.1394 92.7 0.0594 0.0594 0.0800 0.0800 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.1173 99.7 0.0514 0.0514 0.0659 0.0659 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 1200/4500 0.1047 115.0 0.0473 0.0473 0.0574 0.0574 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1300/4500 0.0962 161.3 0.0445 0.0445 0.0517 0.0517 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1400/4500 0.0881 137.9 0.0422 0.0422 0.0459 0.0459 0.0000 0.0000 0.0000 0.0000 20.012 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0111 target=20 uv_scale=1.00055 + stage0 1500/4500 0.0810 168.3 0.0403 0.0403 0.0406 0.0406 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0734 191.7 0.0376 0.0376 0.0358 0.0358 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1700/4500 0.0689 166.6 0.0360 0.0360 0.0329 0.0329 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 1800/4500 0.0649 194.7 0.0348 0.0348 0.0301 0.0301 0.0000 0.0000 0.0000 0.0000 20.008 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0618 181.6 0.0337 0.0337 0.0281 0.0281 0.0000 0.0000 0.0000 0.0000 20.007 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0065 target=20 uv_scale=1.00032 + stage0 2000/4500 0.0592 185.6 0.0328 0.0328 0.0264 0.0264 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0539 170.6 0.0312 0.0312 0.0227 0.0227 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0521 236.7 0.0301 0.0301 0.0220 0.0220 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0503 230.6 0.0293 0.0293 0.0210 0.0210 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0491 233.0 0.0289 0.0289 0.0202 0.0202 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0043 target=20 uv_scale=1.00022 + stage0 2500/4500 0.0476 228.4 0.0282 0.0282 0.0194 0.0194 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0460 194.4 0.0272 0.0272 0.0188 0.0188 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0441 133.1 0.0267 0.0267 0.0174 0.0174 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0431 101.6 0.0263 0.0263 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0428 62.8 0.0261 0.0261 0.0167 0.0167 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0036 target=20 uv_scale=1.00018 + stage0 3000/4500 0.0415 52.6 0.0255 0.0255 0.0159 0.0159 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0400 88.9 0.0245 0.0245 0.0155 0.0155 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0386 112.1 0.0241 0.0241 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3300/4500 0.0382 139.7 0.0238 0.0238 0.0144 0.0144 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0377 160.3 0.0235 0.0235 0.0142 0.0142 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 3500/4500 0.0371 176.0 0.0232 0.0232 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0348 126.8 0.0223 0.0223 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.002 + stage0 3700/4500 0.0350 189.5 0.0219 0.0219 0.0131 0.0131 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0344 190.8 0.0215 0.0215 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0339 131.9 0.0213 0.0213 0.0126 0.0126 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0333 80.9 0.0209 0.0209 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0332 73.0 0.0207 0.0207 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0321 84.7 0.0202 0.0202 0.0119 0.0119 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0315 138.8 0.0198 0.0198 0.0117 0.0117 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0310 122.7 0.0194 0.0194 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0303 120.2 0.0190 0.0190 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m49.13s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0297 0.0191 0.0191 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0297 90.7 0.0191 0.0191 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0292 124.5 0.0184 0.0184 0.0108 0.0108 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0288 172.7 0.0181 0.0181 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0284 122.4 0.0178 0.0178 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0280 86.5 0.0176 0.0176 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0276 123.1 0.0174 0.0174 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0273 189.2 0.0172 0.0172 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0271 190.9 0.0171 0.0171 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0269 148.6 0.0169 0.0169 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0267 191.8 0.0168 0.0168 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0265 149.8 0.0167 0.0167 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 7.59s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0265 0.0167 0.0167 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0265 21.3 0.0167 0.0167 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0264 114.1 0.0166 0.0166 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0264 186.4 0.0166 0.0166 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0263 205.2 0.0166 0.0166 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0262 148.0 0.0165 0.0165 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0262 126.0 0.0165 0.0165 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0261 207.9 0.0165 0.0165 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0261 134.3 0.0165 0.0165 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0260 162.3 0.0164 0.0164 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0260 175.4 0.0164 0.0164 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0259 191.2 0.0164 0.0164 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 6.62s +[optimizer] total optimize time: 2m03.34s +[fit] peak GPU memory: 0.24 GiB +[fit2tifxyz] area_vx2=11236000 diff --git a/flat/C8/w066_spliced_p8C8/flatten_input.json b/flat/C8/w066_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..fd498a6dae673f843b30ad6c4abb771b4b808788 --- /dev/null +++ b/flat/C8/w066_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w066_spliced_p8C8"}]} diff --git a/flat/C8/w066_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w066_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..44e4cc7fdcd5ae81946085537eb6af9494dd0123 --- /dev/null +++ b/flat/C8/w066_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1757.7611083984375, + 3385.1171875, + 13822.5283203125 + ], + [ + 6330.45947265625, + 5119.8818359375, + 14819.1767578125 + ] + ], + "area_vx2": 11236000.0, + "model_source": "/workspace/flat/C8/w066_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w066_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w066_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w067_spliced_p8C8.log b/flat/C8/w067_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..d01eeeb4d1016e166e812b6655b7def4fd79d6c1 --- /dev/null +++ b/flat/C8/w067_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w067_spliced_p8C8 in 125s -> /workspace/flat/C8/w067_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w067_spliced_p8C8/flatten.log b/flat/C8/w067_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..487cbadef0a9e752509959ea4813adc87ddc603f --- /dev/null +++ b/flat/C8/w067_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w067_spliced_p8C8: 66x330, 16429/21780 valid (75.4%) step_h=25.149 step_w=31.056 step_diag=28.712 step_avg=28.418 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x330 -> 1x33x165 -> 1x17x83 -> 1x9x42 -> 1x5x21 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w067_spliced_p8C8 shape=(66, 330, 3) valid=16429/21780 model_shape=66x330 source_step=20 output_step=20 measured_source_step=28.4111 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 330, 2) point_valid=16429/21780 quad_valid=16027/21385 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.2964 2.2247 2.2247 1.0716 1.0716 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.2964 0.1 2.2247 2.2247 1.0716 1.0716 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.1988 134.7 0.6842 0.6842 0.5146 0.5146 0.0000 0.0000 0.0000 0.0000 19.996 + stage0 200/4500 0.6774 199.9 0.3940 0.3940 0.2835 0.2835 0.0000 0.0000 0.0000 0.0000 19.995 + stage0 300/4500 0.4437 231.5 0.2527 0.2527 0.1907 0.1907 0.0000 0.0000 1.0e-04 3.0e-04 19.998 + stage0 400/4500 0.3287 268.6 0.1750 0.1750 0.1537 0.1537 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0103 target=20 uv_scale=1.00052 + stage0 500/4500 0.2758 196.5 0.1323 0.1323 0.1434 0.1434 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1892 193.2 0.0906 0.0906 0.0986 0.0986 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 700/4500 0.1787 201.5 0.0792 0.0792 0.0996 0.0996 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 800/4500 0.1621 177.9 0.0728 0.0728 0.0892 0.0892 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 900/4500 0.1439 153.2 0.0658 0.0658 0.0781 0.0781 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0167 target=20 uv_scale=1.00084 + stage0 1000/4500 0.1258 153.1 0.0599 0.0599 0.0659 0.0659 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0993 182.5 0.0484 0.0484 0.0508 0.0508 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1200/4500 0.0847 219.5 0.0426 0.0426 0.0421 0.0421 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1300/4500 0.0744 217.9 0.0396 0.0396 0.0348 0.0348 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 1400/4500 0.0666 214.9 0.0368 0.0368 0.0298 0.0298 0.0000 0.0000 0.0000 0.0000 20.010 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0086 target=20 uv_scale=1.00043 + stage0 1500/4500 0.0609 203.4 0.0349 0.0349 0.0260 0.0260 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0486 185.7 0.0305 0.0305 0.0181 0.0181 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1700/4500 0.0474 197.3 0.0291 0.0291 0.0183 0.0183 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 1800/4500 0.0447 237.6 0.0278 0.0278 0.0168 0.0168 0.0000 0.0000 0.0000 0.0000 20.006 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0428 267.0 0.0270 0.0270 0.0158 0.0158 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0052 target=20 uv_scale=1.00026 + stage0 2000/4500 0.0414 247.9 0.0263 0.0263 0.0151 0.0151 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0359 214.0 0.0234 0.0234 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0329 233.6 0.0216 0.0216 0.0113 0.0113 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2300/4500 0.0309 217.5 0.0204 0.0204 0.0105 0.0105 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0294 255.2 0.0194 0.0194 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 2500/4500 0.0281 241.7 0.0187 0.0187 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0270 204.8 0.0179 0.0179 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0261 220.9 0.0174 0.0174 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0258 211.3 0.0171 0.0171 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2900/4500 0.0252 214.7 0.0169 0.0169 0.0083 0.0083 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3000/4500 0.0248 213.4 0.0166 0.0166 0.0082 0.0082 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0246 187.7 0.0165 0.0165 0.0081 0.0081 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0247 218.0 0.0164 0.0164 0.0083 0.0083 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0242 217.2 0.0163 0.0163 0.0080 0.0080 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0240 213.7 0.0161 0.0161 0.0079 0.0079 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0031 target=20 uv_scale=1.00016 + stage0 3500/4500 0.0238 214.8 0.0160 0.0160 0.0078 0.0078 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0236 217.7 0.0160 0.0160 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0234 218.4 0.0158 0.0158 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0232 217.5 0.0157 0.0157 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0232 210.6 0.0155 0.0155 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0031 target=20 uv_scale=1.00016 + stage0 4000/4500 0.0230 212.4 0.0154 0.0154 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0226 214.9 0.0151 0.0151 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0223 256.4 0.0149 0.0149 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0221 223.8 0.0148 0.0148 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0220 259.6 0.0148 0.0148 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0219 248.6 0.0147 0.0147 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m29.53s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0215 0.0147 0.0147 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0215 124.2 0.0147 0.0147 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0215 257.5 0.0143 0.0143 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0212 256.9 0.0141 0.0141 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0211 263.8 0.0141 0.0141 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0210 261.8 0.0140 0.0140 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0210 262.2 0.0139 0.0139 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0209 258.1 0.0139 0.0139 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0208 255.9 0.0139 0.0139 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0208 261.1 0.0138 0.0138 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0208 250.3 0.0138 0.0138 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0207 251.1 0.0138 0.0138 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 4.11s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0207 0.0138 0.0138 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0207 87.6 0.0138 0.0138 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0207 140.5 0.0138 0.0138 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0207 135.0 0.0138 0.0138 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0207 155.9 0.0137 0.0137 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0206 184.5 0.0137 0.0137 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0206 194.8 0.0137 0.0137 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0206 195.4 0.0137 0.0137 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0206 194.0 0.0137 0.0137 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0206 191.0 0.0137 0.0137 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0206 198.4 0.0137 0.0137 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0206 149.4 0.0137 0.0137 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 6.23s +[optimizer] total optimize time: 1m39.88s +[fit] peak GPU memory: 0.25 GiB +[fit2tifxyz] area_vx2=11244000 diff --git a/flat/C8/w067_spliced_p8C8/flatten_input.json b/flat/C8/w067_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..4c6fbc60eeac18bd2c80ad0b4423d16aa04cb05b --- /dev/null +++ b/flat/C8/w067_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w067_spliced_p8C8"}]} diff --git a/flat/C8/w067_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w067_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..08bb8c5221da0a48e174d69ec647af3ceb2b51ce --- /dev/null +++ b/flat/C8/w067_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1720.5784912109375, + 3374.1767578125, + 13821.6044921875 + ], + [ + 6347.05029296875, + 5126.99365234375, + 14819.65625 + ] + ], + "area_vx2": 11244000.0, + "model_source": "/workspace/flat/C8/w067_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w067_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w067_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w069_spliced_p8C8.log b/flat/C8/w069_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..3160565a6d9306f32cfc90cccdd8cd71efe508d1 --- /dev/null +++ b/flat/C8/w069_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w069_spliced_p8C8 in 130s -> /workspace/flat/C8/w069_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w069_spliced_p8C8/flatten.log b/flat/C8/w069_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..abd751143ff86cc30a2b80a4c55527a30e1403ca --- /dev/null +++ b/flat/C8/w069_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w069_spliced_p8C8: 66x340, 16935/22440 valid (75.5%) step_h=25.196 step_w=31.000 step_diag=28.701 step_avg=28.409 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x340 -> 1x33x170 -> 1x17x85 -> 1x9x43 -> 1x5x22 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w069_spliced_p8C8 shape=(66, 340, 3) valid=16935/22440 model_shape=66x340 source_step=20 output_step=20 measured_source_step=28.4049 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 340, 2) point_valid=16935/22440 quad_valid=16524/22035 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.1801 2.1644 2.1644 1.0156 1.0156 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.1801 0.1 2.1644 2.1644 1.0156 1.0156 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.1330 300.8 0.6880 0.6880 0.4449 0.4449 0.0000 0.0000 1.0e-04 2.0e-04 19.990 + stage0 200/4500 0.6773 275.6 0.4099 0.4099 0.2674 0.2674 0.0000 0.0000 0.0000 0.0000 19.993 + stage0 300/4500 0.4626 240.6 0.2639 0.2639 0.1987 0.1987 0.0000 0.0000 0.0000 0.0000 19.997 + stage0 400/4500 0.3561 381.7 0.1798 0.1798 0.1764 0.1764 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0102 target=20 uv_scale=1.00051 + stage0 500/4500 0.2962 383.8 0.1331 0.1331 0.1631 0.1631 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.2104 390.5 0.0880 0.0880 0.1224 0.1224 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 700/4500 0.1921 352.3 0.0748 0.0748 0.1173 0.1173 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 800/4500 0.1699 344.1 0.0661 0.0661 0.1038 0.1038 0.0000 0.0000 0.0000 0.0000 20.021 + stage0 900/4500 0.1459 338.5 0.0587 0.0587 0.0872 0.0872 0.0000 0.0000 0.0000 0.0000 20.019 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0171 target=20 uv_scale=1.00086 + stage0 1000/4500 0.1237 338.7 0.0520 0.0520 0.0717 0.0717 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.1055 292.8 0.0439 0.0439 0.0616 0.0616 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 1200/4500 0.0917 381.1 0.0398 0.0398 0.0519 0.0519 0.0000 0.0000 0.0000 0.0000 20.017 + stage0 1300/4500 0.0883 364.8 0.0355 0.0355 0.0528 0.0528 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 1400/4500 0.0700 404.0 0.0331 0.0331 0.0369 0.0369 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0124 target=20 uv_scale=1.00062 + stage0 1500/4500 0.0611 414.7 0.0303 0.0303 0.0307 0.0307 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0543 363.1 0.0271 0.0271 0.0266 0.0266 0.0000 0.0000 3.0e-04 6.0e-04 20.012 + stage0 1700/4500 0.0487 353.7 0.0254 0.0254 0.0233 0.0233 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 1800/4500 0.0448 403.9 0.0240 0.0240 0.0208 0.0208 0.0000 0.0000 0.0000 0.0000 20.010 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0411 239.3 0.0226 0.0226 0.0185 0.0185 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0082 target=20 uv_scale=1.00041 + stage0 2000/4500 0.0377 68.1 0.0214 0.0214 0.0163 0.0163 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0347 53.6 0.0194 0.0194 0.0154 0.0154 0.0000 0.0000 0.0000 0.0000 20.009 + stage0 2200/4500 0.0327 110.3 0.0187 0.0187 0.0140 0.0140 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 2300/4500 0.0304 245.3 0.0180 0.0180 0.0124 0.0124 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 2400/4500 0.0301 163.5 0.0179 0.0179 0.0121 0.0121 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0057 target=20 uv_scale=1.00029 + stage0 2500/4500 0.0286 215.9 0.0174 0.0174 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0260 273.2 0.0159 0.0159 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2700/4500 0.0255 218.4 0.0154 0.0154 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2800/4500 0.0246 324.7 0.0152 0.0152 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0242 143.3 0.0149 0.0149 0.0093 0.0093 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 3000/4500 0.0236 114.0 0.0147 0.0147 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0225 97.9 0.0138 0.0138 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3200/4500 0.0220 77.7 0.0136 0.0136 0.0084 0.0084 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3300/4500 0.0216 102.0 0.0134 0.0134 0.0082 0.0082 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0212 143.6 0.0132 0.0132 0.0080 0.0080 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0039 target=20 uv_scale=1.00019 + stage0 3500/4500 0.0209 164.9 0.0131 0.0131 0.0078 0.0078 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0201 137.2 0.0126 0.0126 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3700/4500 0.0198 90.5 0.0124 0.0124 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3800/4500 0.0195 149.9 0.0123 0.0123 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0192 88.9 0.0122 0.0122 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0031 target=20 uv_scale=1.00016 + stage0 4000/4500 0.0191 101.4 0.0121 0.0121 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0192 91.2 0.0121 0.0121 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0190 71.0 0.0120 0.0120 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0190 110.5 0.0120 0.0120 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0189 92.7 0.0119 0.0119 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0032 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0189 136.1 0.0119 0.0119 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m34.99s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0185 0.0119 0.0119 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0185 14.9 0.0119 0.0119 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0186 119.5 0.0118 0.0118 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0187 193.7 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0188 163.9 0.0118 0.0118 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 400/1000 0.0190 174.5 0.0118 0.0118 0.0073 0.0073 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 500/1000 0.0187 163.4 0.0118 0.0118 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0188 309.1 0.0118 0.0118 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0188 289.1 0.0118 0.0118 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0187 318.8 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0188 356.9 0.0117 0.0117 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0187 233.8 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 5.20s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0186 0.0117 0.0117 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0186 160.4 0.0117 0.0117 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0187 275.6 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0187 100.7 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0186 32.1 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0186 25.3 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0186 64.4 0.0117 0.0117 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0186 94.7 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0186 138.2 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 800/1000 0.0186 90.7 0.0117 0.0117 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0186 72.3 0.0117 0.0117 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0186 97.5 0.0117 0.0117 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 15.59s +[optimizer] total optimize time: 1m55.78s +[fit] peak GPU memory: 0.25 GiB +[fit2tifxyz] area_vx2=11628000 diff --git a/flat/C8/w069_spliced_p8C8/flatten_input.json b/flat/C8/w069_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..884cf466e0370f8f099fd0c4c1dba9cec60b7b31 --- /dev/null +++ b/flat/C8/w069_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w069_spliced_p8C8"}]} diff --git a/flat/C8/w069_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w069_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..ce932eab99b910f5459123b949d40ebf7d3b0f34 --- /dev/null +++ b/flat/C8/w069_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1672.595947265625, + 3352.6845703125, + 13822.0439453125 + ], + [ + 6418.9189453125, + 5151.47705078125, + 14823.0498046875 + ] + ], + "area_vx2": 11628000.0, + "model_source": "/workspace/flat/C8/w069_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w069_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w069_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w070_spliced_p8C8.log b/flat/C8/w070_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..e402da4029e7b6aee6f1007021208fcab651fafc --- /dev/null +++ b/flat/C8/w070_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w070_spliced_p8C8 in 121s -> /workspace/flat/C8/w070_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w070_spliced_p8C8/flatten.log b/flat/C8/w070_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..bc0d971496c9cfe718a813861b540cd393a51138 --- /dev/null +++ b/flat/C8/w070_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w070_spliced_p8C8: 66x345, 17194/22770 valid (75.5%) step_h=25.214 step_w=30.947 step_diag=28.665 step_avg=28.382 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x345 -> 1x33x173 -> 1x17x87 -> 1x9x44 -> 1x5x22 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w070_spliced_p8C8 shape=(66, 345, 3) valid=17194/22770 model_shape=66x345 source_step=20 output_step=20 measured_source_step=28.3781 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 345, 2) point_valid=17194/22770 quad_valid=16774/22360 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.1129 2.1216 2.1216 0.9912 0.9912 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.1129 0.1 2.1216 2.1216 0.9912 0.9912 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.0808 144.1 0.6802 0.6802 0.4006 0.4006 0.0000 0.0000 0.0000 0.0000 19.986 + stage0 200/4500 0.6429 157.8 0.4125 0.4125 0.2304 0.2304 0.0000 0.0000 0.0000 0.0000 19.992 + stage0 300/4500 0.4377 162.5 0.2708 0.2708 0.1668 0.1668 0.0000 0.0000 0.0000 0.0000 19.997 + stage0 400/4500 0.3246 188.4 0.1864 0.1864 0.1382 0.1382 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0074 target=20 uv_scale=1.00037 + stage0 500/4500 0.2572 226.7 0.1367 0.1367 0.1205 0.1205 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.1889 198.9 0.0892 0.0892 0.0997 0.0997 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 700/4500 0.1695 216.9 0.0752 0.0752 0.0943 0.0943 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 800/4500 0.1504 228.8 0.0657 0.0657 0.0847 0.0847 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 900/4500 0.1302 201.3 0.0580 0.0580 0.0721 0.0721 0.0000 0.0000 0.0000 0.0000 20.017 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0158 target=20 uv_scale=1.00079 + stage0 1000/4500 0.1130 219.5 0.0514 0.0514 0.0616 0.0616 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0891 175.0 0.0396 0.0396 0.0495 0.0495 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1200/4500 0.0753 197.0 0.0343 0.0343 0.0410 0.0410 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 1300/4500 0.0626 229.6 0.0305 0.0305 0.0321 0.0321 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 1400/4500 0.0532 219.4 0.0275 0.0275 0.0257 0.0257 0.0000 0.0000 0.0000 0.0000 20.011 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0095 target=20 uv_scale=1.00048 + stage0 1500/4500 0.0465 202.8 0.0254 0.0254 0.0211 0.0211 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0342 203.5 0.0203 0.0203 0.0139 0.0139 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1700/4500 0.0300 210.7 0.0188 0.0188 0.0112 0.0112 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 1800/4500 0.0283 197.1 0.0181 0.0181 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0275 223.8 0.0177 0.0177 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0042 target=20 uv_scale=1.00021 + stage0 2000/4500 0.0266 221.4 0.0173 0.0173 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0253 137.2 0.0159 0.0159 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2200/4500 0.0243 158.9 0.0156 0.0156 0.0086 0.0086 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2300/4500 0.0237 157.6 0.0154 0.0154 0.0083 0.0083 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2400/4500 0.0233 164.5 0.0152 0.0152 0.0082 0.0082 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0037 target=20 uv_scale=1.00018 + stage0 2500/4500 0.0230 209.8 0.0150 0.0150 0.0080 0.0080 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0222 245.6 0.0146 0.0146 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2700/4500 0.0222 207.6 0.0145 0.0145 0.0077 0.0077 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2800/4500 0.0220 225.2 0.0144 0.0144 0.0076 0.0076 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 2900/4500 0.0218 237.1 0.0143 0.0143 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 3000/4500 0.0216 184.2 0.0142 0.0142 0.0075 0.0075 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0209 127.1 0.0135 0.0135 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3200/4500 0.0208 157.9 0.0134 0.0134 0.0074 0.0074 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0204 168.7 0.0133 0.0133 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3400/4500 0.0204 210.4 0.0132 0.0132 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 3500/4500 0.0205 199.4 0.0132 0.0132 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0204 216.8 0.0132 0.0132 0.0072 0.0072 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0202 249.5 0.0131 0.0131 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0201 258.2 0.0131 0.0131 0.0071 0.0071 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0201 261.9 0.0130 0.0130 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 4000/4500 0.0200 255.3 0.0130 0.0130 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0199 138.5 0.0130 0.0130 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4200/4500 0.0199 207.1 0.0130 0.0130 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0198 266.4 0.0129 0.0129 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0198 216.6 0.0129 0.0129 0.0070 0.0070 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0033 target=20 uv_scale=1.00016 + stage0 4500/4500 0.0197 249.7 0.0128 0.0128 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m26.20s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0194 0.0128 0.0128 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0194 92.9 0.0128 0.0128 0.0066 0.0066 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0195 185.2 0.0126 0.0126 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0195 194.3 0.0126 0.0126 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 300/1000 0.0195 180.6 0.0126 0.0126 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0195 161.1 0.0126 0.0126 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0194 206.6 0.0126 0.0126 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 600/1000 0.0194 194.8 0.0126 0.0126 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 700/1000 0.0194 128.4 0.0125 0.0125 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 800/1000 0.0194 209.2 0.0125 0.0125 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 900/1000 0.0194 178.6 0.0125 0.0125 0.0069 0.0069 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 1000/1000 0.0194 243.8 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage1 'flatten' complete in 5.72s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0194 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1/1000 0.0194 107.7 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 100/1000 0.0193 238.8 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 200/1000 0.0193 211.6 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 300/1000 0.0193 217.1 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 400/1000 0.0193 223.3 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 500/1000 0.0193 223.8 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 600/1000 0.0193 225.1 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 700/1000 0.0193 224.5 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0193 224.9 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 900/1000 0.0193 178.7 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 1000/1000 0.0193 207.0 0.0125 0.0125 0.0068 0.0068 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage2 'flatten' complete in 4.89s +[optimizer] total optimize time: 1m36.81s +[fit] peak GPU memory: 0.25 GiB +[fit2tifxyz] area_vx2=11757200 diff --git a/flat/C8/w070_spliced_p8C8/flatten_input.json b/flat/C8/w070_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..43ef617f0e2ad2e42ab2c1b012d10ad96ea64391 --- /dev/null +++ b/flat/C8/w070_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w070_spliced_p8C8"}]} diff --git a/flat/C8/w070_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w070_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..330327114b0aa9b592e21b58bbb7e4f17d11fa9a --- /dev/null +++ b/flat/C8/w070_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1646.5623779296875, + 3349.22216796875, + 13821.173828125 + ], + [ + 6459.99267578125, + 5158.74853515625, + 14819.7568359375 + ] + ], + "area_vx2": 11757200.0, + "model_source": "/workspace/flat/C8/w070_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w070_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w070_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w071_spliced_p8C8.log b/flat/C8/w071_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..5dd422c7104348b8d03bb1e01dd17f3d166edf7a --- /dev/null +++ b/flat/C8/w071_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w071_spliced_p8C8 in 146s -> /workspace/flat/C8/w071_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w071_spliced_p8C8/flatten.log b/flat/C8/w071_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..412b1106fed557d9b4c167f86676c7aed59ea743 --- /dev/null +++ b/flat/C8/w071_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w071_spliced_p8C8: 66x350, 17456/23100 valid (75.6%) step_h=25.261 step_w=30.940 step_diag=28.667 step_avg=28.393 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x350 -> 1x33x175 -> 1x17x88 -> 1x9x44 -> 1x5x22 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w071_spliced_p8C8 shape=(66, 350, 3) valid=17456/23100 model_shape=66x350 source_step=20 output_step=20 measured_source_step=28.3876 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 350, 2) point_valid=17456/23100 quad_valid=17029/22685 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 3.0839 2.1042 2.1042 0.9797 0.9797 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 3.0839 0.1 2.1042 2.1042 0.9797 0.9797 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.1029 89.8 0.6778 0.6778 0.4251 0.4251 0.0000 0.0000 0.0000 0.0000 19.990 + stage0 200/4500 0.6673 119.2 0.4092 0.4092 0.2581 0.2581 0.0000 0.0000 0.0000 0.0000 19.994 + stage0 300/4500 0.4567 116.0 0.2694 0.2694 0.1873 0.1873 0.0000 0.0000 0.0000 0.0000 19.997 + stage0 400/4500 0.3596 58.0 0.1878 0.1878 0.1718 0.1718 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0097 target=20 uv_scale=1.00048 + stage0 500/4500 0.2951 90.3 0.1387 0.1387 0.1531 0.1531 0.0000 0.0000 0.0016 0.0033 20.000 + stage0 600/4500 0.1895 91.8 0.0889 0.0889 0.1007 0.1007 0.0000 0.0000 0.0000 0.0000 20.013 + stage0 700/4500 0.1770 158.3 0.0748 0.0748 0.1023 0.1023 0.0000 0.0000 0.0000 0.0000 20.018 + stage0 800/4500 0.1584 144.1 0.0661 0.0661 0.0923 0.0923 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 900/4500 0.1394 97.0 0.0585 0.0585 0.0809 0.0809 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.0162 target=20 uv_scale=1.00081 + stage0 1000/4500 0.1208 131.1 0.0524 0.0524 0.0685 0.0685 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.0995 132.1 0.0439 0.0439 0.0556 0.0556 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1200/4500 0.0890 157.3 0.0395 0.0395 0.0495 0.0495 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 1300/4500 0.0780 109.6 0.0362 0.0362 0.0418 0.0418 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 1400/4500 0.0698 51.7 0.0335 0.0335 0.0363 0.0363 0.0000 0.0000 0.0000 0.0000 20.013 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.0112 target=20 uv_scale=1.00056 + stage0 1500/4500 0.0623 66.7 0.0314 0.0314 0.0309 0.0309 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.0508 80.4 0.0269 0.0269 0.0240 0.0240 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 1700/4500 0.0441 102.4 0.0247 0.0247 0.0194 0.0194 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 1800/4500 0.0408 109.2 0.0239 0.0239 0.0170 0.0170 0.0000 0.0000 0.0000 0.0000 20.007 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0385 110.2 0.0229 0.0229 0.0156 0.0156 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0055 target=20 uv_scale=1.00028 + stage0 2000/4500 0.0366 109.2 0.0221 0.0221 0.0145 0.0145 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0341 120.9 0.0205 0.0205 0.0136 0.0136 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2200/4500 0.0329 147.1 0.0200 0.0200 0.0129 0.0129 0.0000 0.0000 0.0000 0.0000 20.006 + stage0 2300/4500 0.0319 120.8 0.0196 0.0196 0.0123 0.0123 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2400/4500 0.0313 119.5 0.0193 0.0193 0.0120 0.0120 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.0047 target=20 uv_scale=1.00024 + stage0 2500/4500 0.0307 129.2 0.0190 0.0190 0.0116 0.0116 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0291 49.1 0.0183 0.0183 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2700/4500 0.0287 67.8 0.0181 0.0181 0.0106 0.0106 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 2800/4500 0.0286 101.7 0.0179 0.0179 0.0107 0.0107 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 2900/4500 0.0280 124.6 0.0178 0.0178 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0039 target=20 uv_scale=1.0002 + stage0 3000/4500 0.0278 113.6 0.0177 0.0177 0.0101 0.0101 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0278 118.9 0.0178 0.0178 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3200/4500 0.0276 148.1 0.0176 0.0176 0.0100 0.0100 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3300/4500 0.0274 139.0 0.0176 0.0176 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 3400/4500 0.0272 131.6 0.0174 0.0174 0.0098 0.0098 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.0035 target=20 uv_scale=1.00017 + stage0 3500/4500 0.0270 124.1 0.0173 0.0173 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0273 134.6 0.0176 0.0176 0.0097 0.0097 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3700/4500 0.0271 136.1 0.0175 0.0175 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 3800/4500 0.0269 151.6 0.0174 0.0174 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.003 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0267 164.4 0.0173 0.0173 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4000/4500 0.0266 177.9 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0265 127.1 0.0170 0.0170 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0262 154.7 0.0169 0.0169 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4300/4500 0.0261 145.6 0.0168 0.0168 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.003 + stage0 4400/4500 0.0258 156.6 0.0167 0.0167 0.0091 0.0091 0.0000 0.0000 0.0000 0.0000 20.003 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0034 target=20 uv_scale=1.00017 + stage0 4500/4500 0.0258 132.5 0.0166 0.0166 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m54.98s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0253 0.0166 0.0166 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0253 96.0 0.0166 0.0166 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0251 171.3 0.0161 0.0161 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 200/1000 0.0249 151.2 0.0159 0.0159 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 300/1000 0.0247 146.2 0.0158 0.0158 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 400/1000 0.0246 147.7 0.0158 0.0158 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.003 + stage1 500/1000 0.0246 161.9 0.0157 0.0157 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 600/1000 0.0245 159.8 0.0157 0.0157 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0245 153.8 0.0156 0.0156 0.0089 0.0089 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 800/1000 0.0244 158.4 0.0155 0.0155 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 900/1000 0.0243 159.0 0.0155 0.0155 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0243 196.1 0.0155 0.0155 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage1 'flatten' complete in 6.53s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0243 0.0155 0.0155 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0243 76.1 0.0155 0.0155 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0242 173.2 0.0154 0.0154 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 200/1000 0.0242 124.7 0.0154 0.0154 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 300/1000 0.0241 149.6 0.0154 0.0154 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 400/1000 0.0241 133.8 0.0153 0.0153 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 500/1000 0.0241 139.5 0.0153 0.0153 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 600/1000 0.0241 105.9 0.0153 0.0153 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 700/1000 0.0240 99.2 0.0153 0.0153 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.003 + stage2 800/1000 0.0240 126.1 0.0153 0.0153 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 900/1000 0.0240 123.8 0.0153 0.0153 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1000/1000 0.0240 149.8 0.0152 0.0152 0.0087 0.0087 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage2 'flatten' complete in 8.13s +[optimizer] total optimize time: 2m09.64s +[fit] peak GPU memory: 0.26 GiB +[fit2tifxyz] area_vx2=11955200 diff --git a/flat/C8/w071_spliced_p8C8/flatten_input.json b/flat/C8/w071_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..755629f5f005f3669c7ac75c763d036899a99331 --- /dev/null +++ b/flat/C8/w071_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w071_spliced_p8C8"}]} diff --git a/flat/C8/w071_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w071_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..e931e32e827ee0e5b2ae0be4de6b8dff37f8fd79 --- /dev/null +++ b/flat/C8/w071_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1609.0167236328125, + 3330.794921875, + 13819.833984375 + ], + [ + 6546.783203125, + 5174.2490234375, + 14820.2939453125 + ] + ], + "area_vx2": 11955200.0, + "model_source": "/workspace/flat/C8/w071_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w071_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w071_spliced_p8C8" + } + ] + } +} diff --git a/flat/C8/w076_spliced_p8C8.log b/flat/C8/w076_spliced_p8C8.log new file mode 100644 index 0000000000000000000000000000000000000000..da1545313cb3c9e92dc77f2e9d8beec5031a0ec7 --- /dev/null +++ b/flat/C8/w076_spliced_p8C8.log @@ -0,0 +1 @@ +flattened w076_spliced_p8C8 in 149s -> /workspace/flat/C8/w076_spliced_p8C8/tifxyz/flatten.tifxyz diff --git a/flat/C8/w076_spliced_p8C8/flatten.log b/flat/C8/w076_spliced_p8C8/flatten.log new file mode 100644 index 0000000000000000000000000000000000000000..4d288606d6f6e0a4bb869f83bb41e76e84548c4d --- /dev/null +++ b/flat/C8/w076_spliced_p8C8/flatten.log @@ -0,0 +1,142 @@ +[tifxyz_io] loaded w076_spliced_p8C8: 66x374, 18658/24684 valid (75.6%) step_h=25.194 step_w=30.647 step_diag=28.384 step_avg=28.162 +[model] pyramid levels (C=3, pyramid_d=False): 1x66x374 -> 1x33x187 -> 1x17x94 -> 1x9x47 -> 1x5x24 +data: flatten-only (no volume input) +model: ModelConfig(mesh_step=100, winding_step=25, subsample_mesh=4, subsample_winding=4, depth=3, mesh_h=32, mesh_w=32, init_mode='cylinder_seed', z_center=0.0, pyramid_d=True, model_input=None, model_output=None) +opt: OptConfig(device='cuda', snapshot_interval=1000, normal_mask_zero=False) +[fit] model-init=flatten solver=forward source=/workspace/fit1218C/C8/snap/w076_spliced_p8C8 shape=(66, 374, 3) valid=18658/24684 model_shape=66x374 source_step=20 output_step=20 measured_source_step=28.1576 initial_uv_rescale=1 +initial forward flatten (inversion skipped): map_shape=(66, 374, 2) point_valid=18658/24684 quad_valid=18210/24245 +[optimizer] corr_points=False active_corr_terms=[] +[optimizer] stage0: params=['map_flatten_ms'] steps=4500 lr=0.01 min_scaledown=0 +[optimizer] stage0: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage0: flatten_edge_step_global_scale=100 +[optimizer] stage0: flatten_diagnostics=0 +[optimizer] stage0: compile_flatten=1 combined=1 +[optimizer] stage0: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage0: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage0: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] stage0: flatten_renorm_interval=500 +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 0/4500 2.9544 2.0123 2.0123 0.9420 0.9420 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1/4500 2.9544 0.1 2.0123 2.0123 0.9420 0.9420 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 100/4500 1.1226 64.0 0.6508 0.6508 0.4718 0.4718 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 200/4500 0.6681 88.4 0.4024 0.4024 0.2657 0.2657 0.0000 0.0000 0.0000 0.0000 19.997 + stage0 300/4500 0.4638 120.8 0.2724 0.2724 0.1913 0.1913 0.0000 0.0000 0.0000 0.0000 19.999 + stage0 400/4500 0.3349 113.9 0.1964 0.1964 0.1385 0.1385 0.0000 0.0000 0.0000 0.0000 19.998 +[optimizer] stage0: flatten renorm step=500 avg_step=20.0085 target=20 uv_scale=1.00043 + stage0 500/4500 0.2919 121.9 0.1482 0.1482 0.1436 0.1436 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 600/4500 0.2066 100.4 0.1037 0.1037 0.1028 0.1028 0.0000 0.0000 0.0000 0.0000 20.012 + stage0 700/4500 0.1868 107.0 0.0886 0.0886 0.0982 0.0982 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 800/4500 0.1798 132.4 0.0794 0.0794 0.1005 0.1005 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 900/4500 0.1659 137.5 0.0726 0.0726 0.0933 0.0933 0.0000 0.0000 0.0000 0.0000 20.020 +[optimizer] stage0: flatten renorm step=1000 avg_step=20.02 target=20 uv_scale=1.001 + stage0 1000/4500 0.1536 123.6 0.0672 0.0672 0.0865 0.0865 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1100/4500 0.1506 81.1 0.0611 0.0611 0.0725 0.0725 0.0000 0.0000 0.0085 0.0169 20.019 + stage0 1200/4500 0.1300 50.8 0.0586 0.0586 0.0715 0.0715 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 1300/4500 0.1242 63.9 0.0555 0.0555 0.0687 0.0687 0.0000 0.0000 0.0000 0.0000 20.020 + stage0 1400/4500 0.1170 100.1 0.0524 0.0524 0.0646 0.0646 0.0000 0.0000 0.0000 0.0000 20.020 +[optimizer] stage0: flatten renorm step=1500 avg_step=20.019 target=20 uv_scale=1.00095 + stage0 1500/4500 0.1090 105.6 0.0494 0.0494 0.0596 0.0596 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 1600/4500 0.1021 130.1 0.0465 0.0465 0.0557 0.0557 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 1700/4500 0.0985 134.7 0.0445 0.0445 0.0540 0.0540 0.0000 0.0000 0.0000 0.0000 20.019 + stage0 1800/4500 0.0942 125.0 0.0428 0.0428 0.0513 0.0513 0.0000 0.0000 0.0000 0.0000 20.019 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 1900/4500 0.0894 108.2 0.0413 0.0413 0.0481 0.0481 0.0000 0.0000 0.0000 0.0000 20.018 +[optimizer] stage0: flatten renorm step=2000 avg_step=20.0204 target=20 uv_scale=1.00102 + stage0 2000/4500 0.0943 141.1 0.0397 0.0397 0.0546 0.0546 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2100/4500 0.0794 104.8 0.0368 0.0368 0.0408 0.0408 0.0000 0.0000 9.0e-04 0.0017 20.017 + stage0 2200/4500 0.0723 129.1 0.0350 0.0350 0.0374 0.0374 0.0000 0.0000 0.0000 0.0000 20.016 + stage0 2300/4500 0.0669 147.1 0.0332 0.0332 0.0337 0.0337 0.0000 0.0000 0.0000 0.0000 20.015 + stage0 2400/4500 0.0619 154.1 0.0315 0.0315 0.0304 0.0304 0.0000 0.0000 0.0000 0.0000 20.014 +[optimizer] stage0: flatten renorm step=2500 avg_step=20.013 target=20 uv_scale=1.00065 + stage0 2500/4500 0.0576 151.0 0.0302 0.0302 0.0274 0.0274 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 2600/4500 0.0554 154.5 0.0278 0.0278 0.0276 0.0276 0.0000 0.0000 0.0000 0.0000 20.014 + stage0 2700/4500 0.0483 144.9 0.0271 0.0271 0.0212 0.0212 0.0000 0.0000 0.0000 0.0000 20.011 + stage0 2800/4500 0.0462 159.3 0.0263 0.0263 0.0198 0.0198 0.0000 0.0000 0.0000 0.0000 20.010 + stage0 2900/4500 0.0434 148.9 0.0256 0.0256 0.0178 0.0178 0.0000 0.0000 0.0000 0.0000 20.009 +[optimizer] stage0: flatten renorm step=3000 avg_step=20.0087 target=20 uv_scale=1.00044 + stage0 3000/4500 0.0419 150.5 0.0250 0.0250 0.0169 0.0169 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3100/4500 0.0367 151.8 0.0224 0.0224 0.0143 0.0143 0.0000 0.0000 0.0000 0.0000 20.008 + stage0 3200/4500 0.0345 151.2 0.0212 0.0212 0.0133 0.0133 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3300/4500 0.0328 151.3 0.0203 0.0203 0.0125 0.0125 0.0000 0.0000 0.0000 0.0000 20.007 + stage0 3400/4500 0.0315 149.0 0.0196 0.0196 0.0118 0.0118 0.0000 0.0000 0.0000 0.0000 20.006 +[optimizer] stage0: flatten renorm step=3500 avg_step=20.006 target=20 uv_scale=1.0003 + stage0 3500/4500 0.0305 128.9 0.0192 0.0192 0.0114 0.0114 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 3600/4500 0.0290 144.4 0.0185 0.0185 0.0104 0.0104 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3700/4500 0.0285 152.0 0.0183 0.0183 0.0103 0.0103 0.0000 0.0000 0.0000 0.0000 20.005 + stage0 3800/4500 0.0284 156.9 0.0181 0.0181 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage0 3900/4500 0.0282 162.9 0.0180 0.0180 0.0102 0.0102 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage0: flatten renorm step=4000 avg_step=20.0046 target=20 uv_scale=1.00023 + stage0 4000/4500 0.0278 157.9 0.0179 0.0179 0.0099 0.0099 0.0000 0.0000 0.0000 0.0000 20.000 + stage0 4100/4500 0.0275 151.4 0.0178 0.0178 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4200/4500 0.0272 136.9 0.0177 0.0177 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4300/4500 0.0271 171.1 0.0175 0.0175 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage0 4400/4500 0.0270 180.4 0.0175 0.0175 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 +[optimizer] stage0: flatten renorm step=4500 avg_step=20.0038 target=20 uv_scale=1.00019 + stage0 4500/4500 0.0269 169.8 0.0174 0.0174 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.000 +[optimizer] stage0 'flatten' complete in 1m55.13s +[optimizer] stage1: params=['map_flatten_ms'] steps=1000 lr=0.001 min_scaledown=0 +[optimizer] stage1: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage1: flatten_edge_step_global_scale=100 +[optimizer] stage1: flatten_diagnostics=0 +[optimizer] stage1: compile_flatten=1 combined=1 +[optimizer] stage1: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage1: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage1: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage1 0/1000 0.0263 0.0175 0.0175 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 1/1000 0.0263 74.6 0.0175 0.0175 0.0088 0.0088 0.0000 0.0000 0.0000 0.0000 20.000 + stage1 100/1000 0.0269 105.2 0.0173 0.0173 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 200/1000 0.0269 103.1 0.0173 0.0173 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 300/1000 0.0269 115.3 0.0173 0.0173 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 400/1000 0.0269 157.9 0.0173 0.0173 0.0096 0.0096 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 500/1000 0.0267 161.6 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 600/1000 0.0267 160.6 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 700/1000 0.0268 120.5 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 800/1000 0.0267 162.9 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage1 900/1000 0.0264 165.8 0.0172 0.0172 0.0092 0.0092 0.0000 0.0000 0.0000 0.0000 20.004 + stage1 1000/1000 0.0266 163.7 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage1 'flatten' complete in 7.62s +[optimizer] stage2: params=['map_flatten_ms'] steps=1000 lr=0.0001 min_scaledown=0 +[optimizer] stage2: snap_surf_map_weight=0 snap_surf_map_offset=n/a snap_surf_map_offset_mode=n/a +[optimizer] stage2: flatten_edge_step_global_scale=100 +[optimizer] stage2: flatten_diagnostics=0 +[optimizer] stage2: compile_flatten=1 combined=1 +[optimizer] stage2: forward_needs=xyz_lr,data,params+flatten prefetch_grad_channels=[] prefetch_nograd_channels=[] +[optimizer] stage2: flatten_max_update=0.1 (per-scale cap doubles at each coarser level) +[optimizer] stage2: fused_flatten_adam_clamp=1 (Triton CUDA with PyTorch fallback) +[optimizer] progress columns + col : meaning | col : meaning | col : meaning + step : stage step | loss : total loss | it/s : optimizer it/s + f_sdir : flatten_sdir | f_sdirW : weighted flatten_sdir | f_estep : physical edge step loss + f_estpW : weighted physical edge step loss | f_avg : flatten_avg_offset | f_avgW : weighted flatten_avg_offset + f_orient : flatten_orient | f_oriW : weighted flatten_orient | f_step : flatten current avg grid step + step loss it/s f_sdir f_sdirW f_estep f_estpW f_avg f_avgW f_orient f_oriW f_step + stage2 0/1000 0.0266 0.0172 0.0172 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 1/1000 0.0266 26.4 0.0172 0.0172 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.004 + stage2 100/1000 0.0267 195.6 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 200/1000 0.0267 149.6 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 300/1000 0.0267 102.2 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 400/1000 0.0266 126.6 0.0172 0.0172 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 500/1000 0.0266 102.9 0.0171 0.0171 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 600/1000 0.0266 76.2 0.0171 0.0171 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 700/1000 0.0266 58.9 0.0171 0.0171 0.0094 0.0094 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 800/1000 0.0266 85.2 0.0171 0.0171 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 900/1000 0.0266 155.5 0.0171 0.0171 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 + stage2 1000/1000 0.0266 170.3 0.0171 0.0171 0.0095 0.0095 0.0000 0.0000 0.0000 0.0000 20.005 +[optimizer] stage2 'flatten' complete in 9.64s +[optimizer] total optimize time: 2m12.40s +[fit] peak GPU memory: 0.27 GiB +[fit2tifxyz] area_vx2=12582800 diff --git a/flat/C8/w076_spliced_p8C8/flatten_input.json b/flat/C8/w076_spliced_p8C8/flatten_input.json new file mode 100644 index 0000000000000000000000000000000000000000..7616273f49ae9a73048a87dc6541b78d710b127d --- /dev/null +++ b/flat/C8/w076_spliced_p8C8/flatten_input.json @@ -0,0 +1 @@ +{"external_surfaces": [{"path": "/workspace/fit1218C/C8/snap/w076_spliced_p8C8"}]} diff --git a/flat/C8/w076_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json b/flat/C8/w076_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json new file mode 100644 index 0000000000000000000000000000000000000000..88cc79cf36af1e98eeb34fc292f0ea5d4466e944 --- /dev/null +++ b/flat/C8/w076_spliced_p8C8/tifxyz/flatten.tifxyz/meta.json @@ -0,0 +1,164 @@ +{ + "uuid": "flatten.tifxyz", + "name": "flatten.tifxyz", + "type": "seg", + "format": "tifxyz", + "scale": [ + 0.05, + 0.05 + ], + "bbox": [ + [ + 1512.03759765625, + 3288.902099609375, + 13818.369140625 + ], + [ + 6648.97802734375, + 5243.724609375, + 14821.5 + ] + ], + "area_vx2": 12582800.0, + "model_source": "/workspace/flat/C8/w076_spliced_p8C8/model_final.pt", + "fit_config": { + "args": { + "model-init": "flatten", + "flatten_solver": "forward", + "flatten_initial_inversion": false, + "flatten_output_step": 20.0, + "flatten_output_margin": 0.0, + "flatten_edge_step_global_scale": 100.0, + "input": null, + "device": "cuda", + "downscale": 4.0, + "crop": null, + "seed": null, + "model-w": null, + "model-w-unit": "voxels", + "model-h": null, + "winding-volume": null, + "cuda-gridsample": 1, + "erode-valid-mask": 0, + "sparse-prefetch-backend": "tensorstore", + "corr-point-roi": false, + "corr-point-roi-init-margin": 80, + "corr-point-roi-output-radius": 20, + "mesh-step": 100, + "winding-step": 25, + "subsample-mesh": 4, + "subsample-winding": 4, + "depth": 3, + "mesh-h": 32, + "mesh-w": 32, + "init-mode": "cylinder_seed", + "z-center": 0.0, + "pyramid-d": true, + "model-input": null, + "model-output": null, + "snapshot-interval": 1000, + "normal-mask-zero": 0, + "out-dir": "/workspace/flat/C8/w076_spliced_p8C8", + "tifxyz-init": null, + "self-map-init": "off", + "flatten-solver": "forward", + "approval-inpaint": false, + "approval-inpaint-corr-spacing": null, + "approval-inpaint-padding-frac": 0.25, + "approval-inpaint-output-mask": false, + "approval-inpaint-output-mask-dilate": 3, + "approval-inpaint-tifxyz": null, + "tifxyz-flow-gate-channels": false, + "progress": false + }, + "base": { + "flatten_sdir": 1.0, + "flatten_edge_step": 1.0, + "flatten_avg_offset": 1.0, + "flatten_orient": 2.0 + }, + "stages": [ + { + "name": "flatten", + "steps": 4500, + "lr": 0.01, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05, + "flatten_renorm_interval": 500 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + }, + { + "name": "flatten", + "steps": 1000, + "lr": 0.0001, + "params": [ + "map_flatten_ms" + ], + "min_scaledown": 0, + "args": { + "compile_flatten": true, + "compile_flatten_combined": true, + "flatten_diagnostics": false, + "fused_flatten_adam_clamp": true, + "flatten_support": true, + "flatten_support_radius": 1, + "flatten_orient_min_det": 0.01, + "flatten_filter_source_angles": false, + "flatten_max_update": 0.1, + "flatten_sdir_eps": 1e-08, + "status_interval": 100, + "auto_steps_window": 2000, + "auto_steps_max": 100000, + "auto_steps_rel_threshold": 1e-05 + } + } + ], + "external_surfaces": [ + { + "path": "/workspace/fit1218C/C8/snap/w076_spliced_p8C8" + } + ] + } +} diff --git a/flat/E10/.complete b/flat/E10/.complete new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391