Attention-Seq2Seq-Chatbot-by-Pytorch1.0.1 icon indicating copy to clipboard operation
Attention-Seq2Seq-Chatbot-by-Pytorch1.0.1 copied to clipboard

Results 3 Attention-Seq2Seq-Chatbot-by-Pytorch1.0.1 issues
Sort by recently updated
recently updated
newest added

训练了一晚上了,还在跑 ![image](https://user-images.githubusercontent.com/16663435/64661259-8ee34800-d476-11e9-81dd-a27a89555bcc.png) ![image](https://user-images.githubusercontent.com/16663435/64661467-48421d80-d477-11e9-816f-7b770ebd4029.png) 代码就这么几行 ``` dataClass = Corpus('./corpus/chat.tsv', maxSentenceWordsNum=25,testSize=1) model = Seq2Seq(dataClass, featureSize=256, hiddenSize=256, attnType='L', attnMethod='general', encoderNumLayers=3, decoderNumLayers=2, encoderBidirectional=True, device=torch.device('cpu')) model.train(batchSize=1024, epoch=500) model.save('model.pkl') ```

``` ValueError: test_size=0.0 should be either positive and smaller than the number of samples 256578 or a float in the (0, 1) range ``` 这是什么原因??

请教下这个项目用tensorboard如何实现可视化呢?