JoHof / lungmask

Automated lung segmentation in CT
Apache License 2.0
661 stars 151 forks source link

ValueError: numpy.ndarray size changed, may indicate binary incompatibility #44

Closed manjitullal closed 3 years ago

manjitullal commented 3 years ago

I ran the below command and getting the error.

!lungmask '/content/images_001/images/' '/content/images_001/mask/'

the dataset i am using is this https://www.kaggle.com/nih-chest-xrays/data

Error:

ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 88 from C header, got 80 from PyObject

is there a problem with the type of input image

JoHof commented 3 years ago

This is a segmentation tool for CT scans and not X-Ray so it won't work anyway.

manjitullal commented 3 years ago

thanks for reply, i had assumed CT scan and X-Ray are basically images so the image segmentation technique of one image should work on the other image too but , looks like my understanding is not right