
人工智能
kvnew
这个作者很懒,什么都没留下…
展开
-
word2vec阅读笔记
1一个输入层 ; 1 个隐含层; 1个输出层 syn0 input -> hidden 的 weights 在code中是一个1维数组,但是应该按照二维数组来理解。 访问时实际上可以看成 syn0[i, j] i为第i个单词,j为第j个隐含单元。 大小: 词典大小 * 隐含层大小s...原创 2013-09-12 01:04:31 · 4159 阅读 · 2 评论 -
PyText训练时报错: TypeError: __init__() got an unexpected keyword argument 'serialized_options'
TypeError: __init__() got an unexpected keyword argument 'serialized_options'解决:重装protobuf即可:sudo pip uninstall protobufsudo pip install -U protobuf原创 2019-02-02 15:03:56 · 2184 阅读 · 0 评论