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

执行训练语句,python train_evaluate.py --clean True --train True --model_type bilstm 直接跳转进了python #8

Open
Happy-AiLearn opened this issue Sep 2, 2019 · 3 comments

Comments

@Happy-AiLearn
Copy link

您好:我用python3.6,训练出现下面情况

Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
Loading model cost 0.699 seconds.
Prefix dict has been built succesfully.
开始训练模型!!!
13724it [00:00, 133884.01it/s]
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)

请问了解为什么吗?

@ddl-donglin
Copy link

If u r linux/Unix, use "ctrl + D",
If windows, use "ctrl + Z". to go on training or evaluating.

@gld1995
Copy link

gld1995 commented Sep 20, 2019

为什么给出的例子的意图识别准确率很低

@WeiYangBin
Copy link

WeiYangBin commented Mar 19, 2020

您好:我用python3.6,训练出现下面情况

Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
Loading model cost 0.699 seconds.
Prefix dict has been built succesfully.
开始训练模型!!!
13724it [00:00, 133884.01it/s]
Python 3.6.8 |Anaconda, Inc.| (default, Dec 30 2018, 01:22:34)
[GCC 7.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)

请问了解为什么吗?

你只需要将until文件夹下的loder.py文件的第42行的

code.interact(local=locals())

给注释掉就好了,这段代码只是用来调试的

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