-
Notifications
You must be signed in to change notification settings - Fork 4
/
train_actor.sh
executable file
·19 lines (11 loc) · 1.08 KB
/
train_actor.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
graph=actor
echo -------------RiWalk-SP--------------
python3 src/RiWalk/RiWalk.py --input graphs/$graph.edgelist --output embs/$graph.emb --dimensions 128 --num-walks 80 --walk-length 10 --window-size 10 --until-k 4 --workers 10 --iter 5 --flag sp
echo \\n------------RiWalk-RW-SP------------
python3 src/RiWalk-RW/RiWalk-RW.py --input graphs/$graph.edgelist --output embs/$graph.emb --dimensions 128 --num-walks 80 --walk-length 10 --window-size 10 --workers 10 --iter 5 --flag sp
gcc -lm -pthread -Ofast -march=native -Wall -ffast-math -Wno-unused-result src/RiWalk-C/RiWalk.c -o src/RiWalk-C/RiWalk
echo \\n------------RiWalk-C-SP-------------
src/RiWalk-C/RiWalk --input graphs/$graph.edgelist --output embs/$graph.emb --dimensions 128 --num-walks 80 --walk-length 10 --window-size 10 --until-k 4 --workers 10 --iter 5 --flag sp --discount true
echo \\n-----------RiWalk-C-RWSP------------
src/RiWalk-C/RiWalk --input graphs/$graph.edgelist --output embs/$graph.emb --dimensions 128 --num-walks 80 --walk-length 10 --window-size 10 --workers 10 --iter 5 --flag rwsp --discount true