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

无法正常使用(Please compile with MKLDNN first to use MKLDNN) #44

Closed
ou-bing opened this issue Sep 10, 2020 · 2 comments
Closed

Comments

@ou-bing
Copy link

ou-bing commented Sep 10, 2020

OS:macOS catalina 10.15.6 (19G73)
Python:3.7.8

from senta import Senta
my_senta = Senta()
use_cuda =False
my_senta.init_model(model_class="ernie_1.0_skep_large_ch", task="sentiment_classify", use_cuda=use_cuda)

提示:E0910 08:57:15.549779 135937472 analysis_config.cc:190] Please compile with MKLDNN first to use MKLDNN

我用 brew install mkl-dnn 后还是提示这个错误。

@tongchuchu
Copy link

请问这个问题解决了吗?我也遇到了一毛一样的问题

@ou-bing
Copy link
Author

ou-bing commented Dec 23, 2020

请问这个问题解决了吗?我也遇到了一毛一样的问题

没解决,建议使用docker镜像

@ou-bing ou-bing closed this as completed Oct 9, 2021
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

2 participants