Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torchcrf 是大佬自己写的吗 #2

Open
lcyuanjiang opened this issue Apr 29, 2020 · 6 comments
Open

torchcrf 是大佬自己写的吗 #2

lcyuanjiang opened this issue Apr 29, 2020 · 6 comments

Comments

@lcyuanjiang
Copy link

No description provided.

@Alic-yuan
Copy link
Owner

不是哈,是调用了pytorch-crf这个库,这个库是基于AllenNLP实现的CRF包。

@lcyuanjiang
Copy link
Author

lcyuanjiang commented Apr 29, 2020 via email

@flitdu
Copy link

flitdu commented May 21, 2020

ModuleNotFoundError: No module named 'torchcrf'
为啥呢

@shawroad
Copy link

我安装了pytorch-crf, 导入还是有问题。 咋回事呢??

@shawroad
Copy link

https://github.com/kmkurn/pytorch-crf/blob/master/torchcrf/__init__.py 不用安装了 自己直接把源码下载下来搞

@shawroad
Copy link

ModuleNotFoundError: No module named 'torchcrf'
为啥呢

你可以参考一下我的git 我把作者这个重写了一下 不用装torchcrf 我直接把源码下载下来了
https://github.com/shawroad/NLP_pytorch_project/tree/master/NER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants