+ basename /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/1000 + python -m profile_alignment --shape square /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/1000/undistorted_frames.ptd.cbor fit 2026-07-13T00:31:33 - INFO: Profile Alignment 0.0.32 2026-07-13T00:31:33 - INFO: Alignment track will be output to /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/1000 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-13T00:31:33 - INFO: Input: /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/1000/undistorted_frames.ptd.cbor 2026-07-13T00:31:33 - INFO: Sonar: if present 2026-07-13T00:31:33 - INFO: Method: fit 2026-07-13T00:31:33 - INFO: Shape: /app/profile_alignment/ref_shapes/square.shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-13T00:31:33 - INFO: Track format: json Reading PTD file in cbor format... Completed! 2026-07-13T00:31:33 - INFO: Calculating the size for all frames ... joblib.externals.loky.process_executor._RemoteTraceback: """ Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/joblib/externals/loky/process_executor.py", line 490, in _process_worker r = call_item() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/externals/loky/process_executor.py", line 291, in __call__ return self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 607, in __call__ return [func(*args, **kwargs) for func, args, kwargs in self.items] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 607, in return [func(*args, **kwargs) for func, args, kwargs in self.items] ^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 282, in optimize_over_percentiles_pass1 results.append(optimize_alignment_pass1(ref_points, frame_points, percent)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 235, in optimize_alignment_pass1 ref_norm, ref_centroid, ref_scale = normalize_points(COPY(ref_points)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 178, in normalize_points raise ValueError("Input points array is empty.") ValueError: Input points array is empty. """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/profile_alignment/__main__.py", line 150, in main fit_to_reference( File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 86, in fit_to_reference all_param_p1 = optimize_alignment_pass1_parallel(ref_points_list, frame_points_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 308, in optimize_alignment_pass1_parallel results = Parallel(n_jobs=n_jobs, prefer="processes")( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 2072, in __call__ return output if self.return_generator else list(output) ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1682, in _get_outputs yield from self._retrieve() File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1784, in _retrieve self._raise_error_fast() File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1859, in _raise_error_fast error_job.get_result(self.timeout) File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 758, in get_result return self._return_or_raise() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 773, in _return_or_raise raise self._result ValueError: Input points array is empty. + basename /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/1500 + python -m profile_alignment --shape square /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/1500/undistorted_frames.ptd.cbor fit 2026-07-13T00:31:37 - INFO: Profile Alignment 0.0.32 2026-07-13T00:31:37 - INFO: Alignment track will be output to /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/1500 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-13T00:31:37 - INFO: Input: /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/1500/undistorted_frames.ptd.cbor 2026-07-13T00:31:37 - INFO: Sonar: if present 2026-07-13T00:31:37 - INFO: Method: fit 2026-07-13T00:31:37 - INFO: Shape: /app/profile_alignment/ref_shapes/square.shape.json 2026-07-13T00:31:37 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in cbor format... Completed! 2026-07-13T00:31:38 - INFO: Calculating the size for all frames ... joblib.externals.loky.process_executor._RemoteTraceback: """ Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/joblib/externals/loky/process_executor.py", line 490, in _process_worker r = call_item() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/externals/loky/process_executor.py", line 291, in __call__ return self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 607, in __call__ return [func(*args, **kwargs) for func, args, kwargs in self.items] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 607, in return [func(*args, **kwargs) for func, args, kwargs in self.items] ^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 282, in optimize_over_percentiles_pass1 results.append(optimize_alignment_pass1(ref_points, frame_points, percent)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 235, in optimize_alignment_pass1 ref_norm, ref_centroid, ref_scale = normalize_points(COPY(ref_points)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 178, in normalize_points raise ValueError("Input points array is empty.") ValueError: Input points array is empty. """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/profile_alignment/__main__.py", line 150, in main fit_to_reference( File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 86, in fit_to_reference all_param_p1 = optimize_alignment_pass1_parallel(ref_points_list, frame_points_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 308, in optimize_alignment_pass1_parallel results = Parallel(n_jobs=n_jobs, prefer="processes")( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 2072, in __call__ return output if self.return_generator else list(output) ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1682, in _get_outputs yield from self._retrieve() File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1784, in _retrieve self._raise_error_fast() File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1859, in _raise_error_fast error_job.get_result(self.timeout) File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 758, in get_result return self._return_or_raise() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 773, in _return_or_raise raise self._result ValueError: Input points array is empty. + basename /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000L + python -m profile_alignment --shape square /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000L/undistorted_frames.ptd.cbor fit 2026-07-13T00:31:42 - INFO: Profile Alignment 0.0.32 2026-07-13T00:31:42 - INFO: Alignment track will be output to /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000L =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-13T00:31:42 - INFO: Input: /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000L/undistorted_frames.ptd.cbor 2026-07-13T00:31:42 - INFO: Sonar: if present 2026-07-13T00:31:42 - INFO: Method: fit 2026-07-13T00:31:42 - INFO: Shape: /app/profile_alignment/ref_shapes/square.shape.json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-13T00:31:42 - INFO: Track format: json Reading PTD file in cbor format... Completed! 2026-07-13T00:31:43 - INFO: Calculating the size for all frames ... joblib.externals.loky.process_executor._RemoteTraceback: """ Traceback (most recent call last): File "/usr/local/lib/python3.11/site-packages/joblib/externals/loky/process_executor.py", line 490, in _process_worker r = call_item() ^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/externals/loky/process_executor.py", line 291, in __call__ return self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 607, in __call__ return [func(*args, **kwargs) for func, args, kwargs in self.items] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 607, in return [func(*args, **kwargs) for func, args, kwargs in self.items] ^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 282, in optimize_over_percentiles_pass1 results.append(optimize_alignment_pass1(ref_points, frame_points, percent)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 235, in optimize_alignment_pass1 ref_norm, ref_centroid, ref_scale = normalize_points(COPY(ref_points)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 178, in normalize_points raise ValueError("Input points array is empty.") ValueError: Input points array is empty. """ The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/app/profile_alignment/__main__.py", line 150, in main fit_to_reference( File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 86, in fit_to_reference all_param_p1 = optimize_alignment_pass1_parallel(ref_points_list, frame_points_list) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/app/profile_alignment/reference_fit/ref_fit_parallel.py", line 308, in optimize_alignment_pass1_parallel results = Parallel(n_jobs=n_jobs, prefer="processes")( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 2072, in __call__ return output if self.return_generator else list(output) ^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1682, in _get_outputs yield from self._retrieve() File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1784, in _retrieve self._raise_error_fast() File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 1859, in _raise_error_fast error_job.get_result(self.timeout) File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 758, in get_result return self._return_or_raise() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/joblib/parallel.py", line 773, in _return_or_raise raise self._result ValueError: Input points array is empty. + basename /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000R + python -m profile_alignment --shape square /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000R/undistorted_frames.ptd.cbor fit 2026-07-13T00:31:47 - INFO: Profile Alignment 0.0.32 2026-07-13T00:31:47 - INFO: Alignment track will be output to /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000R =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2026-07-13T00:31:47 - INFO: Input: /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000R/undistorted_frames.ptd.cbor 2026-07-13T00:31:47 - INFO: Sonar: if present 2026-07-13T00:31:47 - INFO: Method: fit 2026-07-13T00:31:47 - INFO: Shape: /app/profile_alignment/ref_shapes/square.shape.json 2026-07-13T00:31:47 - INFO: Track format: json =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Reading PTD file in cbor format... Completed! 2026-07-13T00:31:48 - INFO: Calculating the size for all frames ... 2026-07-13T00:31:52 - INFO: 200 frames are processed in 3.97 seconds. rate: 50.35 fp/s 2026-07-13T00:31:52 - INFO: Median Scale of 146 frame found to be: 1.9999646368944564 2026-07-13T00:31:52 - INFO: Fit to reference shape ... 2026-07-13T00:31:53 - INFO: {151} frames are processed in {1.57} seconds. Rate: 96.02 fp/s Track data saved to /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000R/alignment.track.json Writing PTD file in cbor format... Completed! PTD file is written to: /working/MDC040_W015(6)_2025-09-23/calibration/debug/4_undistorted/output/ptd/2000R/undistorted_frames_aligned.ptd.cbor