Skip to content

__init__() got an unexpected keyword argument 'size' #72

@fengjiufa

Description

@fengjiufa

Hello, what's the problem here? I checked many methods without solving.When running“ python Main.py --data-name NS --test-ratio 0.5 --hop 'auto' --use-embedding”
File "Main.py", line 138, in embeddings = generate_node2vec_embeddings(A, 128, True, train_neg)
File "/home/jiufafeng/programs/GCN/SEAL-master/Python/util_functions.py", line 220, in generate_node2vec_embeddings model = Word2Vec(walks, size=emd_size, window=10, min_count=0, sg=1,
TypeError: init() got an unexpected keyword argument 'size'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions