Skip to content

无法成功加载自己使用gensim训练的Word2vec模型 #48

@sakura182

Description

@sakura182

有如下报错
Exception in thread "main" java.lang.NumberFormatException: For input string: "��cgensim.models.word2vec"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at com.ansj.vec.Word2VEC.loadGoogleModel(Word2VEC.java:81)
at test.Test.main(Test.java:12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions