Qinshimingyue23
Qinshimingyue23
请问您的源码可以做句子多分类么,我改用自己的数据集做句子分类一直报这个错误:InvalidArgumentError (see above for traceback): Must provide as many biases as the last dimension of the input tensor: [256] vs. [0,600,10] [[node cnn/conv/BiasAdd (defined at E:\模型\text-classification-cnn-rnn-master\cnn_model.py:50) ]]
请问我用cnn做句子分类为什么训练词向量时报RuntimeError: you must first build vocabulary before training the model,训练模型时报ValueError: zero-size array to reduction operation maximum which has no identity,是不能用您的代码做句子分类么?希望可以尽快得到您的回复 @cjymz886
我的语料库很少,就200多条,但是min_cout初始值就等于1啊,是不是其他参数也要改一下
好的,谢谢 ------------------ 原始邮件 ------------------ 发件人: "Darral"; 发送时间: 2019年7月30日(星期二) 中午11:06 收件人: "cjymz886/text-cnn"; 抄送: "秦时明月";"Comment"; 主题: Re: [cjymz886/text-cnn] run text_test.py时候出现问题 (#1) 具体我不太好说,我也没碰到这样的情况,你语料库很少,感觉就不用去word2vec训练,直接初始化就可以 ------------------ 原始邮件 ------------------ 发件人: "Qinshimingyue23"; 发送时间: 2019年7月30日(星期二) 上午10:29 收件人: "cjymz886/text-cnn";...