Skip to content

The main program is not generating vectors for all the nodes #22

@XABUNO

Description

@XABUNO

3278 1
3279 1
3281 1
3282 1
3284 1
3285 1
3288 1
3290 1
Generate random walks...
Learn representations...
model_c/bin/hin2vec -size 100 -train /tmp/tmpzIusou -alpha 0.025000 -output /tmp/tmpjma27l-output_mp /tmp/tmpSPiNpI -window 4 -negative 5 -threads 1 -no_circle 1 -sigmoid_reg 0
Starting training using file /tmp/tmpzIusou
Node size: 3266
Nodes in train file: 34889
0 meta-path:0 17799
1 meta-path:00 709
Meta-path size: 2
Meta-paths in train file: 18508
Alpha: 0.010666 Progress(30006/34889): 86.00% Words/thread/sec: 330.22k
save node vectors
save mp vectors
Dump vectors...

As shown in this output I got from main.py, I have 3921 nodes in my edges file(containing only U-U directional edges), but the program only loaded 3266 nodes and generated 3266 vectors. The strangest thing is that the number of nodes loaded is pretty random, but never 3291. The percentage also stopped at 86% instead of 100%. The parameters I used are -l 1000 -d 100 -w 4.
A few days ago the program worked fine with the same data set with multiple kinds of edges with parameters -l 1000 -d 2 -w 2. Does anyone knows what is the problem here? (a Segmentation fault did happen once when I tried to produce vectors of dimension 128, could that be the reason? )

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