/pydensecrf-master# python3 setup.py install
Compiling pydensecrf/eigen.pyx because it changed.
Compiling pydensecrf/densecrf.pyx because it changed.
[1/2] Cythonizing pydensecrf/densecrf.pyx
/usr/local/lib/python3.8/dist-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier
releases! File: /gly/ab/pydensecrf-master/pydensecrf/densecrf.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
...
from eigen cimport *
^
pydensecrf/densecrf.pxd:1:0: 'eigen.pxd' not found
Error compiling Cython file:
...
from eigen cimport *
from eigen cimport c_MatrixXf
^
pydensecrf/densecrf.pxd:2:0: 'eigen/c_MatrixXf.pxd' not found
/pydensecrf-master# python3 setup.py install Compiling pydensecrf/eigen.pyx because it changed. Compiling pydensecrf/densecrf.pyx because it changed. [1/2] Cythonizing pydensecrf/densecrf.pyx /usr/local/lib/python3.8/dist-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /gly/ab/pydensecrf-master/pydensecrf/densecrf.pxd tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
... from eigen cimport * ^
pydensecrf/densecrf.pxd:1:0: 'eigen.pxd' not found
Error compiling Cython file:
... from eigen cimport * from eigen cimport c_MatrixXf ^
pydensecrf/densecrf.pxd:2:0: 'eigen/c_MatrixXf.pxd' not found
Error compiling Cython file:
...
pydensecrf/densecrf.pxd:13:36: 'c_VectorXf' is not a type identifier
Error compiling Cython file:
...
pydensecrf/densecrf.pxd:16:34: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
... cdef extern from "densecrf/include/unary.h": cdef cppclass UnaryEnergy: pass
pydensecrf/densecrf.pxd:24:31: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
pydensecrf/densecrf.pxd:27:34: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
pydensecrf/densecrf.pxd:27:55: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
... c_DenseCRF(int N, int M) except +
pydensecrf/densecrf.pxd:55:37: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
Setup methods.
pydensecrf/densecrf.pxd:57:34: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
TODO
pydensecrf/densecrf.pxd:58:34: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
TODO
pydensecrf/densecrf.pxd:58:55: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
... void setUnaryEnergy(UnaryEnergy *unary) void setUnaryEnergy(const c_MatrixXf &unary) void setUnaryEnergy(const c_MatrixXf &L, const c_MatrixXf &feature)
pydensecrf/densecrf.pxd:61:8: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
... c_MatrixXf inference(int n_iterations)
TODO: Not enabled because it would require wrapping VectorXs (note the
s
)pydensecrf/densecrf.pxd:66:8: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
TODO: Not enabled because it would require wrapping VectorXs (note the
s
)pydensecrf/densecrf.pxd:67:27: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
TODO: Not enabled because it would require wrapping VectorXs (note the
s
)pydensecrf/densecrf.pxd:67:42: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
TODO: Not enabled because it would require wrapping VectorXs (note the
s
)pydensecrf/densecrf.pxd:67:60: 'c_MatrixXf' is not a type identifier
Error compiling Cython file:
...
Step-by-step inference methods.
pydensecrf/densecrf.pxd:70:34: 'c_MatrixXf' is not a type identifier warning: pydensecrf/densecrf.pyx:20:4: Unreachable code
Error compiling Cython file:
... return eigen.MatrixXf().wrap(self._this.inference(niter))
pydensecrf/densecrf.pyx:97:28: 'MatrixXf' is not a type identifier
Error compiling Cython file:
... return eigen.MatrixXf().wrap(self._this.inference(niter))
pydensecrf/densecrf.pyx:97:40: 'MatrixXf' is not a type identifier
Error compiling Cython file:
... return eigen.MatrixXf().wrap(self._this.inference(niter))
pydensecrf/densecrf.pyx:97:55: 'MatrixXf' is not a type identifier
Error compiling Cython file:
... return eigen.MatrixXf().wrap(self._this.startInference()), eigen.MatrixXf(), eigen.MatrixXf()
pydensecrf/densecrf.pyx:100:27: 'MatrixXf' is not a type identifier
Error compiling Cython file:
... raise ValueError("Bad shape for pairwise energy (Need (?, {}), got {})".format(self._nvar, (features.shape[0], features.shape[1])))
pydensecrf/densecrf.pyx:78:33: ambiguous overloaded method Traceback (most recent call last): File "setup.py", line 13, in
ext_modules = cythonize(['pydensecrf/eigen.pyx', 'pydensecrf/densecrf.pyx'])
File "/usr/local/lib/python3.8/dist-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
cythonize_one(*args)
File "/usr/local/lib/python3.8/dist-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: pydensecrf/densecrf.pyx