DenseInferenceWrapper icon indicating copy to clipboard operation
DenseInferenceWrapper copied to clipboard

ImportError: cannot import name 'dense_inference'

Open XYZ-916 opened this issue 5 years ago • 3 comments

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!

XYZ-916 avatar Mar 22 '19 08:03 XYZ-916

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

LTYUnique avatar Jul 11 '19 02:07 LTYUnique

Same here, any suggestions how this can be solved?

sdbonte avatar Sep 09 '19 14:09 sdbonte

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

soumickmj avatar Sep 30 '19 19:09 soumickmj