原文:TypeError: 'numpy.float64' object cannot be interpreted as an integer

解決辦法:將numpy降級為 . . 版本可解決 ...

2020-04-23 12:24 0 2422 推薦指數:

查看詳情

TypeError: 'float' object cannot be interpreted as an integer

一. 問題背景 最近想實踐“字嵌入+LSTM+CRF”的分詞方法,由於比較懶散, 沒有找到字向量的資源,然后,就自己用word2vec和知乎的一次評測數據訓練了一份字向量。然后,在搭建 ...

Sat Aug 08 21:31:00 CST 2020 0 3420
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM