mbickel / DenseInferenceWrapper

A python wrapper for Krähenbühls dense CRF for medical image volumes.
89 stars 37 forks source link

ImportError: cannot import name 'dense_inference' #16

Open XYZ-916 opened 5 years ago

XYZ-916 commented 5 years ago

Thanks for sharing. When I set up the lib and import dense_interface, I got an error as follows:

Traceback (most recent call last): File "", line 1, in File "/home1/zhangyaxian16/zyx/CRF/DenseInferenceWrapper/denseinference/CRFProcessor.py", line 6, in from denseinference.lib import dense_inference as di ImportError: cannot import name 'dense_inference'

Any solutions? Thank you!

LTYUnique commented 5 years ago

Hi, I got the same problem. Did you resolve it?

sdbonte commented 5 years ago

Same here, any suggestions how this can be solved?

soumickmj commented 5 years ago

You need to first have to make the cpp package. But that was also resulting in error because obsolete packages been used. I have updated the codes and instructions in my forked version of this repo. Please go to : https://github.com/soumickmj/DenseInferenceWrapper