-
Notifications
You must be signed in to change notification settings - Fork 68
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
Demo fails to calculate wall thickness (ValueError: not enough values to unpack) #14
Comments
I get the same issue. Did you find a solution? |
No, I have not found a solution.. |
In my version of _, contours, _ = cv2.findContours(... to get contours, _ = cv2.findContours(... in |
hello,iimog!do you konw hou did this work get the 82 traits? I do not know the detils |
Hi,
Running the demo pipeline, all of the results CSV files are generated except for the wall thickness.
The error I get is:
1 Traceback (most recent call last): File "short_axis/eval_wall_thickness.py", line 45, in <module> '{0}/wall_thickness_ED'.format(data_dir)) File "/ukbb_cardiac/common/cardiac_utils.py", line 370, in evaluate_wall_thickness aha_axis = determine_aha_coordinate_system(seg, affine) File "/ukbb_cardiac/common/cardiac_utils.py", line 194, in determine_aha_coordinat e_system _, contours, _ = cv2.findContours(cv2.inRange(epi, 1, 1), cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE) ValueError: not enough values to unpack (expected 3, got 2)
Thanks!!
The text was updated successfully, but these errors were encountered: