伯恺
Results
1
issues of
伯恺
weight[index, :] = torch.from_numpy(wvmodel.get_vector(idx_to_word[word_to_idx[wvmodel.index2word[i]]])) 高版本会报错(如101版) TypeError: expected np.ndarray (got numpy.ndarray) 将torch.from_numpy()改为torch.Tensor()即可 建议注明