Generator is not an iterator?

后端 未结 0 800
后悔当初
后悔当初 2021-02-12 08:00

I have an generator (a function that yields stuff), but when trying to pass it to gensim.Word2Vec I get the following error:

TypeError: You c

相关标签:
回答
  • 消灭零回复
提交回复
热议问题