cat model_iter_50/push_user_click.wv|awk 'NR>1{print $1}' > data/all_sm_id
file_rows=`wc -l data/all_sm_id|awk '{print $1}'`
echo "total_user_nums="$file_rows
file_num_row=$((${file_rows} + 9))
file_num=10
every_file_row=$((${file_num_row}/${file_num}))
echo $every_file_row
split -d -a 2 -l ${every_file_row} data/all_sm_id data/'split_'
for ((i=0; i<$file_num; i++))
do
#nohup /data/dlm/anaconda2/bin/python -u push_realtime_i2i_by_nn_emb.py $i >logs/$i.log 2>&1 &
nohup /usr/local/anaconda2/bin/python -u word2vec_predict.py $i 1>logs/$i.out 2>logs/$i.log &
done
wait
cat logs/*.out > sm_id_wv_similarity
rm -f logs/*.out
rm -f data/split_*
rm -f data/all_sm_id