text-classification-cnn-rnn icon indicating copy to clipboard operation
text-classification-cnn-rnn copied to clipboard

CNN-RNN中文文本分类,基于TensorFlow

Results 30 text-classification-cnn-rnn issues
Sort by recently updated
recently updated
newest added

为了能在其他文件直接使用predict,我在predict里面加了一个函数 predictTopic(content): cnn_model = CnnModel() topic = cnn_model.predict(content) return topic 但是在其他文件中运行的时候就会报错:Variable embedding already exists, disallowed. Did you mean to set reuse=True or reuse=tf.AUTO_REUSE in VarScope? Originally defined at: 请问这个问题该怎么解决呢?

如题,我想将您的模型移植到数据(数值)分类中,该怎么做呢?

改成二分类之后模型输出预测结果一直在变化,查了一下每次test时conv参数都是在变化的(我已经将随机初始化词向量改为自己训练的词向量,),想请问一下这是什么原因 呢

那个序列长度是啥意思?

采用data/cnews_loader.py进行数据集预处理的时候代码无法正常运行,会是什么原因,是我的调用代码存在问题吗

FileNotFoundError: [Errno 2] No such file or directory: 'data/cnews\\cnews.train.txt'

predict下的tensorflow.keras报错 好像tensorflow里没有keras 需要更新到2.0版本吗 已经用tensorflow1.15.5训练完了