-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
ERROR __main__ - bad input shape (1, 5) #89
Comments
Same issue |
2 similar comments
Same issue |
Same issue |
Server CMD: C:\Users\16413\Documents\GitHub\Rasa_NLU_Chi>python -m rasa_nlu.server -c sample_configs/config_jieba_mitie.yml --path models 2019-11-30 17:44:47+0800 [-] Log opened. |
POST: RESPONSE: |
@AlucardNosferatu @hongtw @NullPhantom Have you resolved this question? |
@AlucardNosferatu @hongtw @NullPhantom When I changed the version of scikit-learn to scikit-learn==0.19.0, the issue was resolved, and if you have resolved the issue like this please close the issuse |
ok, I'll have a try |
if change scikit-learn==0.19.0.I get this error 2020-02-26 15:54:38+0800 [-] 2020-02-26 15:54:38 ERROR main - Can't get attribute 'DeprecationDict' on <module 'sklearn.utils.deprecation' from 'D:\ProgramData\Anaconda3\envs\py36\lib\site-packages\sklearn\utils\deprecation.py'> |
2019-05-10 17:00:11+0800 [-] No Jieba Default Dictionary found
2019-05-10 17:00:11+0800 [-] No Jieba User Dictionary found
2019-05-10 17:00:14+0800 [-] Building prefix dict from the default dictionary ..
.
2019-05-10 17:00:14+0800 [-] Loading model from cache C:\Users\ADMINI~1\AppData
Local\Temp\jieba.cache
2019-05-10 17:00:15+0800 [-] Loading model cost 1.646 seconds.
2019-05-10 17:00:15+0800 [-] Prefix dict has been built succesfully.
2019-05-10 17:00:15+0800 [-] 2019-05-10 17:00:15 ERROR main - bad input
shape (1, 5)
2019-05-10 17:00:15+0800 [-] Traceback (most recent call last):
2019-05-10 17:00:15+0800 [-] File "D:\Rasa_NLU_Chi\rasa_nlu\server.py", line 2
39, in parse
2019-05-10 17:00:15+0800 [-] else threads.deferToThread(self.data_router.par
se, data))
2019-05-10 17:00:15+0800 [-] File "D:\ProgramData\Anaconda3.5\lib\site-package
s\twisted\python\threadpool.py", line 250, in inContext
2019-05-10 17:00:15+0800 [-] result = inContext.theWork()
2019-05-10 17:00:15+0800 [-] File "D:\ProgramData\Anaconda3.5\lib\site-package
s\twisted\python\threadpool.py", line 266, in
2019-05-10 17:00:15+0800 [-] inContext.theWork = lambda: context.call(ctx, f
unc, *args, **kw)
Rasa NLU version 0.12.2:
Operating system windows:
Content of model configuration file:
language: "zh"
pipeline:
model: "data/total_word_feature_extractor_zh.dat"
Issue:
The text was updated successfully, but these errors were encountered: