lucasb-eyer / pydensecrf

Python wrapper to Philipp Krähenbühl's dense (fully connected) CRFs with gaussian edge potentials.
MIT License
1.96k stars 417 forks source link

could anyone give me some advise? #104

Closed huixiancheng closed 4 years ago

huixiancheng commented 4 years ago

in the code, it can show the fucnction dcrf.DenseCRF def init(self, *args: Any, **kwargs: Any) -> None The most base type Documentation is copied from: object < Python 3.5 (py35) >

but turn to run it will be AttributeError: module 'pydensecrf.densecrf' has no attribute 'DenseCRF'

feelsbadman

huixiancheng commented 4 years ago

ok,i think i solve it,so silly noob as i

ShihuaiXu commented 4 years ago

哥 请问您是怎么解决的 我也遇到了一样的问题

huixiancheng commented 4 years ago

我当时的错误好像是import路径有问题,我把下载下的包中的pydensecrf文件删掉就行了,希望有参考。

ShihuaiXu commented 4 years ago

我当时的错误好像是import路径有问题,我把下载下的包中的pydensecrf文件删掉就行了,希望有参考。

谢谢