Commit 5a6844c9 authored by Gao, Shang's avatar Gao, Shang
Browse files

added cleanup to .pbs scripts

parent 673ad720
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
#!/bin/bash
#PBS -A CSC237
#PBS -N YELP_TEST
#PBS -l walltime=100:00:00
#PBS -l walltime=48:00:00
#PBS -l nodes=1
#PBS -lpartition=gpu

@@ -24,3 +24,7 @@ if [ ! -f embeddings.npy ] && [ ! -f data.pkl ]; then
    python feature_extraction.py ${HOME}/yelp_academic_dataset_review.json
fi
python th_cnn.py

#cleanup
cd ${HOME}/
rm cnn.pbs
+5 −1
Original line number Diff line number Diff line
#!/bin/bash
#PBS -A CSC237
#PBS -N YELP_TEST
#PBS -l walltime=100:00:00
#PBS -l walltime=48:00:00
#PBS -l nodes=1
#PBS -lpartition=gpu

@@ -24,3 +24,7 @@ if [ ! -f embeddings.npy ] && [ ! -f data.pkl ]; then
    python feature_extraction.py ${HOME}/yelp_academic_dataset_review.json
fi
python th_han.py

#cleanup
cd ${HOME}/
rm han.pbs
+4 −0
Original line number Diff line number Diff line
@@ -24,3 +24,7 @@ if [ ! -f embeddings.npy ] && [ ! -f data.pkl ]; then
    python feature_extraction.py ${HOME}/yelp_academic_dataset_review.json
fi
python naive_bayes.py

#cleanup
cd ${HOME}/
rm naive_bayes.pbs
+4 −0
Original line number Diff line number Diff line
@@ -24,3 +24,7 @@ if [ ! -f embeddings.npy ] && [ ! -f data.pkl ]; then
    python feature_extraction.py ${HOME}/yelp_academic_dataset_review.json
fi
python xg-boost.py

#cleanup
cd ${HOME}/
rm xg-boost.pbs