-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Description
The gallery example "Assemble images with simple image stitching" has started failing because of a failed estimation in
scikit-image/doc/examples/registration/plot_stitching.py
Lines 121 to 130 in 591c296
| trfm_list = [ | |
| measure.ransac( | |
| (dst, src), | |
| transform.EuclideanTransform, | |
| min_samples=3, | |
| residual_threshold=2, | |
| max_trials=100, | |
| )[0].params | |
| for dst in matching_corners | |
| ] |
Traceback
File "/opt/hostedtoolcache/Python/3.13.5/arm64/lib/python3.13/site-packages/sphinx_gallery/gen_gallery.py", line 1558, in summarize_failing_examples
raise ExtensionError(fail_message)
sphinx.errors.ExtensionError: Here is a summary of the problems encountered when running the examples:
Unexpected failing examples (1):
../examples/registration/plot_stitching.py failed leaving traceback:
Traceback (most recent call last):
File "/home/runner/work/scikit-image/scikit-image/doc/examples/registration/plot_stitching.py", line 128, in <module>
)[0].params
^^^^^^
File "/opt/hostedtoolcache/Python/3.13.5/arm64/lib/python3.13/site-packages/skimage/_shared/utils.py", line 522, in __getattr__
raise self.error_cls(msg)
skimage._shared.utils.FailedEstimationAccessError: FailedEstimation has no attribute 'params'. EuclideanTransform: Poor conditioning for estimation
Hint: You can check for a failed estimation by truth testing the returned object. For failed estimations, `bool(estimation_result)` will be `False`. E.g.
if not estimation_result:
raise RuntimeError(f'Failed estimation: {estimation_result}')
It currently looks like this might be a flaky failure rather than one occurring all the time. There are passing commits after the first failing commit.
cc @matthew-brett since this may be related to recent changes merged by us.
Reactions are currently unavailable