forked from tangjianpku/LINE
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain_youtube.sh
14 lines (11 loc) · 1.05 KB
/
train_youtube.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
g++ -lm -pthread -Ofast -march=native -Wall -funroll-loops -ffast-math -Wno-unused-result line.cpp -o line
# g++ -lm -pthread -Ofast -march=native -Wall -funroll-loops -ffast-math -Wno-unused-result reconstruct.cpp -o reconstruct
# g++ -lm -pthread -Ofast -march=native -Wall -funroll-loops -ffast-math -Wno-unused-result normalize.cpp -o normalize
# g++ -lm -pthread -Ofast -march=native -Wall -funroll-loops -ffast-math -Wno-unused-result concatenate.cpp -o concatenate
# ./reconstruct -train net_youtube.txt -output net_youtube_dense.txt -depth 2 -k-max 1000
# ./line -train net_youtube_dense.txt -output vec_1st_wo_norm.txt -binary 1 -size 128 -order 1 -negative 5 -samples 10000 -threads 40
# ./line -train net_youtube_dense.txt -output vec_2nd_wo_norm.txt -binary 1 -size 128 -order 2 -negative 5 -samples 10000 -threads 40
# ./normalize -input vec_1st_wo_norm.txt -output vec_1st.txt -binary 1
# ./normalize -input vec_2nd_wo_norm.txt -output vec_2nd.txt -binary 1
# ./concatenate -input1 vec_1st.txt -input2 vec_2nd.txt -output vec_all.txt -binary 1