-
Notifications
You must be signed in to change notification settings - Fork 321
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
Comments
不是哈,是调用了pytorch-crf这个库,这个库是基于AllenNLP实现的CRF包。 |
看到了 谢谢发自我的iPhone------------------ 原始邮件 ------------------发件人: Alic-yuan <[email protected]>发送时间: 2020年4月29日 11:17收件人: Alic-yuan/nlp-beginner-finish <[email protected]>抄送: Charlie <[email protected]>, Author <[email protected]>主题: 回复:[Alic-yuan/nlp-beginner-finish] torchcrf 是大佬自己写的吗 (#2)
不是哈,是调用了pytorch-crf这个库,这个库是基于AllenNLP实现的CRF包。
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "#2 (comment)",
"url": "#2 (comment)",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]
|
ModuleNotFoundError: No module named 'torchcrf' |
我安装了pytorch-crf, 导入还是有问题。 咋回事呢?? |
https://github.com/kmkurn/pytorch-crf/blob/master/torchcrf/__init__.py 不用安装了 自己直接把源码下载下来搞 |
你可以参考一下我的git 我把作者这个重写了一下 不用装torchcrf 我直接把源码下载下来了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: