netw0rkf10w / CRF

Conditional Random Fields
Apache License 2.0
23 stars 2 forks source link

Installation Issue #3

Closed WeiChihChern closed 2 years ago

WeiChihChern commented 2 years ago

Hi, thanks for the great work.

I tried to install the pack via the python3 setup.py install, however as I import CRF I got no module name 'CRF'.

Do you have any insight regarding this? Thanks.

Here's what CRF-0.0.01-py3.6-linux-x86_64.egg directory has in my machine: image

Ending2015a commented 2 years ago

Hello, @WeiChihChern Could you share how did you resolve this issue? I'm also facing this issue. Thank you.

netw0rkf10w commented 2 years ago

@Ending2015a Sorry this is indeed an issue. @WeiChihChern closed the issue so quickly that I thought there was no issue and thus I didn't look into it.

I'm working on a fix now, please stay tuned.

netw0rkf10w commented 2 years ago

This has been fixed. Please pull the repo and re-install the package again.

Something like the following commands should work:

pip uninstall CRF
cd CRF
git pull origin main
python setup.py install
netw0rkf10w commented 2 years ago

@Ending2015a Please let me know if the fix worked for you. Thanks.

Ending2015a commented 2 years ago

@Ending2015a Please let me know if the fix worked for you. Thanks.

Hello @netw0rkf10w thank you for fixing this importing issue. Now it works perfect on cuda! :+1: