摘要: 用pytorch搭建一个DNN网络,主要目的是熟悉pytorch的使用 阅读全文
posted @ 2019-04-09 18:10 今夜无风 阅读(769) 评论(0) 推荐(0)
摘要: nn.SequentialA sequential container. Modules will be added to it in the order they are passed in the constructor. Alternatively, an ordered dict of mo 阅读全文
posted @ 2019-04-09 11:30 今夜无风 阅读(2831) 评论(0) 推荐(0)
摘要: 生成字符向量的过程中需要注意: 1)在收集数据生成corpus时候,通过Word2Vec生成字向量的时候,产生了“ ”空格字符向量,但是加载模型是不会成功的。那么你不是生成的binary文件,就可以修改此文件,更改或删除。 示例参考代码如下: 阅读全文
posted @ 2019-04-09 10:15 今夜无风 阅读(6738) 评论(7) 推荐(1)