Open KangChou opened 2 years ago
TypeError: train() got an unexpected keyword argument 'nthread'
import pkuseg # 训练文件为'train.txt' # 测试文件为'test.txt' # 加载'./pretrained'目录下的模型,训练好的模型保存在'./models',训练10轮 pkuseg.train('train.txt', 'test.txt', './models', train_iter=10, init_model='./pretrained')
@.***,本次回复为系统自动回复!
TypeError: train() got an unexpected keyword argument 'nthread'