You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
您好,非常感谢您的分享~
但我更换自己的数据集并运行train_word2vec.py重新训练词向量后,text_train.py报错显示: ValueError: Too many elements provided. Needed at most 512000, but received 800000
后来我将text_model.py的vocab_size和loade.py中的build_vocab(filenames,vocab_dir,vocab_size=5000)均改为5000,重新训练词向量后再运行text_train.py,报错显示: ValueError: Too many elements provided. Needed at most 320000, but received 500000
请问我该如何解决这个问题?
The text was updated successfully, but these errors were encountered:
您好,非常感谢您的分享~
但我更换自己的数据集并运行train_word2vec.py重新训练词向量后,text_train.py报错显示:
ValueError: Too many elements provided. Needed at most 512000, but received 800000
后来我将text_model.py的vocab_size和loade.py中的build_vocab(filenames,vocab_dir,vocab_size=5000)均改为5000,重新训练词向量后再运行text_train.py,报错显示:
ValueError: Too many elements provided. Needed at most 320000, but received 500000
请问我该如何解决这个问题?
The text was updated successfully, but these errors were encountered: