Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_periodic_reference fails on ppc64le python 3.7 (conda feedstock) #4772

Open
step21 opened this issue Jun 5, 2020 · 1 comment
Open
Labels
💻 Specific arch failure Failure that occurs for a specific architecture

Comments

@step21
Copy link

step21 commented Jun 5, 2020

Description

ppc64le python 3.7
test_periodic_reference

Way to reproduce

Run tests on ppc64le with python 3.7

Version information

# Paste the output of the following python commands

python 3.7

@step21
Copy link
Author

step21 commented Jun 8, 2020

___________________________ test_periodic_reference ____________________________

    def test_periodic_reference():
        img = data.astronaut()
        img = rgb2gray(img)
        s = np.linspace(0, 2*np.pi, 400)
        r = 100 + 100*np.sin(s)
        c = 220 + 100*np.cos(s)
        init = np.array([r, c]).T
        snake = active_contour(gaussian(img, 3), init, alpha=0.015, beta=10,
                               w_line=0, w_edge=1, gamma=0.001, coordinates='rc')
        refr = [98, 99, 100, 101, 102, 103, 104, 105, 106, 108]
        refc = [299, 298, 298, 298, 298, 297, 297, 296, 296, 295]

>       assert_equal(np.array(snake[:10, 0], dtype=np.int32), refr)
E       AssertionError: 
E       Arrays are not equal
E       
E       Mismatched elements: 10 / 10 (100%)
E       Max absolute difference: 1762
E       Max relative difference: 17.9183673469
E        x: array([1854, 1855, 1858, 1860, 1862, 1863, 1865, 1867, 1868, 1870],
E             dtype=int32)
E        y: array([ 98,  99, 100, 101, 102, 103, 104, 105, 106, 108])
../_test_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pla/lib/python3.6/site-packages/skimage/segmentation/tests/test_active_contour_model.py:23: AssertionError

https://travis-ci.com/github/conda-forge/scikit-image-feedstock/jobs/344046594

https://travis-ci.com/github/conda-forge/scikit-image-feedstock/jobs/342627804

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💻 Specific arch failure Failure that occurs for a specific architecture
Projects
None yet
Development

No branches or pull requests

2 participants