I sorted it out, it is a little mistake I have for the label.
Thanks for the pycurv package !
Hi kalemaria,
Many thanks for the pycurv development.
I am a PhD student and I would like to use it for some mito membrane curvature. Your workflow is well explained, but as I am a real beginner for python, I am stuck with the following error after this line:
binary_seg = (seg == label).astype(data_type)
:1: FutureWarning: elementwise comparison failed; returning scalar instead, but in the future will perform elementwise comparison
binary_seg = (seg == label).astype(data_type)
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
----> 1 binary_seg = (seg == label).astype(data_type)
AttributeError: 'bool' object has no attribute 'astype'
Many thanks in advance.
If it is easier for you, here is my email address yl620@cam.ac.uk.
Best,
Yangci
I sorted it out, it is a little mistake I have for the label.
Thanks for the pycurv package !
Hi kalemaria,
Many thanks for the pycurv development.
I am a PhD student and I would like to use it for some mito membrane curvature. Your workflow is well explained, but as I am a real beginner for python, I am stuck with the following error after this line:
binary_seg = (seg == label).astype(data_type)