File Opening Issue with Python ¶
By: vertin on Aug. 3, 2024, 10:22 a.m.
-
When I open this file in Python, there will be an error message saying 'ValueError: too many values to unpack (expected 3)'. How can I solve this problem? The code is as follows:
-
When my code converts lesion msk to. png, the image is completely black. I don't know where the problem lies with my code:
-
The converted image is different from the one opened with ITK-SNAP. It is not as smooth and has been flipped left and right. This should cause the segmentation mask output to also flip left and right. Will this affect my grades?
code for question1:
code for question2: