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_mark_sheet.py运行出错 #1

Open
xiawuhen opened this issue May 23, 2023 · 0 comments
Open

test_mark_sheet.py运行出错 #1

xiawuhen opened this issue May 23, 2023 · 0 comments

Comments

@xiawuhen
Copy link

Traceback (most recent call last): File "D:/Image-Process-master/tests/chapter11/test_mark_sheet.py", line 33, in test_get_mark_sheet r = mark_sheet.get_mark_sheet(self.img) File "D:\Image-Process-master\src\chapter11\mark_sheet.py", line 48, in get_mark_sheet dist = euclidean(centroid, point) File "D:\anaconda\envs\jqxx\lib\site-packages\scipy\spatial\distance.py", line 520, in euclidean return minkowski(u, v, p=2, w=w) File "D:\anaconda\envs\jqxx\lib\site-packages\scipy\spatial\distance.py", line 464, in minkowski v = _validate_vector(v) File "D:\anaconda\envs\jqxx\lib\site-packages\scipy\spatial\distance.py", line 302, in _validate_vector raise ValueError("Input vector should be 1-D.") ValueError: Input vector should be 1-D.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant