question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`TestBinaryErosionAndDilation` is flaky

See original GitHub issue

https://jenkins.preferred.jp/job/chainer/job/cupy_pr/2163/#showFailuresLink

tests.cupyx_tests.scipy_tests.ndimage_tests.test_morphology.BinaryErosionAndDilation_param_123_{border_value=0, connectivity=1, density=0.1, filter='binary_dilation', iterations=0, origin=0, output=None, shape=(16, 15), x_dtype=float32}.test_binary_erosion_and_dilation
--
tests.cupyx_tests.scipy_tests.ndimage_tests.test_morphology.BinaryErosionAndDilation_param_269_{border_value=0, connectivity=1, density=0.5, filter='binary_dilation', iterations=0, origin=0, output=None, shape=(5, 7, 9), x_dtype=float32}.test_binary_erosion_and_dilation
--

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
toslunarcommented, Sep 30, 2020

No ndimage_tests failure in the last shuffle test 🎉

1reaction
grlee77commented, Sep 25, 2020

I did see this on a couple of other PRs and it was a different parameterized case each time. I haven’t been able to reproduce it locally. It does seem like it has always been the cupy-py3 configuration that failed, though.

This was the case that came up once in the binary morphology PR:

tests.cupyx_tests.scipy_tests.ndimage_tests.test_morphology.BinaryErosionAndDilation_param_279_{border_value=0, connectivity=1, density=0.5, filter='binary_dilation', iterations=0, origin=-1, output=None, shape=(16, 15), x_dtype=float32}.test_binary_erosion_and_dilation
Read more comments on GitHub >

github_iconTop Results From Across the Web

Morphological Image Processing
Many morphological operations are represented as combinations of erosion, dilation, and simple set-theoretic operations such as the complement of a binary image ...
Read more >
DIP Lecture 13: Morphological image processing - YouTube
... pixels 0:13:09 Erosion 0:19:56 Matlab examples 0:27:27 Dilation 0:31:57 Matlab examples 0:37:13 Opening 0:38:08 Closing 0:39:12 Opening ...
Read more >
Morphological Filters - Medium
These filters are aimed at binary images, pixels values are 0 and 1 which is black ... morphological operations that base on erosion...
Read more >
Morphology - Erosion
Erosion is one of the two basic operators in the area of mathematical morphology, the other being dilation. It is typically applied to...
Read more >
Morphological Filters - Springer Link
First, all structures in the image are iteratively “shrunk” by peeling off a ... binary erosion by dilating the inverted image ¯I with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found