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
Thank you for your work!
There are some problems when I try to run the code for PALE and FRUI-P.
When running FRUI-P after embedding generation python ne_main.py --input data/test.src.net --output test.res --batch-size 6 --table-size 100 --rep-size 4 --method line --neg-ratio 2 --order 1
, and then python alp_main.py --embedding1 test.res.epoch5.node_order1 --embedding2 ffvm.res.epoch5.node --type-model lin --identity-linkage data/test.align --output test.alp --batch-size 4 --input-size 4 --epochs 10 --method pale --neg-ratio 5 --device :/cpu:0
it says IOError: [Errno 2] No such file or directory: 'test.res.epoch5.node_order1'.
And as for PALE, when I try to generate embedding with python ne_main.py --input data/test.src.net --output test.res --batch-size 6 --table-size 100 --rep-size 4 --method line --neg-ratio 2 --order 1
it returns Traceback (most recent call last): File "ne_main.py", line 78, in <module> main(parse_args()) File "ne_main.py", line 71, in main last_emb_file=args.last_emb_file, negative_ratio=args.neg_ratio) File "/home/zzz0054/alignment experiment codes/alp-baselines-master/net_embed/line.py", line 495, in __init__ , last_emb_file=last_emb_file) File "/home/zzz0054/alignment experiment codes/alp-baselines-master/net_embed/line.py", line 46, in __init__ self._gen_sampling_table() File "/home/zzz0054/alignment experiment codes/alp-baselines-master/net_embed/line.py", line 410, in _gen_sampling_table p += float(math.pow(self.node_degree[j], power)) / norm ZeroDivisionError: float division by zero
Do you mind if you can help me with these problems?
Thank you very much!
The text was updated successfully, but these errors were encountered:
Hi:
Thank you for your work!
There are some problems when I try to run the code for PALE and FRUI-P.
When running FRUI-P after embedding generation
python ne_main.py --input data/test.src.net --output test.res --batch-size 6 --table-size 100 --rep-size 4 --method line --neg-ratio 2 --order 1
, and then
python alp_main.py --embedding1 test.res.epoch5.node_order1 --embedding2 ffvm.res.epoch5.node --type-model lin --identity-linkage data/test.align --output test.alp --batch-size 4 --input-size 4 --epochs 10 --method pale --neg-ratio 5 --device :/cpu:0
it says
IOError: [Errno 2] No such file or directory: 'test.res.epoch5.node_order1'
.And as for PALE, when I try to generate embedding with
python ne_main.py --input data/test.src.net --output test.res --batch-size 6 --table-size 100 --rep-size 4 --method line --neg-ratio 2 --order 1
it returns
Traceback (most recent call last): File "ne_main.py", line 78, in <module> main(parse_args()) File "ne_main.py", line 71, in main last_emb_file=args.last_emb_file, negative_ratio=args.neg_ratio) File "/home/zzz0054/alignment experiment codes/alp-baselines-master/net_embed/line.py", line 495, in __init__ , last_emb_file=last_emb_file) File "/home/zzz0054/alignment experiment codes/alp-baselines-master/net_embed/line.py", line 46, in __init__ self._gen_sampling_table() File "/home/zzz0054/alignment experiment codes/alp-baselines-master/net_embed/line.py", line 410, in _gen_sampling_table p += float(math.pow(self.node_degree[j], power)) / norm ZeroDivisionError: float division by zero
Do you mind if you can help me with these problems?
Thank you very much!
The text was updated successfully, but these errors were encountered: