-
您好,请问我使用Textcnn训练完成之后,如何加载模型进行测试呢?我没找到测试的代码
-
你好,我用您的textcnn的模型做回归问题,但是无法收敛,同样的网络结构在Keras却可以收敛
-
In p7_TextCNN_train.py :
```
def assign_pretrained_word_embedding(sess,vocabulary_index2word,vocab_size,textCNN,word2vec_model_path):
import word2vec # we put import here so that many people …
-
hi,according to the tutorial, execute the following command, no error, freeze here. What should I do in the next step? If you can improve this tutorial, thank you.
`python run.py --config Implementat…
-
看readme说明有文档分类的功能,但是在代码里好像没找到textCNN的功能模块,不知道是哪个文件,烦请告知一下,谢谢!
-
Please make sure that this is an issue related to performance of TensorFlow.
As per our
[GitHub Policy](https://github.com/tensorflow/tensorflow/blob/master/ISSUES.md),
we only address code/doc bug…
-
textCNN模型 tf2pd 转换的pd模型应该有两个文件夹 但是 我只有1个model_with_code 没有inference_model 还报错了x2paddle: error: unrecognized arguments: --framework=tensorflow --model=./resource/model.pb --save_dir=./paddle_model
-
您好,请问训练之后的模型保存在哪里呢?
我是按照python run.py --model TextCNN训练的,然后这个模型保存在哪呢?我看它好像没有保存?
-
I read your code just now, but I have a problem and wish that you can teach me.
there just have sentence_length in the textCNN, if I have many sentences, how can I do, to get average on all sentences?…
-
我在自己的数据集上试了一下,bert的效果大概是85%,textCNN是79%, 然后用蒸馏大概只有77.8%.
蒸馏相关的两个参数都是按照你代码里的:
self.T = 10 # 调整温度
self.alpha = 0.9 # 调整soft_target loss 和 hard_target loss 比重