Closed yahyaozturk closed 1 month ago
Hello! Could you please share the cell image and annotation image you used for this tutorial? If you used my example images, there shouldn't be problems. Thanks!
I used the code as is (with your sample images)
img_path='../examples/crack_segmentation/img_for_crack_analysis/sample_raw.jpg', ann_path='../examples/crack_segmentation/img_for_crack_analysis/sample_ann.png',
Once I ran below section
inactive_area, inactive_prop = crackcell.extract_inactive_area()
plt.imshow(inactive_area, "gray")
print("{}%".format(inactive_prop*100))
I am getting errors as mentioned in the previous message.
fixed! Thank you for the comment
I am playing with the repo, I managed to run some tutorials locally but was not able to run extract_crack_features.ipynb, it gives an error at
inactive_area, inactive_prop = crackcell.extract_inactive_area()
Full stack trace is
I ran the tutorial as is but no luck so far.
P.S.I tried on 2 different laptops (macOS intel and M2) and multiple Python versions.